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

hci 213 ass 4

Description see College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Medical Coding and Billing Course number: HCI 213 CRN XXXXX Answer the following question- Restricted – ‫مقيد‬ Assignment title or task: Identify and list ten CPT codes and ten ICD-10 codes that are frequently used

hci 314 ass 4

Description see College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Public Health Informatics Course number: HCI 314 CRN 11222 Assignment Question Discuss the impact of limited data interoperability on public health and potential approaches to improve it. Word count between 400 to 500 Students ID

520 ct 11

Description Leveraging Technology to Enhance Patient Safety (110 Points) You are the manager of a busy hospital unit. Your unit has been tasked with selecting and implementing upgraded technology on your hospital unit. As the unit manger, address the following in your selection of technology and implementation plan: Examine the

111 pre 2

Description topic is 1.Artificial Intelligence in Healthcare College of Health Sciences Department of Health Informatics GROUP PRESENTATION COVER SHEET Introduction to Health Informatics HCI111 Course name Course number CRN Topic ‫ر‬ ‫الجامعة السعودية االلكتونية‬ ‫ر‬ ‫االلكتونية‬ ‫الجامعة السعودية‬ Student names and ID – – Submission date 26/12/2021 ‫مقيد‬Restricted – Instructor

Quality Management / MGT 424

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 IN YOUR INFORMATION ON

Small Business Financing /FIN 421

Description 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 BE REDUCED FOR POOR PRESENTATION. THIS INCLUDES FILLINGYOUR INFORMATION ON THE COVER

Introduction to Operations Management /: MGT 311

Description 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 BE REDUCED FOR POOR PRESENTATION. THIS INCLUDES FILLING YOUR INFORMATION ON

Project 476-5

Description see College of Computing and Informatics Project Deadline: Sunday 01/12/2025 @ 23:59 [Total Mark is 14] Student Details: CRN: Name: Name: Name: ID: ID: ID: Instructions: • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated

Project 478-1

Description see College of Computing and Informatics Project Deadline: Wednesday 03/12/2025 @23:59 [Total Mark is 14] Student Details: CRN: Name: Name: Name: ID: ID: ID: Instructions: • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated folder.

Project 475-1

Description see College of Computing and Informatics Project Deadline: Sunday 30/11/2025 @ 23:59 [Total Mark for this Project is 14] Group Details: Name: Name: Name: Name: CRN: ID: ID: ID: ID: Instructions: • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template

Spreadsheet Decision Modelling

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment-2 MGT425-Spreadsheet Decision Modelling Due Date: 01/11/2025@ 23:59 (End of Week 9) Course Name:Spreadsheet Decision Modelling Course Code:MGT425 Student’s Name: Semester: First CRN: Student’s ID

Discussion

Description Labor Migration’s Economic Impact Using the Heckscher-Ohlin-Samuelson model, discuss how a surge in low-skilled migrant workers could influence wage gaps in high-income countries. Do real-world migration patterns align with these predictions? Piyapromdee (2020) suggests internal migration helps offset wage losses for native workers. Discuss how this finding challenges classical

Discussion

Description DISCUSSION-IV Question designers need to avoid specific wording problems. For example, they should avoid leading questions or double-barreled questions. What do you think about it? Elaborate with sample questions and possible answers. (Refer Chapter 11) Embed course material concepts, principles, and theories (which require supporting citations), along with two

MGT101 Applied/Critical Thinking/Problem Solving skill Questions

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 MGT101 (1st Semester 2025-2026) Deadline: 01/11/2025 @ 23:59 Course Name: Principles of Management Course Code: MGT101 Student’s Name: Semester: 1st CRN: 15651 Student’s

331 ass 13

Description see a i s i n Tu WHO-EM/TFI/182/E Effects of meeting MPOWER requirements on smoking rates and smoking-attributable deaths Saudi Arabia This factsheet presents estimates of the effect of implementing MPOWER policies consistent with the WHO Framework Convention on Tobacco Control (WHO FCTC). The estimates are based on the

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 YOUR INFORMATION ON

Management Question

Description Case 31 TomTom NEW COMPETITION EVERYWHERE! Alan N. Hoffman Bentley University Tomtom was one of the largest producers of satellite navigation systemsin the world. Its products were comprised of both stand-alone devices and applications. TomTom led the navigation systems market in Europe and was second in the United States.