Learning JavaScript



Learning JavaScript

bill nye mind blown GIF
    Today I continued studying javascript. First I was given a task to try and understand what was going on in a code. I took one glance at this, and I thought, "Okay, what does this all mean." I started stressing, tapping the table, and bouncing my leg up and down, wondering how I was going to do this. I kept on studying this code and started to understand some of the different lines of text. At this moment I felt like a genius. So many thoughts and question were bouncing through my head that I couldn't even think straight. I was just really happy that I started to understand this code.
   The whole point of the code was to make this little figurine move to the south, north, east, and west. I did this using multiple things. For example, a lot of variables were used. A variable is a storage place where one can call back the things that are in the variable. If you had something like this, `var a = "Asher Forman."` Then now the variable "a" is created, and the string "Asher Forman" is stored inside of that variable. One can also store numbers in a variable. Now if one wanted to, they could call that variable, and the console would spit out, "Asher Forman." After I finished studying the code, I just started to play around with it. I began experimenting with all of the things that one could do with this code. Soon it was time to go, but I am very excited to go back next week.



   

Comments

Popular posts from this blog

Doing a Little Review

Making Classes

Using the Arrow Keys