Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

IT 361 ASS 1

Description

SEE

College of Computing and Informatics

Assignment 2
Deadline: Tursday 31/07/2024 @ 23:59
[Total Mark for this Assignment is 15]
Student Details:
Name: ###

ID: ###

CRN: ###
Instructions:

• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.

• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).

• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.

• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.

• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.

Question One

Pg. 01
Learning
Outcome(s):
CLO3 Develop
dynamic web
pages using
JavaScript.

Question One

5 Marks

Write a JavaScript function that does the following:
1. Ask the user to enter their weight in kilograms using prompt().
2. Ask the user to enter their height in meters using prompt().
3. Calculate the BMI using this formula:
BMI = weight / (height * height)
4. Displays a message inside a on the page that tells the
user whether they are:
o Underweight (BMI 16 to less than 18.5)
o Normal weight (BMI 18.5 to less than 25)
o Overweight (BMI 25 to less than 30)
o Obese (BMI 30 and above)
o Severely Underweight (BMI less than 16)
5. If the BMI is less than 16 or more than 30, show a popup alert()
warning that says the user is in the danger zone.
Your function must use:
• prompt() to get input
• if…else statements for decision making
• DOM methods like getElementById() to show the result

Question Two

Pg. 02
Learning
Outcome(s):
CLO2 Create web
pages using
HTML5 and
CSS3.

Question Two

2.5 Marks

From the previous question, style the that displays the BMI message
using CSS.
Inside the section of your HTML, add a block, and write a CSS rule
using the ID selector to apply the following styles:



Font family: Arial
Font size: 18px
Text color: blue
Font style: italic

Remember to use:

ID selector syntax
Embedded (or internal) style sheet

Question Three

Pg. 03
Learning
Outcome(s):

Question Three

2.5 Marks

Use JavaScript to:

CLO3 Develop

– Change the text of the element with ID message to “Welcome to KSA”.

dynamic web

– Change the src attribute of the image with ID logo to ksa.png.

pages using
JavaScript.

Welcome to SEU

Question Four

Pg. 04
Learning
Outcome(s):

Question Four

5 Marks

Use JavaScript to:

CLO3 Develop

– Add a click event listener to the button with ID btn.

dynamic web

– When clicked, it should:

pages using

– Change the style color of the paragraph with ID description to red.

JavaScript.

Event Listener

This is the best.
Click

Purchase answer to see full
attachment

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Mgt404 Question

Description # Please I need this assignment within 24 hours, # Should not have a plagiarism, # Follow the “General Instructions” in the Assignment application 2 1 CHAPTER 2 THE NATURE OF PLANNED CHANGE PLANNED CHANGE AT THE SAN DIEGO COUNTY REGIONAL AIRPORT AUTHORITY T he San Diego County Regional

PERIODIC REPORT-Acct430

Description Major:Accounting Department: Finance Trainee Responsibilities: 1. Revier employee Vacation and final exit. 2. Review of employee salaries. 3. Assistance in preparing periodic reports. 4. Recording accounting transactions. ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University PERIODIC REPORT No: 1

Business Question

Description STUDENTS ARE ADVISED TO MAKE THEIR WORK CLEAR AND WELL PRESENTED, MARKS MAY BE REDUCED FOR POOR PRESENTATION. THIS INCLUDES FILLING YOUR INFORMATION ON THE COVER PAGE. • STUDENTS MUST MENTION QUESTION NUMBER CLEARLY IN THEIR ANSWER. • LATE SUBMISSION WILL NOT BE ACCEPTED. • Avoid plagiarism, the work

Business Question

Description STUDENTS ARE ADVISED TO MAKE THEIR WORK CLEAR AND WELL PRESENTED, MARKS MAY BE REDUCED FOR POOR PRESENTATION. THIS INCLUDES FILLING YOUR INFORMATION ON THE COVER PAGE. • STUDENTS MUST MENTION QUESTION NUMBER CLEARLY IN THEIR ANSWER. • LATE SUBMISSION WILL NOT BE ACCEPTED. • Avoid plagiarism, the work

