Tell us what’s happening:
Your code so far
info > label {
width: 10%;
min-width: 55px;
text-align: right;
}
.info > label, .info > input {
width: 50%;
display: inline-block;
text-align: right;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Challenge: Learn Accessibility by Building a Quiz - Step 56
Link to the challenge:
This is what I’m supposed to do:
Step 56
To align the input
boxes with each other, set the display
property to inline-block
for all input
and label
elements within .info
elements.
Also, align the text to the right.
This is the error message I’m getting:
Test
Sorry, your code does not pass. Try again.
Hint
You should set the text-align: right
property before the .info input
rule.
I’m trying to figure this out but can’t seem to despite searching on the web