Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 numbers

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

Students also viewed these Databases questions

Question

Distinguish between the value chain and the supply chain.

Answered: 1 week ago

Question

Distinguish between supervised and unsupervised learning models.

Answered: 1 week ago