Tell us what’s happening:
required attribute is used in third input but keep getting error message saying its missing.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Donation Form</title>
</head>
<body>
<h1>Donation Form</h1>
<form>
<label for="name" id="full-name">Full Name:</label>
<input
type="text"
id="name"
name="name"
placeholder="Enter Full Name"
required>
<label for="email" id="email-address">Email Address:</label>
<input
type="email"
id="email"
name="email"
placeholder="Enter Email Address"
required>
<label for="number">Donation Amount ($):</label>
<input
type="number"
id="number"
name="number"
placeholder="$"
min="1"
required>
<label for="subscribe">Subscribe</label>
<input type="checkbox" id="subscribe" name="newsletter">
<input type="submit" id="send" value="Send">
</form>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Challenge Information:
Debug a Donation Form - Debug a Donation Form