The 3 most commun DOM selectors Hello, on this amazing day, we’ll discuss the 3 most common Javascript selectors. getElementById getElementById is used to return an element using his id. If there is no element with the giving id, it returns null. <h1 id=”logo”>Aya Bouchiha</h1> <script> const logo = document.getElememntById(‘logo’); const img = document.getElementById(‘img’); //…

Read More