<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>survey Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1 id="title">Omega Game Con 2024</h1>
<p id="description"><strong>How Was Your Game Con Experience?</strong><br>Please take a little time and fill in this survay<br>for a chance to win tickets to next years <br>Omega Game Con.<br>
<form id="survey-form">
<fieldset>
<legend><strong>Please Enter Your Details</strong></legend>
<label id="name-label" for="first-name">Name: <input id="name" name="name" type="text" placeholder="Name" required /></label>
<label id="email-label" for="email">Email:
<input id="email" name="email" type="email" placeholder="Email" required></label>
<label id="number-label" For="age">Age:
<input id="number" name="age" type="number" min="18" Max="150" placeholder="Age"></label>
<label for="timeSpent">Which days did you attend Games Con?
<select id="dropdown">
<option value="">(Select One)</option>
<option value="1">1st day</option>
<option value="2">2nd day</option>
<option value="3">Both</option>
</select>
</fieldset>
<fieldset>
<legend><strong>What Was Your Favorite Part Of Games Con?</strong></legend>
<label for="The Game Demos"><input value="The-Game-Demos" id="demos" type="radio" name="question">The Game Demos</label>
<label for="The Game Trailers"><input value="The-Game-Trailers" id="trailers" type="radio" name="question" >The Game Trailers</label>
<label for="Press-conferences"><input value="The-Press-Conferences" id="press" type="radio" name="question">The Press conferences</label>
<label for="The Live Entertainment"><input value="The-Live-Entertainment" id="Entertainment" type="radio" name="question">The Live Entertainment</label>
</fieldset>
<fieldset>
<legend><strong>Which Games Are You Most Excited For In 2025</strong></legend>
<label><input value="The-Elder-Scrolls" name="check" class="inline" type="checkbox">The Elder Scrolls 6</label>
<label><input value="Horizon-Forbidden-East" name="check" class="inline" type="checkbox">Horizon: Forbidden East</label>
<label><input value="Wii-Sports" name="check" class="inline" type="checkbox">Wii Sports 5</label>
<label><input value="Final-Fantasy" name="check" class="inline" type="checkbox">Final Fantasy XVII</label>
<label><input value="Resident-Evil" name="check" class="inline" type="checkbox">Resident Evil 13</label>
</fieldset>
<fieldset>
<legend><strong>What Could We Do Better?</strong></legend>
<label for="bio">
<textarea id="bio" name="bio" rows="3" cols="30" placeholder="What could we do better?"></textarea>
</label>
</fieldset>
<label for="terms-and-conditions">
<input class="inline" id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
</label>
<input id="submit" type="submit" value="Submit" />
</form>
</body>
please post a link to the challenge you are trying to pass
this checkbox doesn’t have a value
Also you have quite a few syntax errors in this document.
You should put your html in an online html checker so you can find and fix all the issues.
cheers pal, too busy thinking I’ve done the middle bit wrong I mist the checkbox at the bottom . don’t know what a syntax error is, sure ill find out in future projects.
thanks again.
a syntax error is referring to an error made when writing code that is expected to look a certain way. For example, if you wrote a paragraph element like this <p. words</p.
That would be a syntax error because you’re using a dot in place of >
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.