Design a Feature Selection Page - Design a Feature Selection Page

Tell us what’s happening:

  1. When the checkboxes are selected, there should be a checkmark ✓ in the center of the checkbox.

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'> Good Morning</label>
    <label class='feature-card'><input type='checkbox'> Good EVening</label>
</div>
</body>

</html>
/* file: styles.css */
body{
  font: tahoma;
  color: rgb(50, 170, 250)
}
input[type='checkbox']{
  appearance: none;
  background-color: pink;
  border: 2px solid pink;
}
input[type="checkbox"]:checked{
  content: '✓';
  border: yellow;
  text-align: center;
  background-color: red;
}

Your browser information:

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

Challenge Information:

Design a Feature Selection Page - Design a Feature Selection Page

you should maybe review when content property can be used