Prompt 12 is asking:
When the checkboxes are selected, there should be a checkmark ✓ in the center of the checkbox.
Unfortunately it is not giving me a go for my code. Here is my HTML and CSS
.feature-card-container{
display: grid;
grid-template-column: repeat(3, 2fr);
gap: 10px;
max-width: 600px;
margin: 0 auto;
}
label{
border: 2px solid black;
display: inline-block;
margin: 2px auto;
padding: 10px;
}
input[type='checkbox'] {
width: 20px;
height: 20px;
cursor: pointer;
appearance: none;
border: 2px solid black;
border-radius: 4px;
background-color: white;
transition: all 0.3s;
vertical-align: middle;
margin-right: 15px;
position: relative;
}
input[type='checkbox']:checked {
background-color: beige;
border-color: black;
}
input[type='checkbox']:checked::after{
content: "✓";
display: block;
text-align: center;
position: absolute;
line-height: 20px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 16px;
color: black;
}
Did I do something wrong?