Tell us what’s happening:
Your code so far
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.
.info input {
width: 50%;
text-align: right;
display: inline-block;
}
.info label {
width: 10%;
min-width: 55px;
display: inline-block;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Challenge: Step 56
Link to the challenge:
Hi there! I thought I understood this but I am getting errors. Here is my attempt.
.info input {
width: 50%;
text-align: right;
display: inline-block;
}
.info label {
width: 10%;
min-width: 55px;
display: inline-block;
}
and here is the error:
Test
Sorry, your code does not pass. Hang in there.
Hint
You should use either a .info > label, .info > input
or .info label, .info input
selector.
Which i thought I had. All I had to do was to set the display property to inline-block for the label and the input elements in the .info section. What am I missing here? Many thanks in advance for any help.