All Challenges
#92
Custom CSS Counter
HardCategory: 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 EvaluationLoading...
|
Live Browser Output
Sandboxed Preview