JavaScript - Show heading related images based on the clicked headings
In this video, we will create headings and heading related images, and see how to show the heading related images based on the clicked headings. ? Code: https://github.com/mrawshan/javascript-click-event ? Project view: https://mrawshan.github.io/javascript-click-event/ ? Resources ? DOM Selectors Explained: https://blog.bitsrc.io/dom-selectors-explained-70260049aaf0 3 methods to loop on the HTMLCollection (Convert HTMLCollection into an array to loop from forEach) : https://www.geeksforgeeks.org/htmlcollection-for-loop/ Hover underline animation: https://www.30secondsofcode.org/css/s/hover-underline-animation Add class to an element using event.currentTarget.className: https://stackoverflow.com/questions/56192606/add-class-to-an-element-using-event-currenttarget-classname #webdevelopment #javascript #programming
In this video, we will create headings and heading related images, and see how to show the heading related images based on the clicked headings. ? Code: https://github.com/mrawshan/javascript-click-event ? Project view: https://mrawshan.github.io/javascript-click-event/ ? Resources ? DOM Selectors Explained: https://blog.bitsrc.io/dom-selectors-explained-70260049aaf0 3 methods to loop on the HTMLCollection (Convert HTMLCollection into an array to loop from forEach) : https://www.geeksforgeeks.org/htmlcollection-for-loop/ Hover underline animation: https://www.30secondsofcode.org/css/s/hover-underline-animation Add class to an element using event.currentTarget.className: https://stackoverflow.com/questions/56192606/add-class-to-an-element-using-event-currenttarget-classname #webdevelopment #javascript #programming