Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

The test keeps telling me: “Your first input element does not have a proper required attribute. Add the boolean required attribute (without a value) to that input and try again.”

I’ve checked my code and I do have required on the first input without quotes or an equals sign. I’ve tried retyping it, refreshing the page, and using incognito mode, but nothing works.

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="fullname">Full Name:</label>
  <input type="text" name="fullname" id="fullname" required>

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

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

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

    <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/147.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

please reset the challenge and do not change the name attribute of the elements

removed by moderator

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Alright noted, will be doing just that :ok_hand: