Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
modified form
  • Loading branch information
maa17019 committed Mar 23, 2021
1 parent 454e5ed commit e656f48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Binary file modified week-9/working-web-form/.DS_Store
Binary file not shown.
14 changes: 11 additions & 3 deletions week-9/working-web-form/css/form.css
@@ -1,3 +1,7 @@
body{
font-family: -apple-system, BlinkMacSystemFont, sans-serif;

}
h1 {
margin-top: 0;
}
Expand Down Expand Up @@ -56,7 +60,11 @@ fieldset {
}

button {
margin: 20px 0 0 124px;
/*margin: 20px 0 0 124px;*/
width: 250px;
padding: 5px;
margin-top: 5px;
margin-left: 85px;
}

label {
Expand All @@ -69,6 +77,6 @@ label em {
top: 20px;
}
#warning {
text-align: center;
margin-left: 85px;
color:rgb(190, 0, 0);
}
}
2 changes: 1 addition & 1 deletion week-9/working-web-form/js/main.js
Expand Up @@ -51,7 +51,7 @@ else if (namee.value === "") {
}
});

/*Adding FormSpree API*/
/*Adding FormSpree API (AJAX version)*/
let form = document.getElementById("my-form");

async function handleSubmit(event) {
Expand Down

0 comments on commit e656f48

Please sign in to comment.