Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the secound pic is for quistion 6 5. Write a JavaScript and use get day () method that returns the weekday as a number between

image text in transcribed
image text in transcribed
the secound pic is for quistion 6
image text in transcribed
image text in transcribed
image text in transcribed
5. Write a JavaScript and use get day () method that returns the weekday as a number between 0 and 6. (Sunday=0, Monday=1, Tuesday=2...) Use the weekday number to calculate the weekday name and display on the webpage. Write a default message "Looking forward to the Weekend" if the user enters any other number. (use switch case in the JavaScript) 6. Ask the user to enter a choice, which determines what type of HTML 5 ordered list to display. Use a variable "validInput" to check if the user enters a valid choice. If a choice is invalid, the script sets validInput to false. In case the user enters 1, it must display a numbered list, a 2 to display a lettered list and a 3 to display a list with roman numerals. Use list-style-type, which allows us to set the numbering system for the list. Possible values include decimal (numbersthe default), lower-roman (lowercase Roman numerals), upper-roman (uppercase Roman numerals), lower-alpha (lowercase letters), upper-alpha (uppercase letters), and more. 5. Write a JavaScript and use get day () method that returns the weekday as a number between 0 and 6. (Sunday=0, Monday=1, Tuesday=2...) Use the weekday number to calculate the weekday name and display on the webpage. Write a default message "Looking forward to the Weekend" if the user enters any other number. (use switch case in the JavaScript) 6. Ask the user to enter a choice, which determines what type of HTML 5 ordered list to display. Use a variable "validInput" to check if the user enters a valid choice. If a choice is invalid, the script sets validInput to false. In case the user enters 1, it must display a numbered list, a 2 to display a lettered list and a 3 to display a list with roman numerals. Use list-style-type, which allows us to set the numbering system for the list. Possible values include decimal (numbersthe default), lower-roman (lowercase Roman numerals), upper-roman (uppercase Roman numerals), lower-alpha (lowercase letters), upper-alpha (uppercase letters), and more. Numbered List Lettered List Roman Numbered List

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

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago