Question: Create two pages, one called legacy.html and the other called modern.html. Each page should have a heading telling you what page is loaded. For example:

Create two pages, one called legacy.html and the other called modern.html. Each page should have a heading telling you what page is loaded. For example:Welcome to the Legacy page. You need to upgrade!

Using feature detection and the location object, send browsers that do not support geolocation to legacy.html; send browsers that do support geolocation to modern.html.

Welcome to the Legacy page. You need to upgrade!

Step by Step Solution

3.34 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The modernhtml page is as follows Chapter 2 Question 1 Welcome to the Modern page if navig... View full answer

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 Beginning JavaScript Questions!