How to make a correspondence between the serial number of the list and its text inside?
Good afternoon, there is such a problem, I could not solve it.
In general, there is a list and a button.
<ol class="spisok"> <li>Text</li> <li>Text</li> <li>Text</li> </ol> <button class="button">click me</button>
To place the code, please use CodePen or similar tool. Thanks you!