New to the Website, need help with running test

I believe I am done with the First webDesign project “Project Survey”. When I click the button to run the test, nothing happens. I have saved the project and reloaded the page. but nothing happens. I’m new to this website so I don’t know the quirks. also as this is my first HTML project my code may be messy. please critique it but please go easy on me :sweat_smile:.

<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="styles.css"> 
    <title>MusicCheck</title>
    <meta charset="utf-8>"
    </head>
    <body>
      <fieldset>
      <div><h1 id="title">Music Check✔️</h1></div>
     <div> <p id="description">Tell me about your music tastes so I can learn who you are</p></div>
      </fieldset>
      <fieldset id="field1">
        <h2 class="sechead">Personal Information</h2>
        <p class="p1">Tell me about yourself (we don't sell your data) </p>
        <form id="survey-form">
          <div> 
            <label for="name-label">Name:</label>
            <input type="text" id="name" placeholder="John/Jane Doe">
            </div>
            
            <div>
              <label for="number-label">age:</label>
              <input type="number" id="number" placeholder="Age" min="5" max="100">
              </div>
             <div>
                <label for="email-label">Email:</label>
                <input type="email" id="email" placeholder="email@client.com">
                </div>
          <div>
            <label>Sex/Gender:</label>
          <select id="dropdown">
            <option value="">Please Chose an option</option>
            <option value="1">Male</option>
            <option value="2">Female</option>
            <option value="3">Non-binary</option>
          </select>
            </div>
        </fieldset>
        <Fieldset>
          <h2 class="sechead">Music Tastes</h2>
          <p class="p1">Tell us about your musical intrests to help us understand your personallity</p>
          <div>
            <label for=artist>Artist:</label>
            <input type="text" placeholder="Favorite Musiction" id="artist">
            </div>
            <div>
              <label>Album:</label>
              <input type="text" placeholder="Favorite Album by artist" id="album">
            </div>
            <div>
              <label for="song">Song:</label>
              <input type="text" id="song" placeholder="Favorite song by artist">
            </div>
            <div>
              <label for="genre">Genre:</label>
              <input type="text" id="genre" placeholder="Favorite music genre">
            </div>
            <div>
              <label for="2fav">Second Best:</label>
              <input type="text" id="2fav" placeholder="Second Favorite Artist">
            </div>
            <div>
             
              <label for="3fav">Third Best:</label>
              <input type="text" id="3fav" placeholder="Third favorite artist">
              </div>
            </fieldset>
            <fieldset>
              <div>
                <p>Are you American🇺🇸?</p>
                <label for="yes"><input id="yes" type="radio" name="Yes" checked />Yes</label>
                <label for="No"><input id="no" type="radio" name="account-type" class="inline" />NO</label>
                <input type="text" placeholder="If no please tell us you Nationality">
                </div>
              </fieldset>
            <fieldset>
              <div>
                <h2>Data colletion Consent</h2>
                <p>Do you give permission to share your information? Your name will be kept anonymous.</p>
                <label for="tnc"> 
                <input class="termscon" type="checkbox" id="tnc" required name="Terms-and-conditions" value="accepted-terms">Yes</label>
              <label for="tnc"><input class="termscon" id="tnc" value="not-accepted-dont-share" type="checkbox">No</label>
                </div>
            <div>
            <textarea id="bio" name="bio" rows="3" cols="30" placeholder="Please name other songs outside of your favorite artist that you enjoy"></textarea>
</div>
<div>
  <input type="submit" value="submit" id="submit">
  </div>
</fieldset>
          </form>
    </body>
    <fieldset>
    <footer>
      <p1 class="fT">SonOfHighJohn@gmail.com</p1>
      <p2 class="fT">Jaquan C. Strayhorn</p2>
      <p3 class="fT">+1(252)521-4693</p3>

      </footer>
      </fieldset>
  </html>

hi and welcome to the forum.

Can you post a link to the project you’re trying to test your code on?

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

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

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

1 Like

Your closing tag should be right before the closing tag.

Hello and welcome to the forum @SonOfHighJohn !

It appears there are still many step requirements that have not been met.
If we look at the result, which is does show us the necessary steps that need to be completed, below the run test (after running the test, when it appears nothing happened) we see all of the steps we need to complete to pass the project.

Keep up the good work.

1 Like

hi there!
these test are failing on your code:
*Failed:8. Your #name should require input.
*Failed:12. Your #email should require input.
*Failed:19. You should have a label element with an id of name-label .
*Failed:20. You should have a label element with an id of email-label.

  • Failed:21. You should have a label element with an id of number-label.

  • Failed:22. Your #name-label should contain text that describes the input.

  • Failed:23. Your #email-label should contain text that describes the input.

  • Failed:24. Your #number-label should contain text that describes the input.

  • Failed:25. Your #name-label should be a descendant of #survey-form.

  • Failed:26. Your #email-label should be a descendant of #survey-form.

  • Failed:27. Your #number-label should be a descendant of #survey-form.

    1. You should have at least two radio buttons that are descendants of #survey-form.
  • Failed:36. All your radio buttons should have a value attribute and value.

    1. Every radio button group should have at least 2 radio buttons.
  • Failed:39. You should have at least two input elements with a type of checkbox (checkboxes) that are descendants of #survey-form.

  • Failed:40. All your checkboxes inside #survey-form should have a value attribute and value.

  • Failed:41. You should have at least one textarea element that is a descendant of #survey-form.

    1. Your #submit should be a descendant of #survey-form .

I appreciate you posting this. I assume you pasted the code into the project. I wonder why when I try to run the test It doesn’t give me feedback on what failed.

I appreciate all the support and responses. after a bit of googling and a lot of starting at my computer screen I finally figured it out. and passed the assignment. Thank you all. now im onto the next lesson.

2 Likes