JS-Form Homework
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 - 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 */
Developer | Colleen Van Lent |
Username | ColleenEMc |
Uploaded | August 26, 2022 |
Rating | 4.5 |
Size | 2,048 Kb |
Views | 46,552 |
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!
Name | Size |
Index.html | 2,316 Kb |
Teams.html | 2,210 Kb |
JS - Checkbox Example | 2,002 Kb |
Consistent Browser styling - with prefixes | 1,918 Kb |
JS Events - Modify The DOM | 0 Kb |
Table Example | 2,478 Kb |
JS - Gallery Homework | 2,282 Kb |
JS - CurrentDate | 1,400 Kb |
Code Together 2 - No CSS | 1,774 Kb |
JS Arrays - Add Fruit | 1,536 Kb |
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!
Name | Username | Size |
Ipad Mini Showcase | Hornebom | 10,479 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
Contact | GanNichiHa | 2,514 Kb |
Hard-Stop Gradients | Mackdoyle | 2,288 Kb |
Flex Chart | James_zedd | 4,111 Kb |
A Pen by Bryan Rojas | Bryanrojas | 1,873 Kb |
3D Text in Sass | Bookcasey | 2,766 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
Horizontal slider on scroll | Alojzije | 2,672 Kb |
Webkit decolorize | Fivera | 1,675 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!