Well, I wrote this code when we had only been learning web development for like 1 month.
Jquery or any kind of framework wasn't even mentioned for the next 2 months(yeah it was a slow course, and we had learned Java more back then). We only learned basics like HTML, CSS, JS(the very very basics)
And I started using that little knowledge I had to make a website
Even with so little knowledge about JS, I was far ahead of anyone in the course
I’m just impressed that you didn’t use jQuery.
Well, I wrote this code when we had only been learning web development for like 1 month.
Jquery or any kind of framework wasn't even mentioned for the next 2 months(yeah it was a slow course, and we had learned Java more back then). We only learned basics like HTML, CSS, JS(the very very basics)
And I started using that little knowledge I had to make a website
Even with so little knowledge about JS, I was far ahead of anyone in the course
It’s functional code, even if now you know it’s not practical or efficient.
Logically, it works, it’s just not very DRY.