Created a modal container to view the full images on the home page
Added functions that open the modal and switch to the previous/next image
Other
Added a transition on the navbar such that it turns dark(ish) green on hover
To-Do
Need to figure out if there’s an optimized way to add the openModal() function on all the images without manually adding the onclick=”” function to every < img > tag….
Also need to figure out how to close the modal by clicking outside the image without impacting how the buttons work
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.