Design a Feature Selection Page - Design a Feature Selection Page

Tell us what’s happening:

last three test are not working.

Your code so far

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

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

<body>
<h1>Feature Selection</h1>
<div class="feature-card-container">
    <label><input type="checkbox"/>
    <h2>Cloud Storage</h2>
    <p>100 Gigabyte secure storage</p>
    </label>
    <label><input type="checkbox"/>
    <h2>Dedicated Support</h2>
    <p>24/7 customer help</p>
    </label>
</div>
</body>

</html>
/* file: styles.css */
body{
 
  height: 100vh;
  margin: 0;
  }
  h1{
    text-align: center;
    font-family: Tahoma;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
     border-radius: 6px;
     width: 400px;
     margin: 30px 100px;
  }
  h1:hover{
    box-shadow: 10px 4px 6px  lightblue;
  }
  .feature-card-container{
    display: flex;
    padding: 10px
  }
  label{
    border: 3.5px solid rgba(0, 0, 0, 0.2);
    margin-right: 10px;
    border-radius: 15px;
    line-height: 30px;
    width: 65%;
    text-align: center;
    cursor:pointer; 
  }
  label:hover{
    box-shadow: 10px 4px 6px  lightblue;
  }
  input[type="checkbox"]{
    margin-left: 280px;
    width: 20px;
    height: 20px;
  appearance: none;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
   transition: all 0.3s;
   background-color: lightgray;
     cursor:pointer; 
      vertical-align: middle;
  }
  input[type="checkbox"]:checked{
    background-color: #f1be32;
  border-color: #e2a60d;
  }
  input[type="checkbox"]:checked::after{
    content: "✓";
    display: block;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    color: white;
  }
  
  

Your browser information:

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

Challenge Information:

Design a Feature Selection Page - Design a Feature Selection Page

Here are some troubleshooting steps you can follow. Focus on one test at a time:

  1. Are there any errors or messages in the console?
  2. What is the requirement of the first failing test?
  3. Check the related User Story and ensure it’s followed precisely.
  4. What line of code implements this?
  5. What is the result of the code and does it match the requirement? (Write the value of a variable to the console at that point in the code if needed.)

If this does not help you solve the problem, please reply with answers to these questions.