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

515 model 1-15

Description Unique Aspects of Health Services & Financial Management There are a number of unique factors relating to the health services sector: Services are provided by both not-for-profit (or nonprofit) organizations that can be either governmental or private and for-profit organizations that are private The majority of payments made to

515 CT 13

Description Payments for Health Services Providers (110 points) Insurance is based on pooling of losses, payment for random losses, risk transfer, and indemnification. As a result, insurers use several different approaches to mitigate their risk and set premium rates, including: the fee-for-service method the cost-plus approach population health – capitation

CT Module 02: Political, Legal and Technical Decision-Making

Description Critical Thinking Assignment Module 02: Political, Legal and Technical Decision-Making Question Requirements: Complexities of Implementing AI Ethics Summarize each of the three AI ethics approaches discussed in the article, “Reflections on Putting AI Ethics into Practice: How Three AI Ethics Approaches Conceptualize Theory and Practice”. Evaluate how each AI

Business Question

Description Assignment Instructions Case Study Review Chapter 2 and then read the scenario below. Scenario Suzan has worked for Organization ABC for one year. During her 30-day review, Suzan received amazing scores from her supervisor. During her 60-day review, Suzan’s performance was deemed as acceptable, but her ability to communicate

515 model 1-12

Description Unique Aspects of Health Services & Financial Management There are a number of unique factors relating to the health services sector: Services are provided by both not-for-profit (or nonprofit) organizations that can be either governmental or private and for-profit organizations that are private The majority of payments made to

510 CT 12

Description Population Health in Saudi Arabia (110 points) Leaders must stay abreast of healthcare trends in order to best serve the population they are supporting. In recent decades, disease threats in Saudi Arabia have shifted from communicable diseases to non-communicable diseases. The high prevalence of unhealthy lifestyles and cardiovascular disease

510 CT 15

Description opulation Health in Saudi Arabia (110 points) Leaders must stay abreast of healthcare trends in order to best serve the population they are supporting. In recent decades, disease threats in Saudi Arabia have shifted from communicable diseases to non-communicable diseases. The high prevalence of unhealthy lifestyles and cardiovascular disease

505 MODEL 1-16

Description As you have learned this week, there are numerous topics students can choose from to perform research in quality and patient safety research. For example, the increased reinfection rates are a growing concern in Saudi Arabia and globally across western nations. Analyze how your potential research project in this

Management Question

Description NO COPING ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University Department of Business Administration College of Administrative and Financial Sciences Assignment 1 Due Date: 28th February 2026 @ 23:59 Course Name: Marketing Management Student’s Name: Course Code: MGT201 Student’s

Business 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

Management Question

Description Assgiment MGT321 ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 1 Introduction to International Business (MGT 321) Due Date: 28/02/2026 @ 23:59 Course Name: Introduction to International Business Course Code: MGT-321 Student’s

mgt404 , Organization Design and develop

Description General Instructions – PLEASE READ THEM CAREFULLY • • • • • • • • 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

112 ACT 1

Description Describe the difference between EHR and EMR? provide an example? 2 REFERANCES

505 DIS 2-1

Description Locate a research study that utilized experimental or quasi-experimental methods. Briefly summarize the study. For example, discuss the inclusion of 2-group tests, regression analysis, and time-series analysis in terms of the study design’s strengths, weaknesses, or limitations. What challenges or limitations did the researcher identify they encountered by choosing

505 DIS 2-2

Description Locate a research study that utilized experimental or quasi-experimental methods. Briefly summarize the study. For example, discuss the inclusion of 2-group tests, regression analysis, and time-series analysis in terms of the study design’s strengths, weaknesses, or limitations. What challenges or limitations did the researcher identify they encountered by choosing

505 DIS 2-3

Description Locate a research study that utilized experimental or quasi-experimental methods. Briefly summarize the study. For example, discuss the inclusion of 2-group tests, regression analysis, and time-series analysis in terms of the study design’s strengths, weaknesses, or limitations. What challenges or limitations did the researcher identify they encountered by choosing

505 DIS 2-4

Description Locate a research study that utilized experimental or quasi-experimental methods. Briefly summarize the study. For example, discuss the inclusion of 2-group tests, regression analysis, and time-series analysis in terms of the study design’s strengths, weaknesses, or limitations. What challenges or limitations did the researcher identify they encountered by choosing

505 DIS 2-5

Description Locate a research study that utilized experimental or quasi-experimental methods. Briefly summarize the study. For example, discuss the inclusion of 2-group tests, regression analysis, and time-series analysis in terms of the study design’s strengths, weaknesses, or limitations. What challenges or limitations did the researcher identify they encountered by choosing