Hello fellows on the forum, I have got an issue in the responsive web design course, HTML, under accessibility on user story number 5 and test number 13 (“13. Your checkbox input should not have a required attribute.”)
Below is the code I have for that particular lab of debugging the donation form.
<!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>
The rest of the tests pass apart from test 13, someone can help me identify the error I made in the code that I can correct for all the tests to pass so that I can go to the next topic in the curriculum.
I shall appreciate whoever helps me on this