Skip to main content

Posts

Showing posts from August, 2023
Exploring the DOM Topic Description File A: https://drive.google.com/file/d/14hrSc0MuRTzKRrfczYnMzUHyLxZHfdTx/view?usp=sharing File B: let val; val = this; val = window; val = window.document; val = document; val = document.all; val = document.all[2]; val = document.all.length; val = document.head; val = document.body; val = document.doctype; val = document.domain; val = document.URL; val = document.characterSet; val = document.contentType; val = document.forms; val = document.forms[0]; val = document.forms[0].method; val = document.forms[0].action; val = document.links; val = document.links[0]; val = document.links[0].href; val = document.links[0].className; val = document.links[0].classList; val = document.images; val = document.scripts; val = document.scripts[0]; val = document.scripts[0].src; val = document.scripts[0].getAttribute('src'); links = document.links; let linkArr = Array.from(links); linkArr.forEach(function(link){ console.log(link.getAttribute('...