Tell us what’s happening:
Task 13 is incorrect. I think the problem lies in the “display” and “place-content” properties. Those will probably need to be changed.
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">
Feature 1
<input type="checkbox">
</label>
<label class="feature-card">
Feature 2
<input type="checkbox">
</label>
</div>
</body>
</html>
/* file: styles.css */
input[type="checkbox"] {
appearance: none;
border-width: 2px;
border-color: #333;
border-style: solid;
}
input[type="checkbox"]:checked {
background-color: #3b82f6;
border-color: #2563eb;
}
input[type="checkbox"]:checked::before {
content: "✓";
color: white;
font-size: 14px;
display: inline-grid;
place-content: center;
cursor: pointer;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0
Challenge Information:
Design a Feature Selection Page - Design a Feature Selection Page