Question: Write a JavaScript function that is executed only when the user clicks on the webpage. The function will change the 'You have never clicked'
Write a JavaScript function that is executed only when the user clicks on the webpage. The function will change the 'You have never clicked' sentence on the page to 'You have clicked on the screen" Notes: 1. You must copy and paste the "HTML and javascript" as your answer for this question. DON'T take screenshots for your HTML and javascript. It must be editable script. 2. Take a screenshot of your output and paste it as a part of your answer.
Step by Step Solution
3.40 Rating (156 Votes )
There are 3 Steps involved in it
html DOCTYPE html html head title Click Event Demo title hea... View full answer
Get step-by-step solutions from verified subject matter experts
