Skip to content Skip to sidebar Skip to footer

How I Can Select Element With Double Class With Queryselector()

i'm having problem when i want to select element using querySelector
    how i can select that ul element, in my code i'm use like thi

    Solution 1:

    document.body.querySelector("ul.xoxo.blogroll")
    

    And that is it...

    Solution 2:

    Try this:

    document.body.querySelector('ul.xoxo.blogroll')
    

    Post a Comment for "How I Can Select Element With Double Class With Queryselector()"