Question: Events ExerciseExercise Step 1 Show the Javascript Resources 1 . Link your JavaScript file . 2 . Select the div with the class javascript -

Events ExerciseExercise Step 1Show the Javascript Resources1.Link your JavaScript file.2.Select the div with the class javascript-resourcesand the buttonwith the id of show-resources.3.Add an event listener on the button that will listento the click event.4.In the event handler from the last step remove the class d-none from the div with the class javascript-resources that you selected in the first step.The result should looklike the followingimage.Note: If you refresh the page the resources should be hidden again.Exercise Step 2Add font boldness on the linkswhen you hover over an item.1.Add an event listener on element selected in the previous step that will listen to the mouseover event. Ensure that youre passing in the event object to the event handler function.2.Use console.log to print out the event.target to see the link list item elements are the event.target returned3.On the event.target use the method classList.add to add the class namedfw-bold.a.When you only hover over thethe first link item you should see something like this.

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!