HTML/CSS Advanced/Interactive exercise: pseudo-classes 5
0 XP of 35727 XP
// Task

Modify the :nth-child pseudo-class so that all odd "li" elements (1, 3, 5) are highlighted in the color "chocolate". Leave the rest of the code unchanged. If you don't know how to solve the task, click the Show answer button.

🔒 localhost
Section 5 · Lesson 57Free Preview

Interactive exercise: pseudo-classes 5

IDE380 XP2:28
// lesson_notes

—