JS-Form Homework

Size
2,048 Kb
Views
46,552

How do I make an js-form homework?

What is a js-form homework? How do you make a js-form homework? This script and codes were developed by Colleen Van Lent on 26 August 2022, Friday.

JS-Form Homework Previews

JS-Form Homework - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>JS-Form Homework</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>JavaScript Homework</h1>	<p>Add the JavaScript code needed to enable auto-complete on this form. Whenever the checkbox is checked, the code should automatically copy the values from Shipping Name and Shipping Zip into the Billing Name and Billing Zip. If the checkbox is unchecked, the Billing Name and Billing Zip should go blank.</p>
<form>	<fieldset>	<legend>Shipping Information</legend>	<label for ="shippingName">Name:</label>	<input type = "text" name = "shipName" id = "shippingName" required><br/>	<label for = "shippingZip">Zip code:</label>	<input type = "text" name = "shipZip" id = "shippingZip" pattern = "[0-9]{5}" required><br/>	</fieldset>	<input type="checkbox" id="same" name="same" onchange= "billingFunction()"/>	<label for = "same">Is the Billing Information the Same?</label>	<fieldset>	<legend>Billing Information</legend>	<label for ="billingName">Name:</label>	<input type = "text" name = "billName" id = "billingName" required><br/>	<label for = "billingZip">Zip code:</label>	<input type = "text" name = "billZip" id = "billingZip" pattern = "[0-9]{5}" required><br/>	</fieldset>	<input type = "submit" value = "Verify"/>	</form> <script src="js/index.js"></script>
</body>
</html>

JS-Form Homework - Script Codes CSS Codes

input{	border:1px solid black;	}	input:focus{	background-color: #E6E6E6;	}	fieldset{	margin-bottom: 4%;	}

JS-Form Homework - Script Codes JS Codes

/*Add the JavaScript here for the function billingFunction(). It is responsible for setting and clearing the fields in Billing Information */
JS-Form Homework - Script Codes
JS-Form Homework - Script Codes
Home Page Home
Developer Colleen Van Lent
Username ColleenEMc
Uploaded August 26, 2022
Rating 4.5
Size 2,048 Kb
Views 46,552
Do you need developer help for JS-Form Homework?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Colleen Van Lent (ColleenEMc) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!