MGT402 | Entrepreneurship

Description Avoid plagiarism, the work should be in your own words, copying from students or other resources without proper referencing will result in ZERO marks. No exceptions ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial

new bader

Description I need a portion of a research paper that requires reliable Saudi sources, such as the Saudi Digital Library. The research title is (The role of translation of Saudi Vision 2030). I am required to write research problems. Mention the problems I faced in the research, the most prominent

hcm 515 dis 1

Description For this first discussion, we examine the influence of ethical principles on healthcare. Discuss the ethical principles behind Vision 2030 and include an example of Vision 2030 at work in the healthcare field in the Kingdom of Saudi Arabia. Embed course material concepts, principles, and theories (which require supporting

hcm 500 dis 1

Description Describe major challenges with Covid 19 and as an individual health status in Saudi Arabia, including its effect on individuals and the community. Analyze the features of a healthcare system that best responded to the Covid 19 pandemic, including whether the system was equipped to deal with a pandemic

hcm 500 ct 1

Description COVID-19 Pandemic and Mental Health in KSA (110 points) Examine how the COVID-19 Pandemic influenced patients with mental health disorders and their treatment plans. Use this week’s required readings, recommended readings, the textbook and your own research to develop a PowerPoint presentation describing: An overview of symptoms, risk factors,

hcm 515 ct 1

Description Examining Laws in Saudi Arabia (110 points) Locate three current laws in the Kingdom of Saudi Arabia that impact healthcare in the country. For example, the right to healthcare is stipulated in Article 27 and 31 of the Basic Laws of Saudi Arabia, the Ministry of Health issued a

hcm 515 dis 3

Description write in 500 words In this scenario, you are the CEO of a healthcare organization. You are preparing for a presentation to community members about how healthcare is geographically located and the ethical effects to insurance versus no-charge healthcare systems. What are the differences between insurance and a no-charge

Management Question

Description The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted through email will not be accepted. Students are advised to make their work clear and well presented, marks may be reduced for poor presentation. This includes filling your information on the cover page. Students

Ct.

Description Policy and Supply and Demand (110 Points) Various programs to increase employment in the healthcare sector have recently been introduced in the Kingdom of Saudi Arabia. As a result, an increasing number of foreigners have been provided with the opportunity work in the Kingdom. Studies show that 30% of

Strategic Management / MGT401

Description CAREFULLY • THE ASSIGNMENT MUST BE SUBMITTED ON BLACKBOARD (WORD FORMAT ONLY) VIA THE ALLOCATED FOLDER. • ASSIGNMENTS SUBMITTED THROUGH EMAIL WILL NOT BE ACCEPTED. • STUDENTS ARE ADVISED TO MAKE THEIR WORK CLEAR AND WELL PRESENTED;MARKS MAY BE REDUCED FOR POOR PRESENTATION. THIS INCLUDES FILLING IN YOUR INFORMATION

Business Question

Description As a reminder, copying and pasting is strictly unacceptable. It is also necessary to add reliable sources, whether from an article or an international website. The Answer must follow the outline points below: 1. Executive summary (2 Mark, Max word count 200-250) – Summarize what is logistics performance priorities,

PERIODIC REPORT1 -Mgt430

Description Trainee Responsibilities 1. Provide administrative support. 2. Support in vehicle inspections and report issues. 3. Assist in preparing daily transportation schedules. 4. Assist in coordinating vehicle delivery requests from different departments. ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University

PERIODIC REPORT 1

Description Department: Human Resources Trainee Responsibilities 1. Responsibilities 2. Recruitment, onboarding 3. Employee relations 4. Employee engagement

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 1 Public Management (MGT 324) Due Date: 4th October 2025 @ 23:59 Course Name: Public Management Student’s Name: Course Code: MGT324 Student’s ID Number: