Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

It says that I have an error that my checkbox input should not have a required and it does not have

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" name="subscribe" id="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/145.0.0.0 Safari/537.36

Challenge Information:

Debug a Donation Form - Debug a Donation Form

Were you asked to change the name of this element?

Remember when you use someone’s code from the forum, you are also getting their errors.

1 Like

you need to reset the step and do not change the name attribute of any element

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.