(1)write code timer.html file: <html> <head> <title> timer example by om sir</title> </head> <body> <div id="divCounter"></div> <script> var hoursleft = 0; var minutesleft = 35; var secondsleft = 0; var finishedtext = "Countdown finished!"; var end; if(localStorage.getItem("end")) { end = new Date(localStorage.getItem("end")); } else { end = new Date(); end.setMinutes(end.getMinutes()+minutesleft); end.setSeconds(end.getSeconds()+secondsleft); } var counter = function () { var now = new Date(); var diff = end - now; diff = new Date(diff); var sec = diff.getSeconds(); var min = diff.getMinutes(); if (min < 10) { min = "0" + min; } if (sec < 10) { sec = "0" + sec; ...