Question: You will create the events using event listeners and all JavaScript should go in script tags for each part (provided for you). Feel free to

You will create the events using event listeners and all JavaScript should go in script tags for each part (provided for you). Feel free to use anonymous functions for the event listeners except for part 7 where you will need to create an additional function. All JavaScript should be in script tags and all events should be declared using event listeners. No in-line JavaScript should be used. In language Javascript please! thank u

You will create the events using event listeners and all JavaScript shouldgo in script tags for each part (provided for you). Feel freeto use anonymous functions for the event listeners except for part 7where you will need to create an additional function. All JavaScript shouldbe in script tags and all events should be declared using event

Part 1

Display a popup when the "Click Me" button below is clicked. Have it display anything you like.


Part 2

When the "Greet Alert" button is clicked, display a popup that reads Hello [name] where the name is what is entered in the name text box.


Part 3

When the "Greet Modify" button is clicked, "inject" the name entered in the text box into the sentense replacing the [placeholder] with the name.


My name is [placeholder] and I'm taking CS 112 this semester.

Part 4

when the image below is clicked, display a popup showing its source URL. Get the URL from the actual image element's src attribute.


listeners. No in-line JavaScript should be used. In language Javascript please! thank

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!