Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

I got wrong on fifth and thirteenth step, in fifth step i wrote required attribute to first input, and in thirteenth step i didnt write required attribute but it counted like i did

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Donation Form</title>
</head>
<body>

  <h1>Support Our Charity</h1>

  <form>
    <!-- Full Name -->
<label for="full-name">Full Name:</label>
<input type="text" id="full-name" name="full-name" required>

    <br><br>

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

    <br><br>

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

    <br><br>

    <!-- Subscribe Checkbox -->
    <label for="subscribe">Subscribe</label>
    <input type="checkbox" id="subscribe" name="subscribe">

    <br><br>

    <!-- Submit -->
    <input type="submit" value="Donate">
  </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

Hi @Aykhan
The provided code was:

  <form>
    
    Full Name:
    <input type="text" name="name"></input>

    Email Address:
    <input type="text" name="email">

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

    <input type="checkbox" name="newsletter"></input>
    Subscribe

    <input type="submit" value="Send"></input>
  </form>

Please try not to change the name and value attributes alredy provided!

You just need to make sure each label uses the correct for attribute to match its related input.

Hope it helps!
Enjoy coding :blush:

And please don’t add anything you were not asked to add. This will cause the tests to fail.