Survey Form Project - All your radio buttons should have a name attribute and value

Hi all,

I’m having trouble passing this on the Survey Form project. The error reads “All your radio buttons should have a name attribute and value.”, but I believe my radio buttons do?

<!DOCTYPE html>
    <title>freeCodeCamp Survey Form</title>
    <link rel="stylesheet" type="text/css" href="styles.css">
    <h1 id="title">freeCodeCamp Survey Form</h1>
    <p id="description">Thank you for taking the time to help us improve the platform</p>
    <form id="survey-form">
        <label id="name-label">Name <input id="name" type="text" required placeholder="Enter your name"></label>
        <label id="email-label">Email <input id="email" type="email" required placeholder="Enter your email"></label>
        <label id="number-label">Age (optional) <input id="number" type="number" min="13" max="120" placeholder="Age"></label>
        <label>Which option best describes your current role?
          <select id="dropdown">
            <option value="">Select current role</option>
            <option value="1">Student</option>
            <option value="2">Full Time Job</option>
            <option value="3">Full Time Learner</option>
            <option value="4">Prefer not to say</option>
            <option value="5">Other</option></select></label>
        <p>Would you recommend freeCodeCamp to a friend?</p>
          <label><input type="radio" name:"recommend-type" class:"inline" value="1">Definitely</label>
          <label><input type="radio" name:"recommend-type" class:"inline" value="2">Maybe</label>
          <label><input type="radio" name:"recommend-type" class:"inline" value="3">Not sure</label>
        <label>What is your favorite feature of freeCodeCamp?
          <select id="dropdown">
            <option value="">Select an option</option>
            <option value="1">Challenges</option>
            <option value="2">Project</option>
            <option value="3">Community</option>
            <option value="4">Open Source</option></select></label>
        <p>What would you like to see improved? (Check all that apply)</p>
            <input type="checkbox" value="1">Front-end Projects</option>
            <input type="checkbox" value="2">Back-end Projects</option>
            <input type="checkbox" value="3">Data Visualization</option>
            <input type="checkbox" value="4">Challenges</option>
            <input type="checkbox" value="5">Open Source Community</option>
            <input type="checkbox" value="6">Gitter help rooms</option>
            <input type="checkbox" value="7">Videos</option>
            <input type="checkbox" value="8">City Meetups</option>
            <input type="checkbox" value="9">Wiki</option>
            <input type="checkbox" value="10">Forum</option>
            <input type="checkbox" value="11">Additional Courses</option>
          <label>Any comments or suggestions?
            <textarea placeholder:"Enter your comment here..."></textarea>
      <input id="submit" type="submit" value="Submit">

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Agh, I found it! I was using : instead of =.

Sorry for the post!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.