Hey Izu! Loved this project, the UI is delightful and having the video to present it was also great! Overall it was a great work, and I have to admit being surprised when I saw that the site was constructed with plain HTML+JS instead of React, congratulations!
Besides what @azhiah already mentioned, I have some feedback for you:
Fundamentals
As a good practice if we know a variable is not going to be modified any more, we declare it as const, this way we could avoid mistakes in the future
I see in some places you used document.querySelector and used a class name for them, just for simplicity and readability if it's going to be only one class name that you are looking for you can always use document.getElementsByClassName
Easy to Understand/Clean Code
The overall format of your code is great, but one reccomendation I have is to run a formatter in your code so nothing is overlooked, in vs code this can be achieved with "⇧⌥F" you can read more in: https://code.visualstudio.com/docs/editor/codebasics#_formatting
Hey Izu! Loved this project, the UI is delightful and having the video to present it was also great! Overall it was a great work, and I have to admit being surprised when I saw that the site was constructed with plain HTML+JS instead of React, congratulations!
Besides what @azhiah already mentioned, I have some feedback for you:
Fundamentals
document.querySelector
and used a class name for them, just for simplicity and readability if it's going to be only one class name that you are looking for you can always usedocument.getElementsByClassName
Easy to Understand/Clean Code
Modularity
you can always transform that into a list of objects
let objects = [1, 2, 3]
extra Some stuff that might be interesting to learn and you could use later if needed/wanted
alt
attribute