For the software order form: email address, name, address, postal code, card number, CVV code and expiry date cannot be empty.
For the software order form: email address, name, address, postal code, card number, CVV code and expiry date cannot be empty.
<!DOCYTYPE html>
<html>
<head>
<title>SOFTWARE ORDER FORM</title>
</head>
<body>
<h1>Software Order Form</h1>
<h2>License details</h2>
<form>
<label form"email">Email address</label>
<input type="text" id="email" name="email">
<br>
<label for"Iname">Website</label>
<input type="text" id="Iname" name="Iname"
placeholder="http://www.example.com?"><br>
<label for"num">Number of licenses</label>
<input type="text" id="num" name="num"
placeholder="How many to buy(1-10)"><br>
<h2>Billing Details</h2>
<label for="name">Name</label>
<input type="text" id="Enter your name"
name="Enter your name" placeholder="First Last"><br>
<label for="address">Address</label>
<input type="text" id="address"
name="address"placeholder="House number,
street, city, state"><br>
<label for"postal">Postal Code</label>
<input type="text" id="postal"
name="postal" placeholder="post code or zipcode"><br>
<label for="country">Country</label><br>
<select multiple size="4">
<option value="Australia">Australia</option>
<option value="Brazil">Brazil</option>
<option value="China">China</option>
<option value="United States">United States</option>
<select><br>
<label for="number">Phone No.(optional)
</label>
<input type="text" id="number"
name="number"placeholder="Include country code e.g"><br>
<h3>Payment details</h3>
<label for="Card">Card Number</label>
<input type="text" id="Card"
name="Card placeholder="as shown in front"><br>
<label for="cvv">CVV Code</label>
<input type="text" id="Card"
name="cvv"placeholder= "as shown in back"><br>
<label for= "expiry">Expiry date</label>
<input type="text" id="expiry"
name="expiry" placeholder="YYYY MM"><br><br>
<input type="Place Your Order" value="Place Your Order">
</form>
<script>
var userEmail address;
userEmail address=("Please enter your email address");
document.write("<h2>Thanks" + userEmail address + "</h2>);
</script>
</body>
</html>
Step by step
Solved in 3 steps with 1 images