Day #14 of @TheOdinProject
▪️Learning Full-stack (no AI) (Foundations path)
>Completed Etch-a-Sketch project, after lots of googling & searching stackoverflow.
>I'm really learning how my code works coz i'm doin manually without AI :)
#JavaScriptProgramming#learninginpublic
🔄 JavaScript functions can be used to create custom prototypes and constructors, enabling you to define your own object types and behaviors. This is the foundation of object-oriented programming in JavaScript. #Prototypes#Constructors#JavaScriptProgramming
To 'hack' the game, I have to inspect the objects which have been instantiated by the code. I can do this in the console by typing in the object names. #DevTools
To learn what these objects are I have to read the game code. This improves my JavaScript because one of the best ways to learn to write code is to read code and try to understand what it does. #JavaScriptProgramming