The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
In Javascripts this needs to be done please:
What to do...Script 1
Create an HTML5 page with JavaScript that alerts the user of the share the browser they are using based on the latest statistics of the top five browsers for the month prior to the current month published by StatCounter (Download data to see statistics). An example of the alert is "The xxxxxxx browser has a yy% market share." where xxxxxxx is the browser being used to view the page and yy is the share per StatCounter.
Script 2
Create an HTML5 page with JavaScript containing a form that contains a set of checkboxes with different types of coffees (espresso, cappuccino, mocha, and so on). Ask the user for his or her name and room number and to select a type of coffee. Tell the user you will be sending the coffee to that room number. Create a cookie to remember the user’s preference. The next time the user brings up the page, tell them there is a special rate for their (use the cookie value) last ordered coffee.
Script 3
Create an HTML5 form that asks for the user’s shipping address. The next time the user brings up the page after closing their browser, fill in the address using a cookie value.
Note:Â For the scripts above, place common functions in one external JavaScript file. Use the external JavaScript file in each HTML5 page. Submissions where multiple functions are created when one (with parameters to cater for different scenarios) would have sufficed will be penalized.