About Me
LittleNomster (113)

So im having some trouble with the challenge and i spent 30 minutes on google trying to figure it out yesterday. Can anybody help me make colored text boxes in html?

You are viewing a single comment. View All
maazzubair99 (73)

@LittleNomster you will have to put the text inside a <div></div> tag. So something like this:

<div id='randomDivId'>
   <p>Text</p>
</div>

And then in your css, you could do:

#randomDivId {
    background-color: white;
}

to make the background white