Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question (2): Javascript code is written for this part. However, you have to do the following. Details: Display the clock in our maroon colors with
Question (2): Javascript code is written for this part. However, you have to do the following.
Details:
Display the clock in our maroon colors with gold background color and maroon text color. Use only HEX or RBG color codes.
Also, you should display the clock in the far-right corner.
Tyit Editor v3.5 C Secure https://www.w3schools.com/html/tryit.asp?filenametryhtml-css1nline All-in-one Prototyping FOR WEB AND MOBILE TRY IT FREE JUSTIMIND Run Result Size: 1035 x 513 Hi everyone! This message is from The Professor - Follow the instructions below to work on your Week 7 HW assignment! Our class student team consists of 6 girls and 54 lads: We are a total of 60 students in this CST301 online course! function startTime) var today=new Date() var hr-today.getHours) var min-today.getMinutes) var sec-today.getSeconds() var ap-"AM" :30:32 PM //to add AM or PM after time // Add IF statement using the above declared variables to display your clock in AM and PM if (hr>11) ap- "PM"; if(hr>12) hr-hr-12; if (hr--0) hr-12; //to add a zero in front of numbersStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started