Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

i don’t know what I am doing wrong help please???

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

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

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

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


    <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/148.0.0.0 Safari/537.36 Edg/148.0.0.0

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 @diaz!

Do all of the for attributes in your labels match the id attributes of their associated inputs?

Happy coding!

Hi buddy, here in order to connect the input element with the label element we do need to do use the same name in order to connect it.

<input id="email" name="email">
<label for="email">Your Email</label>

See here how we’ve used the word email here.

Hope You Understand.