Hey Lauren,
Upon reviewing your website, it has come to my attention that you have implemented multiple identical IDs within each section. Although these IDs are hidden during specific breakpoints, they still exist within the Document Object Model (DOM) structure. According to the HTML specification, the ID attribute is intended to be unique within a single HTML document. Consequently, it is essential that each ID value appears only once on a page. Having multiple elements with the same ID can lead to unexpected behavior and is considered invalid HTML.
For instance, I tested the removal of the Desktop and Laptop section from your homepage and found that the mobile version worked correctly and without issues.
To address this matter, I suggest implementing the following solution:
- Ensure that each page contains only one ID. As such, you need to replace the IDs for the laptop and mobile sections with unique values, distinct from one another.
- Create three menus specifically tailored for desktop, laptop, and mobile views. Include three menu elements within your header builder and apply the hide during breakpoint functionality, similar to what you have implemented on the homepage.
By following these recommendations, you can rectify the issue and establish a proper structure for your website, adhering to HTML standards and ensuring consistent functionality across different devices.
Hope that helps.