I had to build a page with text in lab 35 so that it would be highlighted whenever you hovered over certain phrases. To do this, I added a tag inside p tags for the first time. Then I developed a highlightLink feature that would essentially style and highlight the anchor tags. I used DOM-based javascript to style the anchor tags in the highlightLink feature, and then I attached an event listener ("mouseenter") to the highlightLink feature, which implies that it would work whenever the mouse is in the tag text.
To exercise my DOM-based javascript, I did this lab. I learned how to use the forEach feature in this laboratory and how to use json items in javascript. I expect to use these abilities in the future whenever I generally write code in javascript. Since it is more effective, some advice I would offer is to use jQuery.

Comments
Post a Comment