Tell us what’s happening:
how do i input a placeholder attribute and value in my #name
Your code so far
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<h1 id="title">Reject Dial</h1>
</head>
<body>
<p id="description">Understanding Usage</p>
<form id="survey-form">Survey Form <select id="dropdown">
<option id="schuller">Schuller</option>
<option id="wise">Wise</option>
<input type="radio" value="luffy" name="luffy">
<input type="radio" value="zoro" name="zoro">
<input type="radio" value="luffy" name="luffy">
<input type="radio" value="zoro" name="zoro">
<input type="checkbox" value="dexter">
<input type="checkbox" value="deuta">
</select>
<textarea></textarea>
<button id="submit">Submit</button>
<input required type="email" required id="email">
<input id="number" type="number" min="10" max="15">
<input required id="name" type="text">
<label id="name-label" placeholder="Enter your first name" value="john">Name Label</label>
<label id="email-label" placeholder="Enter your email" value="compete@email.com">Email Label</label>
<label id="number-label" placeholder="Input a number" value="28">Number Label</label>
</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/138.0.0.0 Safari/537.36
Challenge Information:
Build a Survey Form - Build a Survey Form
https://www.freecodecamp.org/learn/full-stack-developer/lab-survey-form/build-a-survey-form
#survey form