Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Pls Help Create 1 HTML file, 1 JavaScript file, and at most 1 CSS file. Name your HTML file index.html . You may pick appropriate

Pls Help Create 1 HTML file, 1 JavaScript file, and at most 1 CSS file. Name your HTML file index.html. You may pick appropriate names for your JavaScript and CSS files though you are encouraged to use all lowercase letters, and no spaces. You are encouraged to use a logical directory structure for your CSS, images, and other resource files. All CSS must appear in external style sheets. All JavaScript must appear in your external JavaScript file and must be loaded in your head element. Content You are expected to use your own creativity to design this web application and talents to implement it. As such, there is no standard solution to show. Bootstrap From the list of components on the Bootstrap 5 website 1, choose a component, other than the Carousel, to present the output from your solutions to the problems described below. Some suggestions of appropriate options include "Accordion", "Collapse", "Modal", "PopOver", "Scrollspy", and "Toasts". You are permitted to use other options, the only restriction is to "Carousel" because it was used in the class example. You are allowed and expected to copy the code from the the Bootstrap website as a starting point. You will modify it to accomplish the task below.JavaScript Problems From each of the groups below pick the specified number of problems to solve in JavaScript. Solve each problem in its own function. Name your function group_x_choice_y based on the labels below. You may create additional helper functions as needed. It is expected that you may need to look up syntax on external sites like w3schools, but it is strongly recommended that you work out your pseudocode solution first for the practice with critical thinking. Group 1- Select 21. Read the input from the document, if the input is numeric and if the input is 0, or if it's between 13 and 17 inclusive, output "In range" otherwise output "Out of range". If it's not a number output "Not a number". 2. Read the input from the document and if it is a positive number interpret it as some number of days. Convert it into years, months, days. To make things easier, assume there is 365.25 days per year and that every month is 30.44 days. Left over days output may have a decimal portion, but years and months should be integers. Output these values with appropriate labels. If the input is not a number output "Non-numeric or negative input". Note: decimal math is prone to slight rounding errors, don't be concerned about an answer like 14.779999999 vs 14.78 if you see it. For added challenge use Math.round to guarantee 2 decimal places. Example: input: 2175.87 output: 5 years, 11 months, and 14.78 days

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

ISBN: 1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

2. Employees and managers participate in development of the system.

Answered: 1 week ago