Don’t beat yourself up over it: even the most experienced of us will sometimes overthink a problem and write too much code to solve it. Writing code is often a very iterative process, involving going back and cleaning up old code. What you’ll want to do is go back and read your code, and recognize different patterns in your code in order to rewrite them with shorter idioms. Pretty much the same as refactoring else’s code, but in this case the someone else is your past self.
In this case, you’re looping over an array that you’re then using to test for a truth condition. When you see that sort of thing, you’ll probably want to rewrite later using Array.filter(). Eventually that’ll be the first thing you reach for, but it’s a habit you’ll only form through practice.
Glad to hear that you kept going, I’m also starting and I understand how that impostor syndrome feels like. I talked even with senior Devs and they still get that sometimes. There will always be a ton of stuff you’ll not know in this field and I came to peace with that.
I like the website’s look, the Solar System, and the “scrollable background” (or whatever you call that).
How do you measure the SEO score? Is there a tool for that.
Oh, I noticed the LinkedIn link in the footer doesn’t work, it redirects to a “Page not found” situation. Maybe check that out