Using DOM manipulation methods
Solved
-
1 answer
-
-
ModeratorHello
So, is your question resolved?
If so, please remember to close the topic.
P.S.: In the future, please use code tags when posting your code on the forum.
Full explanations are available here
https://codes-sources.commentcamarche.net/faq/11288-les-balises-de-code -
@jordane45Not yet, we want to select the list item included in the <ol> element that has the attribute class = "trois" using querySelector()
-
Moderator@SelOua_2617The selector should look something like this
ol > li.trois
The JavaScript query selector uses the same selectors as CSS. -
@jordane45Thank you
problem solved.
-