Survey Form - Build a Survey Form

Tell us what’s happening:
Having issues creating titles (not ) for elements. Also trying to get my radio buttons and checkboxes straightened out is problematic. Maybe this will happen once I CSS code it?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Survey</title>
    <link rel="stylesheet" href="styles. css">
  </head>
  <body>
    <h1 id="title">Code Survey</h1>
    <p id="description">Example of capiblity</p>
    <form>
      <fieldset>
        <label id="name-label" for"dus">Name:<input type="text" id=name placeholder="Name Here" required name="dus"></label>
        <label id=email-label" for="mail">Email:<input type="email" id="email" placeholder="Email Here" required name="mail"></label>
        <label id="number-label" for="num">Number:<input type="number" id="number" placeholder="0000000000"required name="num" min="0" max="9999999999"></label>
      </fieldset>
      <fieldset>
        <label for="dd">How I'm doing so far</label>
          <select id="dropdown" name="dd">
            <option value="">(select one)</option>
            <option value="1">Not Bad</option>
            <option value="2">Good</option>
            <option value="3">Excellent</option>
        <label name="difficult"><input type="radio" name="difficult">Difficult</label>
        <label><input type="radio" name="difficult">Easy</label>
        <label for="part">Most Difficult Part</label>
        <label for="part"><input type="checkbox" id="part" name="code-hygiene">Code Hygiene</label>
        <label></label>
      </fieldset>
    </form> 
  </body>
/* file: styles.css */

Your browser information:

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

of course as soon as I post this I used the p tag and it straightened somethings for me

Managed to get a heading or title over the checkboxes just not the radio buttons

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