Tell us what’s happening:
It keeps telling me “checkbox input should not have a ‘required’ attribute” but there isn’t one there and I don’t know what to do! Help with this would be greatly appreciated.
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" name="name" id="name" required>
<label for="email">Email Address:</label>
<input type="email" name="email" id="email" required>
<label for="amount">Donation Amount ($):</label>
<input type="number" name="amount" id="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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0
Challenge Information:
Debug a Donation Form - Debug a Donation Form