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

Biol 102 ass 5

Description dee College of Health Sciences Department of Public Health ASSIGNMENT COVER SHEET Course name: Introduction to Anatomy and Physiology Course number: BIOL102 CRN 50066 1. Cells a) Provide a well labeled diagram of a human cell. (2 marks) (take image from the internet/book and provide source) b) Name the

499 dis 41 – 1

Description Discussion 1 Students must initiate a post and reply to at least three posts Briefly describe your role in the internship. What differences have you noticed as you have transitioned from your role as student to intern? What new knowledge or skill did you learn since the beginning of

499 dis 41 – 2

Description Discussion two, requires you to answer the following questions:  What did you learn, either from reading or classroom discussions that you applied on the internship?  Which courses/subjects you feel could be expanded or added that would have helped you perform the internship better?  How does this

Internship final report- mgt430

Description It’s all written in the paper. College of Administration and Finance Sciences Form No 4- Internship Report Cover Page Student`s name: Student`s ID #: Training Organization: Trainee Department: Field Instructor Name: Field Instructor Signature: Course Title: CRN: Internship Start Date: Internship End Date: Academic Year/Semester: For Instructor’s Use only

Internship Final Report

Description The report should be submitted about your Co-op training Program ( I did my internship in ARO Drilling, Saudi Arabia as Catalog coordinator ) In addition, the report should be approximately 3000 – 4000, single –spaced and consider taking the following format General instructions for writing the final report:

mng401,jaded

Description Solve the homework correctly without plagiarism. All questions are fully and correctly solved. ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Strategic Management (MGT 401) Due Date: 02/08/2025 @ 23:59 Course

mng245.fawaz

Description Solve the homework correctly without plagiarism. All questions are fully and correctly solved.

mng425,bader

Description Solve the homework correctly without plagiarism. All questions are fully and correctly solved. College of Administrative and Financial Sciences Assignment 2 Spreadsheet Decision Modelling (MGT425) Deadline for students: End of Week 06 (02/08/2024 @23:59) To be posted/released to students on BB in Week 4 Course Name: Spreadsheet Decision Modelling

425,mohsen

Description Solve the homework correctly without plagiarism. All questions are fully and correctly solved. College of Administrative and Financial Sciences Assignment 2 Spreadsheet Decision Modelling (MGT425) Deadline for students: End of Week 06 (02/08/2024 @23:59) To be posted/released to students on BB in Week 4 Course Name: Spreadsheet Decision Modelling

fawaz424,,,

Description Solve the homework correctly without plagiarism. All questions are fully and correctly solved. ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Quality Management (MGT 424) Due Date: 02/08/2024 @ 23:59 Course

Management Question

Description v Avoid plagiarism, the work should be in your own words. v All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures containing text will be accepted and will be considered plagiarism). ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Communications Management (MGT 421) Due Date: 2/8/2025 @ 23:59 Course Name: Communication Management Student’s Name: Course Code: MGT421 Student’s ID Number: Semester: Summer

Spreadsheet Decision Modelling / MGT425

Description ❖ This assignment is an individualassignment. ❖ DUE DATE FOR ASSIGNMENT 2 IS BY THE END OF WEEK 6 (02/08/2024). ❖ THE ASSIGNMENT MUST BE SUBMITTED ONLY IN WORD FORMAT VIA ALLOCATED FOLDER. ❖ ASSIGNMENTS SUBMITTED THROUGH EMAIL WILL NOT BE ACCEPTED. ❖ STUDENTS ARE ADVISED TO MAKE THEIR

Management Question

Description ·Avoid plagiarism, the work should be in your own words, ·All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures containing text will be accepted and will be considered plagiarism).

374 ass 10

Description See ASSIGNMENT COVER SHEET Course name ORAL HEALTH PROMOTION Course number PHC 374 CRN Choose one of the following two topics to explore: Promoting Oral Health: Understanding Diseases and Preventative Measures Student name: Student ID # Submission date: 1. Explore the various types of diseases and conditions that commonly

MGT-421 – Communications Management – Part 1 – Project

Description General Instructions – PLEASE READ THEM CAREFULLY The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. 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