Js toggle and click event, grid and flex css

Solution retrospective
I learned a lot from the accordion menu and had a rough time positioning the images.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @DrMESAZIM
hi @geoffjecrois
I had time to understand you code I have only one issue I would want to address namely
The position of the JavaScript link would be best removed from line from line 71 to line 80 for this reason
The best practice is to put JavaScript tags just before the closing </body> tag rather than in the <head> section of your HTML. The reason for this is that HTML loads from top to bottom. The head loads first, then the body, and then everything inside the body. If we put our JavaScript in the head section, the entire JavaScript will load before loading any of the HTML, which could cause a few problems :
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord