Learn Basic JavaScript by Building a Role Playing Game - Step 288

I found what i think is a type in the prompt for this step. Not sure if this is the proper place to document such but wanted to help and be directed where for future reference. Anyhow is think its missing a word. The text is as follows:

Step 28
Using a selector list (selector1, selector2) give both your #controls and #stats elements a border of 1px solid #0a0a23, a #0a0a23 text color, and 5px of padding.

i think after the " 1px solid #0a0a23", a (color) #0a0a23 is appropriate

1 Like

why do you think there is a typo here? it is requiring a text color which is different that giving a border color or background color or any other color

well if you submit the prompt without adjusting the color it says

" Your #controls, #stats selector should have a color of #0a0a23 ."
only by adding "color: #0a0a23 "can you proceed.

what confused me initially was the border selector with the hex value color after ‘solid’. It turns out you need that color specified for ‘border,’ 'text-color 'and ‘color.’

#controls, #stats {
border: 1px solid #0a0a23;
color: #0a0a23;
text-color:#0a0a23;
padding: 5px;
}

1 Like

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