First off, spoiler alert! If you haven’t worked through the Basic Algorithm Scripting portion of the JS & Data Structures Cert there are answers here that you may want to avoid.
Hi, I’ve finished the Basic Algorithm Scripting portion of the JS course and there are answers there that I want to keep and possibly review in the future. So I took my HTML and CSS and my basic JS knowledge and created an interactive page. (It gets boring looking at the console and then having to edit all the time)
I’m asking for a code review on the JS portion of the interactive page please. Is my thought process okay? Do I have a good flow? I think there will be things that I’ll clean up in the future as my knowledge grows but I’d like someone ‘in the know’ to do a code review and give me some feedback on anything that should be within my understanding at this point in time.
I ran it through a validator and it told me I was missing a semicolon on the last line but I’m not sure where. Everything is working as expected.
I’m in the process of figuring out how to move ‘onsubmit’ out of HTML and into JS. I tried the same as I did with ‘onchange’ but things weren’t working so I’m currently still in research mode for it.
Thank you for your time.
Here’s the link to my codepen