Skip to content
All Challenges
#92

Custom CSS Counter

Hard
Category: Modern CSS

Initialize a counter called section-counter on ol, and increment it with counter-increment on li.

Target HTML in preview:
<ol class="counted"><li>Chapter</li><li>Chapter</li></ol>
Verification Criteria:
counter-reset: section-counter on ol
counter-increment: section-counter on li
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview