Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

Exercise:

Use contextual classes to make the first item green, the second item yellow and the third red.

Hint: .list-group-item-success etc.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com