Tell us what’s happening:
It won’t detect the value attributes I’ve added for the checkboxes.
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>D&D Survey Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1 id="title">D&D Survey Form</h1>
<p id="description">Thank you for taking the time to fill out this short survey regarding D&D VTTs and books</p>
<br>
<p>Please provide the information below: </p>
<form id="survey-form" method="post" action='https://register-demo.freecodecamp.org'>
<label id="name-label" for="name">Enter Your Name: <input id="name" name="name" type="text" placeholder="JohnDoe" required /></label>
<label id="email-label" for="email">Enter Your Email: <input id="email" name="email" type="email" placeholder="johndoe@domain.com" required /></label>
<label id="number-label" for="number">Input Phone Number: <input id="number" name="number" type="number" min="8" max="10" placeholder="901123123" required /></label>
<label for="age">Input your age (years): <input id="age" type="number" name="age" min="13" max="120" /></label>
<p class="inline">I am a...</p>
<label for="player-character" class="inline"><input id="player-character" type="radio" name="player-type" class="inline" value="player-character" checked /> Player</label>
<label for="dungeon-master" class="inline"><input id="dungeon-master" type="radio" name="player-type" class="inline" value="dungeon-master" /> Dungeon Master</label>
<p>Which physical books do you own? Select all that apply: </p>
<label for="PHB"><input value="PHB" id="PHB" type="checkbox" name="books" class="inline"/>Player's Handbook (2014)</label>
<label for="DMG"><input value="DMG" id="DMG" type="checkbox" name="books" class="inline"/>Dungeon Master's Guide (2014)</label>
<label for="MoM"><input value="MoM" id="MoM" type="checkbox" name="books" class="inline"/>Monster Manual (2014)</label>
<label for="MPMM"><input value="MPMM" id="MPMM" type="checkbox" name="books" class="inline"/>Mordenkainen Presents: Monsters of the Multiverse</label>
<label for="XGE"><input value="XGE" id="XGE" type="checkbox" name="books" class="inline"/>Xanathar's Guide to Everything</label>
<label for="TCoE"><input value="TCoE" id="TCoE" type="checkbox" name="books" class="inline"/>Tasha's Cauldron of Everything</label>
<label for="dropdown">What VTT do you use to play Dungeons and Dragons?
<select id="dropdown" name="dropdown">
<option value="">(select one)</option>
<option value="1">D&D Beyond</option>
<option value="2">Roll20</option>
<option value="3">TaleSpire</option>
<option value="4">Owlbear Rodeo</option>
<option value="5">Other</option>
</select>
</label>
<label for="other-vtt">Others:
<textarea id="other-vtt" name="other-vtt" rows="3" cols="30" placeholder="I don't use VTTs..."></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" />
</fieldset>
</form>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Challenge Information:
Survey Form - Build a Survey Form