Tell us what’s happening:
- Your checkbox input should not have a required attribute.
Error however I do not have a required attribute.
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">Full Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
<label for="donation">Donation Amount ($):</label>
<input type="number" id="donation" name="amount" required>
<label for="subscribe">Subscribe</label>
<input type="checkbox" id="subscribe" name="subscribe">
<input type="submit" 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/128.0.0.0 Safari/537.36
Challenge Information:
Debug a Donation Form - Debug a Donation Form