Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Background: The purpose of this assignment is to provide you hands-on experience working with HTML and JavaScript. Tasks: HTML Static Content - Buttons (2 marks).

Background:
The purpose of this assignment is to provide you hands-on experience working with HTML and JavaScript.
Tasks:
HTML Static Content - Buttons (2 marks). Create a web page that contains 2 buttons.
JavaScript Event - Button 1 (2 marks). When the first button is clicked, the user will be prompted to enter a given name. After entering some text, the user will be prompted to enter a family name. Create a username by concatenating the input and inserting a period between the two names.
JavaScript Event - Button 2 (2 marks). When the second button is clicked, the user will be prompted to enter a nickname.
HTML Dynamic Content - Ouput (2 marks). Display the results of the application in a format similar to the following: Your username is givenName.familyName but well call you nickname
HTML Static Content - Instructions (1 mark). Be sure to explain to the user what your web application is supposed to do. Include details on how to use the application.

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

What is happening now?

Answered: 1 week ago

Question

It is imperative that he abides by the rules of the firm.

Answered: 1 week ago