Junior Software Development Journey - A delayed week 5!
On a high after finishing our individual projects last week, it was onto JavaScript! A language I have some (very minor) experience of from university from 10 years ago, and also java being our main language that we learnt back in the day!
This should be a breeze - except it wasn't. Coming up with the logic on what things are supposed to do and creating the required output, it's just the things either side of that which I am struggling with. From setting listeners wrong when it is not an ID that I am looking for, going from using getElementById to googling getElementByClasses (and failing) before remembering (being told) that querySelector exists which makes things much simpler!
Inserting these values back into the HTML via either a innerText/innerHTML function (and definitely NOT an InnerText/InnerHTML function - which I absolutely did not spend 40 minutes trying to troubleshoot why it wasn't working, before finally realising I had a capital I and it should have been lower case after going round in a plethora of circles!).
Moving onto this we had another walkthrough project - this was much much simpler, thanks to VSCode and CoPilot - handily suggesting how to setup the listeners so it wasn't all from memory, and helping to drill in the different ways of doing so from the suggestions it is giving, being reminded what it does (Or asking CoPilot if I can't recall it!), then deciding if it is the most optimal way for what I am planning to do! Much more blissful!
Looking forward to this week, we are starting our first hackathon projects in a group of 3, something which I can't wait to begin and looking forward to using git branches in action and learning to handle conflicts if they happen rather than working on solo projects!
As the team leader for the project, I can totally just -force my git pushes right? RIGHT?! (jk don't do this).