Debug a Donation Form

Tell us what’s happening:

Debug a Donation Form: 9. Your third input should have a required attribute.

Yes, I´ve already tried to change de id´s, name and for of the labels and inputs.

I’m unable to see why I can’t pass this part of the debugging workshop - please 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="fullname">Full Name:</label>
    <input type="text" name="name" id="fullname" required>

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

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

    <input type="checkbox" name="newsletter" 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/145.0.0.0 Safari/537.36 Edg/145.0.0.0

Challenge Information:

Debug a Donation Form - Debug a Donation Form

you changed the name attribute

please reset the step, try again, do not change the name attributes

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