Hey there, I tried to follow code from the previous lesson to work on this project but I can’t seem to get them to not be smooshed all together… is it a width issue? something else?
index.html file
<!DOCTYPE html>
<html lang="eng">
<head>
<meta charset="UTF-8">
<title>Survey Form</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<h1 id="title">Favorite Games Survey</h1>
<p id="description">Fill out the survey below.</p>
<form id="survey-form" action="https://register-demo.freecodecamp.org">
<fieldset>
<label for="name">Enter Your Name: <input id="name" name="name" type="text" required /></label>
<label for="email">Enter Your Email: <input id="email" name="email" type="email" required /></label>
<label for="age">Tell us your age: <input required id="age" type="number" min="13" max="100"/></label>
</fieldset>
styles.css file
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #B9604D;
color: white;
font-family: Georgia;
font-size: 16px;
}
h1, p {
margin: 1em auto;
text-align: center;
}
form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
padding-bottom: 2em;
display: block;
}
fieldset {
border: none;
padding: 2rem 0;
border-bottom: 3px double white
}
image of preview
