Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

Hello, good afternoon. This is Daniel.
I have issues with the point 9 saying I have to use the REQUIRED syntax and also on the point 13th saying that I do not have to use REQUIRED. I am doing it that way, I have check everything but not taking it yet.
I ve also searched , and I played with the name, id, to see if it works but not.
I appreciate the help.

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-amount">Donation Amount ($):</label>
    <input type="number" id="donation-amount" name="donation-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 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0

Challenge Information:

Debug a Donation Form - Debug a Donation Form

Donation Amount ($):
<input type="number" name="amount"></input>

The instructions don’t ask you to change the name of the input, so you shouldn’t

If you make extra changes that requested by the instructions it’s hard to test for that.

I remove the name of this input ant the others, but for some reason still it is saying: 9. Your third input should have a required attribute. And 13. Your checkbox input should not have a required attribute.

if you remove the name attribute that’s still changing the name attribute and it’s also wrong, you may need to reset the lab to get back the name attributes that were there at the start

1 Like

Thanks for the answer, I will definitely try that again.