Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

When I chech my code the website says “Your first input should have a required attribute” but it’s already there?

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 required type="text" id="name" />

    <label for="email">Email Address:</label>
    <input required type="email" id="email" />

    <label for="amount">Donation Amount ($):</label>
    <input required type="number" id="amount">

    <input type="checkbox" id="newsletter" />
    <label for="newsletter">Subscribe</label>

    <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/150.0.0.0 Safari/537.36

Challenge Information:

Debug a Donation Form - Debug a Donation Form

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-debug-donation-form/690ddb5e6ee94eb73ed172b0.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @eve39leek,

You have removed all of the name attributes in the starting code, so the tests can find the elements.

I suggested resetting this challenge to try again.

Going forward, please be careful to only add/change what is asked in the instructions.

Happy coding