1// example:
2document.querySelector(`.guess`).value = 42;
3
4// syntax:
5// <element-select>.value = <new-value>;
1// example:
2document.querySelector(`.message`).textContent = `New Message`;
3
4// syntax:
5// document.querySelector(`.<class-name>`).textContent = `<new-value>`;
1element.innerHTML = "<p>read this</p>" Change the inner HTML of an element
2element.style.color = "blue"; Change the style of an HTML element
3element.setAttribute(important, "true") Change the attribute value of an HTML element
4element.important = "true" Change the attribute value of an HTML element