Tell us what’s happening:
Steps 13-14 are failing for me, despite going through numerous avenues. I’ve removed the transition line that I saw was giving other people trouble, and took off a hover pseudoelement that I thought might be responsible, but I’m out of ideas. Would love some input from someone more patient than I am.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Selection Feature Page</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1>Feature Selection</h1>
<div class="feature-card-container">
<label for="arch-zzard"><input type="checkbox" id="arch-zzard" />Arch Zzard<p class="description">10x the awesome</p></label>
<label for="grand-zzard"><input type="checkbox" id="grand-zzard" />Grand Zzard<p class="description">5x the awesome</p></label>
<label for="zzard-prime"><input type="checkbox" id="zzard-prime" />Zzard Prime<p class="description">2x the awesome</p></label>
<label for="zzard"><input type="checkbox" id="zzard" />Zzard<p class="description">normal awesome</p></label>
</div>
</body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}
body {
background-color: darkgreen;
}
label {
display: block;
text-align: center;
width: 20vw;
height: 10vh;
padding: 10px;
margin: 15px auto;
background-color: skyblue;
border: 2px double black;
border-radius: 20px;
font-size: 1.em;
}
.description{
display: block;
text-align: center;
margin: auto;
padding: auto;
font-size: .8em;
}
.feature-card-container{
padding: 10px;
margin: 10px auto;
border: 2px dashed darkred;
border-radius: 15px;
width: 50vw;
height: 80vh;
background-color: white;
}
input[type="checkbox"]{
appearance: none;
display: block;
margin: auto;
width: 15px;
height: 15px;
background-color: darkred;
border: 2px solid darkred;
border-radius: 4px;
}
input[type="checkbox"]:checked{
background-color: forestgreen;
border: 3px solid forestgreen;
}
input[type="checkbox"]:checked::after{
content: "✓";
font-weight: bold;
color: skyblue;
display: block;
text-align: center;
line-height:14px;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) 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