Main js lines/commands used:
let name = prompt('Enter your name') document.querySelector('#name').innerHTML = name;