Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

O primeiro input deve ter um required atributo
mesmo fazendo certo continua com esse erro

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

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

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

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

    <input type="submit" value="Submit">

  </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/146.0.0.0 Safari/537.36

Challenge Information:

Debug a Donation Form - Debug a Donation Form

Hi @viviane.zablowski ,

It looks like you have removed the name attribute from the input elements. This will cause the tests to fail. Please reset this step and try again. Do not remove or change the name attributes.

Happy coding!

continua dando o mesmo erro

<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <title>Donation Form</title>

</head>

<body>

  <h1>Donation Form</h1>

  <form>

  

  <label for="name">Full Name:</label>

  <input id="name" name="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 id="subscribe" name="subscribe" type="checkbox">



    <input type="submit" value="Submit">



  </form>

</body>

</html>

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 (').

It does not look like you reset this step as asked since there is still one input element with a name that does not match the starting code. Please reset and try again. Do not remove or change the name attributes.