Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

Steps 5 & 13 are not passing, can someone help me please and thank you.

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

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

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

    <input id="submit-btn" name="submit-btn" 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/143.0.0.0 Safari/537.36

Challenge Information:

Debug a Donation Form - Debug a Donation Form

Can you share the requirements of the tests and indicate which lines of your code fulfill them?

Check the related User Story as well

5. Your first input should have a required attribute. 13. Your checkbox input should not have a required attribute.

Can you indicate which lines of your code fulfill them?

Check the related User Story as well

Spacing is important here

Where are the spaces between attributes?

This is your only input element with good spacing:

For step 5 it’s:

<label for=”full-name”>Full Name:</label>

<input id=”full-name” name=”full-name” type=”text” required>

And for step 13 it’s:

<label for=”subscribe” >Subscribe</label>

<input id=”subscribe” name=”subscribe” type=”checkbox”>

you have changed the name of the elements, reset the challenge and try again

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add the backticks.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').