Describe five components of code, indicating their role in programming. Identify the specific code to be changed, modify it, and describe the changes, supported by screenshots. Group 1: Choose an initial upgrade date that is at least 30 days in the future. Group 2: This date should be 2 days after the initial upgrade date. Group 3: This date should be 5 days after the initial upgrade date. Group 4: This date should be 8 days after the initial upgrade date. Group 5: This date should be 10 days after the initial upgrade date. <!DOCTYPE html><html><head> <h1>Welcome Team Pakistan</h1> <h2>Warning Operating System (OS) Updgrade</h2><script type="text/javascript"> var today = new Date (); var UpgradeDay = new Date("December 4, 2019"); var msPerDay = 24 * 60 * 60 * 1000; var TimeLeft = (UpgradeDay.getTime() - today.getTime()); var Days = TimeLeft / msPerDay; var DaysLeft = Math.floor(Days); document.write("There are only<BR><H4>" + DaysLeft + " Days </H4> Until Your Computer Upgrade </P>");</script></body></html>
Describe five components of code, indicating their role in
Group 1: Choose an initial upgrade date that is at least 30 days in the future. Group 2: This date should be 2 days after the initial upgrade date. Group 3: This date should be 5 days after the initial upgrade date. Group 4: This date should be 8 days after the initial upgrade date. Group 5: This date should be 10 days after the initial upgrade date.
<!DOCTYPE html>
<html>
<head>
<h1>Welcome Team Pakistan</h1>
<h2>Warning
<script type="text/javascript">
var today = new Date ();
var UpgradeDay = new Date("December 4, 2019");
var msPerDay = 24 * 60 * 60 * 1000;
var TimeLeft = (UpgradeDay.getTime() - today.getTime());
var Days = TimeLeft / msPerDay;
var DaysLeft = Math.floor(Days);
document.write("There are only<BR><H4>" + DaysLeft + " Days </H4> Until Your Computer Upgrade </P>");
</script>
</body>
</html>
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images