As a beginner in HTML development, I am eager to incorporate Javascript into my first major webpage, despite not having received any formal training on it.
At the moment, my layout consists of a title, menu, and an image at the top.
The image displayed changes based on the selected menu item.
My goal is to achieve smooth fading transitions between these images; however, the online resources I have come across only explain how to stack images on top of each other to create a gallery effect.
How can I assign each image to a specific HTML page? Will this method work or will I need to make significant changes to my webpage in order to update content without loading a separate HTML document?