Closed iamAyushChamoli closed 4 months ago
Fixes: #149
the querySelectorAll call now selects both li elements and h2 elements with the class name "tab-title". The rest of the code remains the same, so it will create tabs out of both list items and subheadings with the class name "tab-title".
querySelectorAll
li
h2
@jothepro can you check if this works as desired?
Fixes: #149
the
querySelectorAll
call now selects bothli
elements andh2
elements with the class name "tab-title". The rest of the code remains the same, so it will create tabs out of both list items and subheadings with the class name "tab-title".