JavaScript Tutorial
DOM Manipulation
Read and update HTML elements from JavaScript.
The DOM is the browser's representation of a webpage.
JavaScript can select elements and change their text, styles, attributes, and classes.
javascript
const heading = document.querySelector("h1");
heading.textContent = "Updated with JavaScript";