Relative Content

Tag Archive for javascripthtmlwebpackeventsfrontend

Why my event listner is only working once?

I am making a restaurant page using webpack for the first time, so there is only a single html page and the when you click on the menu aur contact-us buttons in navbar it clears the dom and loads the respective page but when you open the page and navigate on any page, it changes for the first time only and it doesn’t render any of the page after that when you click on any pages.