Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>my first project</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1 id="title">MY FIRST PROJECT</h1>
<p id="description">I am learning programming because I love coding and want to make more money.</p>
<form id="survey-form>">
<label for="name-label"><input id="name-label" type="text" placeholder="Enter your name"/></label>
<label for="email-label"><input id="email-label" type="email" placeholder="Enter your email"/></label>
<label for="number-label"><input id="number-label" type="number" min="13" max="68" placeholder="Select your Age"/></label>
<label for="dropdown"><select >id="dropdown">
<option>Male</option>
<option>Female</option>
</select></label>
<label for="business-class"> <input id="business-class" type="radio" name="flight-class"/> Business</label>
<label for="econom"> <input id="econom-class" type="radio" name="flight-class"/> Econom</label
<label for="cheque"> <input id="cheque" type="checkbox" name="cheque"value="cheque"/> Cheque</label
<label for="current"> <input id="current" type="checkbox" name="current"value="current"/> Current</label>
<label for="savings"> <input id="savings" type="checkbox" name="savings"value="savings"/> Savings</label>
<textarea></textarea>
<button id="submit">Submit</button>
</form>
</body>
</html>
/* file: styles.css */
body{
background-color: #1b1b32;
margin: 0;
font-family: Tohama;
}
h1, p{
color: #f5f6f7;
text-align: center;
}
#survey-form{
display: block;
margin: 0.5rem 0;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Challenge: Survey Form - Build a Survey Form
Link to the challenge: