Learn Accessibility by Building a Quiz - Step 56

what should i do

text-align: right {

}

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 56

Link to the challenge:

this one is a tricky one.
What do the hints say?

You should set the text-align: right property before the .info input rule.

and this is my code
.info input {
width: 50%;
text-align: left;
}

.info label {
width: 10%;
min-width: 55px;
}
.info > label, .info > input {
display:inline-block;
text-align: right;
}

so you need to put the “text-align: right” property before the “.info input” rule.

First find the “.info input” rule then

and move your new code above it…

how should i do that

in your code that you posted 2 replies ago, you shared 3 rules.
the bottom one was your newest one.
You need to move that one so it is not at the bottom but before the “.info input” rule

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.