Tell us what’s happening:
For some reason step 13 won’t pass. I’ve tried everything I could think of. I even looked on google and it said to use this code and it still doesn’t work.
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"> Feature One </label>
<label class="feature-card">
<input type="checkbox"> Feature Two </label>
</div>
</body>
</html>
/* file: styles.css */
input[type="checkbox"] {
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #333;
display: inline-grid;
place-content: center;
cursor: pointer;
}
input[type="checkbox"]:checked {
background-color: #4caf50;
border-color: #2e7d32;
}
input[type="checkbox"]:checked::before {
content: "✓";
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 14px;
height: 100%;
width: 100%;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Challenge Information:
Design a Feature Selection Page - Design a Feature Selection Page