Hi,
I am working on the “Debug a Donation Form” challenge.
I have added the required attribute to my first input, but the test still says:
“Your first input should have a required attribute.”
I already:
-
Removed all tags
-
Added labels correctly
-
Used id and for attributes
-
Refreshed the page and cleared code
But the error still persists.
Here is my code:
Donation FormDonation Form
<label for="name">Full Name:</label>
<input type="text" id="name" required>
<label for="email">Email Address:</label>
<input type="email" id="email" required>
<label for="amount">Donation Amount ($):</label>
<input type="number" id="amount" required>
<label for="subscribe">Subscribe</label>
<input type="checkbox" id="subscribe">
<input type="submit" value="Submit">
Can someone please help me understand what is wrong?
