Posted at 17:47h in Uncategorized 0 Comments
Given the following table of data about several planets of our solar system, create a web page that enables users to enter a planet name and, at the click of a button, have the distance and diameter appear either in an alert box or (as extra credit) in separate fields of the page.
|Planet||Distance from the Sun||Diameter|
|Mercury||36 million miles||3,100 miles|
|Venus||67 million miles||7,700 miles|
|Earth||93 million miles||7,920 miles|
|Mars||141 million miles||4,200 miles|
Sorry, the comment form is closed at this time.