Survey Form - Build a Survey Form

Hello Everyone I am having trouble with my code getting this one still wrong.
I think it could be a CSS error but can’t figure it out.
Any ideas? Thanks

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>

<link rel="stylesheet" href="styles.css">
<h1 id="title">
FreeCodeCamp Survey Form

<p id="description">
Thank you for taking the time to help us improve the platform.

<form id="survey-form">
  <label for="name" id="name-label">Please enter your name:</label>
  <input id="name" type="text" required placeholder="name">
  <label for="email" id="email-label">Please enter your e-mail address </label>
  <input id="email" type="email" required placeholder="E-mail">
  <label for="number" id="number-label">Please enter your age: </label>
  <input id="number" type="number" required min="18" max="90" placeholder="Age">
  <label for="dropdown">How do you find out about FreeCodeCamp Survey Form: </label>
  <select id="dropdown">
    <optioN>Family </option>
    <option>Friend </option>
    <option>New to blog </option>

  <label>Who do you know:</label>
  <input type="radio" name="radio-group" id="todd" value="0">
  <label for="todd">todd </label>
  <input type="radio" name="radio-group" id="jorge" value-"1">
  <label for="jorge">jorge</label>
  <input type="radio" name="radio-group" id="paige" value="2">
  <label for="paige"> paige</label>

  <label> What do you want to see more of? </label>
  <input type="checkbox" value="0" id="pictures">
  <label for="pictures" >pictures </label>
  <input type="checkbox" value="1" id="history">
  <label for="history">history of area </label>
  <input type="checkbox" value="2" id="whats-next">
  <label for="whats-next">what comes next </label>

  <textarea row="3" cols="30" placeholder="Please enter additional feedback here: "></textarea>
  <input id="submit" type="submit">
/* file: styles.css */
/* file: styles.css*/

head, main {
font-family: sans-serif;

body {
background-color: rgb(70,200,210)

h1, p {
text-align: center;

main [
width: 65%;
margin: 10px auto;
padding: 20px;

todd, jorge, paige {
depth: 20%;
width: 100%;

fieldset {
border: 3px solid #3b3b4f;
max-width: 500px;
min-width: 300px;

label {
display: block;
margin: 0.5em auto;
height: 2em;
font-size: 1.1em;
background-color: white;
border-color: black;
min-width: 300px;

input [input="submit"] [
display: block;
width: 60%;
margin: 5em auto;
height: 2em;
font-size: 1.1rem;
background-color: white;
border-color: black;
min-width: 300px;
  **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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:


THESE GOD DAM BUGS!! ahahah thanks!

1 Like

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