Question: Assignment 3 Write a web page that counts the number of times a user has visited the site. Write all code in the visits.html file.

Assignment 3
Write a web page that counts the number of times a user has visited the site.
Write all code in the visits.html file. To re-run your code, click the file in your Program
Files.
Store the number of visits in localStorage.
Display the number of visits when the page is loaded.
Allow the user to delete the number of visits.
Add a button that reloads the page.
The page should have a welcome message.
If it is the first time visiting the page, prompt the user for their name and save it to
localStorage. Include the name in the welcome message if it exists.
Allow the user to delete their name from localStorage.
Add an HTML comment in the head element with your name and student number. do it using javascript
Assignment 3 Write a web page that counts the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!