Debug a Donation Form - Debug a Donation Form

Tell us what’s happening:

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

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

<label for="newsLetter"

Your code so far

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

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

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

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

    <label for="newsLetter">Subscribe:</label>
    <input type="checkbox" id="newsLetter" name="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/143.0.0.0 Safari/537.36

Challenge Information:

Debug a Donation Form - Debug a Donation Form

Your id is invalid.

HTML - The id attribute

1 Like

Thx it has been pass`

Donation Form
<label for="fullName">Full Name:</label>

<input type="text" id ="fullName" name="name" required>



<label for="email">Email Address:</label>

<input type="email" id="email" name="email" required>



<label for="Amount ($)">Donation Amount ($):</label>

<input id="Amount ($)" type="number" name="amount" required>



 <label for="newsLetter">Subscribe</label>

<input id="newsLetter" type="checkbox" name="newsletter">



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

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