tt01924 / Sara-Biatchinyi-Website

Project to showcase a clients research and graphic design portfolio in an unorthodox display.
https://sarabiatchinyi.com
0 stars 0 forks source link

header links activate correct half of page #20

Closed sulphite closed 2 months ago

sulphite commented 2 months ago

rewrote part of the index.js script to handle activating the different sides of the page. Event listeners listen for hover events and click events in the header, and add an "active" class to the relevant half of the page. Then CSS changes the transparency of the overlay based on this "active" class.

closes #17