Add a class called "red" to the first li under the "nav" list

How do I do it? new to html&css and struggling. any help is much appreciated

1 Like

Locate your li html element

Within the opening tag <htmlElement>

insert the following class attribute

<htmlElement class="className"> </htmlElement>

the string should hold the class name red


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