Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started