Day 25: Done with Basic Algorithm Scripting!
#100DaysOfCode Challenge

Search for a command to run...
#100DaysOfCode Challenge

No comments yet. Be the first to comment.
How Perseverance Led Me to Data Analytics

An SQL cheat sheet for beginners

My top learning resources and why I like them

A how-to- guide with code snippets and a live demo

My Top 7 Git Commands and How I Use Them

Today I completed the Basic Algorithm Scripting section of the JavaScript course from freeCodeCamp and started the Object Oriented Programming section. I’m currently 19% done. You can read my full journey of #100DaysOfCode on GitHub.
let dog = {
name: "Spot",
numLegs = 4
};
this keyword is used to refer to the name of the object. For example:let duck = {
name: "Aflac",
numLegs: 2,
sayName: function() {return "The name of this duck is " + this.name + ".";}
};
“Constructors follow a few conventions:
constructors.this to set properties of the object they will create. Inside the constructor, this refers to the new object it will create.I’m very delighted that I completed the last challenge in the Basic Algorithm Scripting section. Those challenges were difficult, but worth it. It felt good to put into practice what I’ve been learning so far.
I’ve only just begun the Object Oriented Programming section, but so far it’s going well. I’m especially enjoying seeing how things like constructors, and the this keyword is put into use. Previously, while reading Eloquent JavaScript I struggled to understand these concepts. I won't say I fully understand them now, but I'm getting there.
In addition to programming, I also took some time to connect with others via Discord. This is a part of my programming journey that I think I’ve neglected and would like to dedicate more time to. Overall, I’m satisfied with today’s study session. As with yesterday’s session, I stuck with the Mozart’s Piano Concerto №23 on repeat to stay focus.
I found the following tutorials/guides useful in today’s session:
For my progress visit the timeline on my freeCodeCamp Profile.
You can read my full #100DaysOfCode journal on GitHub