Implementing Classes
Today I went to my internship ready to study and learn. I got to the Flatiron School and started to work on my code, but then I went to a standstill. I first opened up the HTML link in google chrome. I saw the sky, the bird, and the man, which is a very good sign. I then tried to move my little guy through the use of my arrow keys, but I just got an error. My little guy was stuck at a standstill. I spent a lot of time looking at my code to see what might be causing this error, but I couldn't find it. I kept trying and trying but soon just decided on asking for help. My Internship guide looked at my code and was able to see the problem. The problem was with one of my variables in my crash function.
After we fixed this problem, It was time to implement classes into my code. Classes essentially just help to clean up your code. So, I put in a class for my little guy, saved it, and then opened the code up in google chrome. I looked at the screen, and the console was throwing an error. I then went back to my code to try and fix it, but I couldn't figure out how. I asked my internship guide to try and fix my code, but he was just as puzzled as I was. Now both of us couldn't figure out what was wrong. During the rest of my time until 11:00 A.M, we were working on trying to put a class into the code. We were ultimately not successful, but I am excited to work on it next week.

Comments
Post a Comment