Design a Feature Selection Page - Design a Feature Selection Page

Tell us what’s happening:

It keeps telling me after the checkboxes are selected, it should have a checkmark in the center of the checkbox which it does , but it won’t go through. Somebody help me please!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Selection Feature Page</title>
    <link rel="stylesheet" href="styles.css">
</head>

<body>
    <h1>Feature Selection</h1>
    <div class="feature-card-container">
        <label class="feature-card">
            <input type="checkbox">
            Dark Mode
            </label>
            <label class="feature-card">
                <input type="checkbox">
                Email Notifications</label>
        </div>

</body>

</html>
/* file: styles.css */
input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #333;
  display: grid;
  place-items: center;
}

input[type="checkbox"]:checked {
  background-color: teal;
  border-color: teal;
}

input[type="checkbox"]:checked::after {
  content: "✔"; 
  font-size: 14px;
  color: white;
  display:block;
  text-align:center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36

Challenge Information:

Design a Feature Selection Page - Design a Feature Selection Page

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-feature-selection/68ce56d54d3cad1149a1c4cf.md at main · freeCodeCamp/freeCodeCamp · GitHub

Tell us what’s happening:

I need help with the last 3 steps. I have tried so many times it wont go through.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Selection Feature Page</title>
    <link rel="stylesheet" href="styles.css">
</head>

<body>
    <h1>Feature Selection</h1>
    <div class="feature-card-container">
        <label class="feature-card">
            <input type="checkbox">
            Dark Mode
            </label>
            <label class="feature-card">
                <input type="checkbox">
                Email Notifications</label>
        </div>

</body>

</html>
/* file: styles.css */
input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #333;
  display: grid;
  place-items: center;
}

input[type="checkbox"]:checked {
  background-color: teal;
  border-color: teal;
}

input[type="checkbox"]:checked::after {
  content: "✔"; 
  font-size: 14px;
  color: white;
  display:block;
  text-align:center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36

Challenge Information:

Design a Feature Selection Page - Design a Feature Selection Page

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-feature-selection/68ce56d54d3cad1149a1c4cf.md at main · freeCodeCamp/freeCodeCamp · GitHub

I went ahead and combined your posts for you. In the future, just reply to the original thread to add further updates.

hey @irenek26
Use this instead as provided by the user story 6.