Survey Form - Build a Survey Form

Tell us what’s happening:
I have just one error now on the tests
“All your checkboxes inside #survey-form should have a value attribute and value.”
I cannot seem to correct it, I am sure it is something simple.
Could i get some assistance/guidance please.
Your code so far

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
    <h1 id="title">Happiness Survey Form</h1>
    <p id="description">Please fill out this  survey form with the required information</p>
    <form id="survey-form" method="post" action=''>
        <label id="name-label" for="name">Your Name: <input id="name" type="text" placeholder="Eneter name Here" required /></label>
        <label id="email-label" for="email">Enter Your Email: <input id="email" name="email" type="email" placeholder="Enter Email Here" required /></label>
        <label id="number-label" for="number-level">Current Happiness Level: <input id="number" name="number" type="number" min="0" max="10" placeholder="Score" required /></label>
        <label for="dropdown">How did you hear about us?
          <select id="dropdown" name="dropdown">
            <option value="">(select one)</option>
            <option value="1">YouTube Video</option>
            <option value="2">Internet Webpage</option>
            <option value="3">Recomendation From xxx</option>
            <option value="4">Other</option>
          <legend>What do you consider important for happiness</legend>
            <legend>(tick all that apply)</legend>
            <input id="emotional" type="checkbox" name="importance" value="emotional"><label for="emotional">Emotions</label>
            <input id="health" type="checkbox" name="health" value="health"><label for="health">Good health</label>
            <input id="social" type="checkbox" name="importance" value="social"><label for="social">Active social-life</label>
            <input id="work-life" type="checkbox" name="importance" value="work-life"><label for="work-life">Good work-life balance</label>
            <input id="age" type="checkbox" name="imporatnce" value="age"><label for="age">Your age</label>
            <input id="money" type="checkbox" name="importance" value="money"><label for="money">Money</label>
            <input id="attitude" type="checkbox" name="imporatnce" value="attitude"><label for="attitude">Your attitude</label>
            <input id="control" type="checkbox" name="importance" value="control"><label for="control">Your sense of control</label>
            <input id="success" type="checkbox" name="importance" value="success"><label for="success">Your sense of personal success</label>
      <p id="description">What is the most satisfying happiness factor?</p>
       <p id="description-2">(Select One)</p>
        <label for="factor-1"><input id="factor-1" type="radio" value="factor-1" name="factors" class="inline" /> Living in the moment</label>
        <label for="factor-2"><input id="factor-2" type="radio" value="factor-2" name="factors" class="inline" /> Helping others every chance you get</label>
        <label for="factor-3"><input id="factor-3" type="radio"
        value="factor-3" name="factors" class="inline" /> Feeling like what you do matters</label>
        <label for="triggers">Happy Trgiggers:
          <textarea id="triggers" name="triggers" rows="3" cols="30" placeholder="What makes you happy?"></textarea>
      <label for="terms-and-conditions" name="terms-and-conditions">
          <input id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" class="inline" /> I accept the <a href=>terms and conditions</a>
      <button id="submit" type="submit">Submit Form</button>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/107.0.1418.42

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

An input typed checkbox that has no value attribute!

Brilliant, it has now passed. Many thanks

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