getElementById takes a bare id, without the hash.
Acceptance criteria
- 1.#out should show Welcome.
getElementById takes a bare id, without the hash.
const el = document.getElementById("#title"); document.querySelector('#out').textContent = el === null ? "not found" : el.textContent;
Output ready when you are
Press Run to render your code, or Submit to validate your solution.