I share my functions performed during the challenge
let title = document.querySelector("h1"); title.innerHTML = "CHALLENGE TIME";
function onclick_console() { console.log("The button was clicked"); }
function onclick_prompt() { let city = prompt("Please enter the name of a city in Brazil"); if (city) { alert("I was in " + city + " and I remembered you"); } }
function onclick_alert() { alert("I Love JS"); }
function onclick_sum() {
let numer1 = parseInt(prompt("Please enter the first number"));
let numer2 = parseInt(prompt("Please enter the second number"));
alert(The sum of ${numer1}+${numer2} is: ${numer1 + numer2}
);
}