JavaScript all design notvsame as web page remember that. Allala Write the code necesary in javascript to create a webpage that contains a contact form like the one in the attatched picture. To create and style this form, copy the following HTML and CSS code exactly as follows: HTML: Name: E-mail: Comments: CSS: form { background-color:#eaeaea; font-family: Arial, sans-serif; padding: lOpx; } label { float: left; width: 100px; clear: left; text-align: right; padding-right: lOpx; margin-top: lOpx; } input, textarea { margin-top: lOpx; display: block; } #mySubmit { margin-left: 110px; }.
JavaScript all design notvsame as web page remember that. Allala
Write the code necesary in javascript to create a webpage that contains a contact form like the one in the attatched picture.
To create and style this form, copy the following HTML and CSS code exactly as follows:
HTML:
<form>
<label for="myName">Name:</label>
<input type="text" name="myName" id="myName">
<label for="myEmail">E-mail:</label>
<input type="text" name="myEmail" id="myEmail"›
<label for="myComments">Comments:</label>
<textarea name="myComments" id="myComments" rows="2" cols="20"></textarea>
<input id="mySubmit" type="submit" value="Submit"›
</form>
CSS:
form { background-color:#eaeaea;
font-family: Arial, sans-serif;
padding: lOpx; }
label { float: left;
width: 100px;
clear: left;
text-align: right;
padding-right: lOpx;
margin-top: lOpx; }
input, textarea { margin-top: lOpx;
display: block; }
#mySubmit { margin-left: 110px; }.
![Contact Form
X +
Contact Us
Name:
E-mail:
Comments:
Submit
C
JX
III](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe30badf0-530e-48d8-80be-0fdb11dd399b%2Fbe365e4a-d8c2-4591-ac0c-f3ac7798b686%2Feiaxpf_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)