Coding was always something I was interested in.
Introduction
I used to be super interested in coding as a kid, because who wouldn't want to make games, create web pages? I obviously signed up for coding tuition when I was around 10, and just could not keep up at all. The teacher was fine, but I guess I just got bored trying to understand and remember the "functions".Recently, I decided to change this, by trying to learn coding again. I still have some basic knowledge for coding, for example loops, conditionals, data types, but other than that, I just forgot everything. After this, I found this incredible website called freecodecamp.org . If you're learning to code, which I think you are doing since you're reading this, you'll probably find this website to be incredibly useful.
Other than that, I realized that, "I could probably help some future coding beginners if they saw a blog from a person learning to code." and I set up this blog. I really hope that you'll find this blog quite useful and a bit entertaining!
Day 1
I actually just thought of blogging this journey of mine on day 2, so I guess I'll talk about two days in this blog post! I spent the first day just breezing through 3 exercises, but the last exercise was a bit tricky for me! It was a program to multiply the rate of pay and hours worked. This was pretty easy, but they also asked me to add 0.5 the rate of pay after the hours worked was over 40 which was a bit tricky, but still alright. Then, the final exercise required me to add a failsafe in case the rate of pay (or) the hours worked was not in numbers, and I had to think a lot.Who am I kidding? I just looked at the teaer's code. This was probably a bad mistake since I read several research articles saying that testing yourself was the way to learn something properly. Active recall or something. This was probably nothing but I should have some self restraint later on.
The conditionals were very easy for me since I just visualized it as the teacher drew on the slides. It can be very helpful to draw an imaginary line which shows you what will happen when you code. The variables are also very easy to grasp. You just think of “this is this”. It’s really that simple! The function basics can be simplified to just “things that do stuff in the code"
Day 2
Aside from the discovery, I cheated by looking at Mr. Charles' work again. I think it's going to be a bit hard for me to stop cheating, but I think I'll get over it someday.
The functions are really getting to me, but I'm somehow starting to understand it! I've also started the iterations since it's quite easy to understand! The coding is starting to give me headaches so now, I'm going to stop for today! I also started to use the # to comment so I don’t lose track of things.
The Code
This is the section of the blog where I show the best code I've written during the day!
It ain't that much but baby steps, ya know?
Don't hesitate to tell me what you want to hear me write about other than learning to code!
Signing off,
Stewie
Stewie, the first few steps are always the hardest~ keep learning and you'll be great!
ReplyDeleteThank you, Mr. Twister! I'll keep it in mind!
Delete