Tell us what’s happening:
im getting number 11 wrong with the required prompt asking me to have a “type” of “email” for my #email. Can someone dumb this down a bit more for me?
Your code so far
<!-- file: index.html -->
<DOCTYPEHTML!>
<html lang="eng">
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
<html>
<body>
<h1 id="title">Mushroom Kingdom Survey</h1>
<p id="description">Residency info application for all the citizens who live in this kingdom.</p>
<fieldset>
<form id="survey-form">
First Name: <input id="name-label" required></input type="text">
Last Name: <input id="name" required></input>
<p></input> Age: <input id="age"> DOB:<input type="Numbers">
Gender: <select id="dropdown">
<option 0> Choose</option>
<option 1>Male</option>
<option 2>Female</option>
</select>
<p>Phone Number: <input id="phone"></input> Email Address: <input id="email" required></input type="email">
</fieldset>
<fieldset>
<p>Select one of the following options that apply to you.</p>
<p>1. Which continent of the kingdom do you live in?</p>
<input type="radio" checked><label>Donut Plains</label></input>
<input type="radio"> <label>Vanilla Dome</label></input>
<input type="radio"><label>Yoshi's Island</label></input>
<p>2.What type of building do you live in?
<p> <input type="radio"><label>Mushroom Hut</label></input>
<input type ="radio"><label>Castle</label></input>
<input type="radio"><label>TreeHouse</label></input>
</fieldset>
</body>
</html>
/* file: styles.css */
body{
margin: 0;
background-color: beige;
color: grey;
font-family: Bubble;
font-size: 16px;
}
fieldset{
padding: 2rem;
}
#title {
family-font: bubble;
text-align: center;
margin: 1em auto
}
#description{
text-align: center;
}
#name{
}
#email{
}
#number{
}
#dropdown{
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Challenge Information:
Survey Form - Build a Survey Form