codedamn

Document.querySelector

Created by Codedamn about a year ago

0

No description provided

3 Comments

    0

    Can't refer elements in html.js and log them. While trying null is logged into console. Can someone help with solution ?

    @paavan98

    Paavan

    @paavan98

    0

    Very clean and clear 🤌🏾

    @ibrahmounk

    Ibrahima MOUNKORO

    @ibrahmounk

    0

    Try to save the query selctor in the varibale and display in the console log but didn't save in the variable same code works on w3school Code: const redColo = document.querySelector("p").style.backgroundColor = "red"; console.log(redColo);

    @shubham478

    Shubham Bane

    @shubham478

Your comment