Portfolio project

I found this task quite difficult, i really didn’t feel like i had enough experience with the DOM going into it. I still don’t think my js is particularly great. I would really like some feedback on how to tidy up the js and make it neater with fewer global variables.

Here is a link to the repo: GitHub - mghmay/mghmay.github.io

And here it is live: mghmay.co.uk