Tell us what’s happening:
I am failing the last 3 steps, Can anyone help me?
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><input type="checkbox"> <h2>Cloud Storage</h2><p>100GB secure storage</p>
</label>
</div>
<div class="feature-card-container">
<label><input type="checkbox"> <h2>Dedicated Support</h2><p>24/7 Customer help</p>
</label>
</div>
</body>
</html>
/* file: styles.css */
body{
height:100vh;
background-color:white;
text-align:center;
}
h1{
text-align:center;
}
.feature-card-container{
max-width:250px;
padding: 20px;
border-radius: 10px;
box-shadow:0 2px 6px black;
margin:auto;
margin-bottom:20px;
text-align:left;
position:relative;
}
.feature-card-container:hover{
box-shadow:0 2px 6px purple;
}
label{
display:block;
cursor:pointer;
margin:6px auto;
text-align:center;
}
input[type="checkbox"]{
position:absolute;
top:15px;
right:15px;
width: 20px;
height: 20px;
appearance: none;
border: 3px solid rgb(151, 151, 194);
border-radius: 2px;
background-color:white;
cursor:pointer;
}
input[type="checkbox"]:checked{
background-color:rgb(151, 151, 194);
border:rgb(141, 141, 177);
}
input[type="checkbox"]:checked::after{
content:"✓";
display:block;
text-align:center;
color:white;
line-height: 20px;
font-weight:bold;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 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