I am currently developing a horizontally scrolling website with 4 sections. Each section is identified by the following IDs:
<section id="section1">
<section id="section2">
<section id="section3">
<section id="section4">
Upon loading the website, users are initially shown 'Section 1', which contains a hyperlink that directs them to #section2 when clicked. However, an issue arises once they reach the third section - the hyperlink meant to take them to #section4 unexpectedly sends them back to #section1.
I suspect that this problem may be related to the dimensions of the container and sections, but I am struggling to pinpoint the exact cause. Initially, with only 3 sections, I encountered difficulties reaching section 3 until adding section 4.
Any assistance in resolving this matter would be greatly appreciated. Thank you.