Please Help SurveyProject

Hello I can’t figure out which story I am missing. Apparently there are 7 missing. Please help me figure out which ones I am missing…

~Breakfast Survey~

Please take the time to complete the survey below.

Name:
E-mail:
Age:

Select one:

Vegan
Vegetarian
Keto
None

Breakfast Options

Sides:

Bacon
Fruit
Muffin
Egss

Additional Comments


Submit

Can you link to your project online with the test script? BTW, if you run the test script it will tell you.

<body>
 <h1 id="title">~Breakfast Survey~</h1>
  <p id="description">Please take the time to complete the survey below.
    </p>
<form id="survey-form">
    <label for="name" id="name-label">Name:</label>
      <input type="text" id="name-label" name="name" placeholder="Name" required>     
  <br>
     <label for="email" id="email-label">E-mail: </label>
       <input type="email" id="email-label" name="email" placeholder="E-mail" required>
  <br>
     <label for="number" id="number-label">Age:</label> 
       <input type="number" id="number-label" name="number" min="10" max="100" placeholder="Age" required> 
<br>
 <p>Select one:</p>
     <input id="vegan-diet" type="radio" value="vegan" name="diet">
       <label for="vegan">Vegan</label>
  <br>
      <input id="vegt-diet" type="radio" value="vegt" name="diet">
        <label for="vegt">Vegetarian</label>
  <br>    
       <input id="keto-diet" type="radio" value="keto" name="diet">
         <label for="keto">Keto</label>
  <br>    
       <input id="no-diet" type="radio" value="no-diet" name="diet">
          <label for="no-diet">None</label>
<br>
<h2>Breakfast Options</h2>
    <select id="dropdown" name="opts">
        <option value="" disabled selected>Select Your Breakfast</option>
        <option>French Toast</option>
        <option>Omelette</option>
        <option>Blueberry Pancakes</option>
    </select>
<h3>Sides:</h3>
<input id="checkbox" type="checkbox" name="sides" value="bacon"> 
  <label for="bacon">Bacon</label>
<br>   
<input id="checkbox" type="checkbox" name="sides" value="fruit">
  <label for="fruit">Fruit</label>
<br>
<input id="checkbox" type="checkbox" name="sides" value="muffin">
  <label for="muffin">Muffin</label>
<br>
<label for="eggs">Egss</label>
    <select>
        <option value="" disabled selected>How to Cook</option>
        <option>Scrambled</option>
        <option>Sunny Side Up</option>
        <option>Over Easy</option>
        <option>Over Medium</option>
        <option>Over Hard</option>
    </select>
<br>
<h3>Additional Comments</h3>
<textarea id="textarea" name="comments" rows="5" cols="50" placeholder="Enter Text"></textarea>
<br>
<button id="submit">Submit</button>

</form>    
</body>type or paste code here

@codingpussycat keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>)

  • The test script, with all tests passing, should be included when you submit your projects.
  • When a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
    • Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.

The failing tests correlate to the failing stories.

Thank you so much for your help. I was able to figure it out. :relaxed:

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