I enjoy the problem-solving aspect of coding in javascript. While that aspect is there in CSS to an extent when we finesse code to make pages look a certain way, it's much more pronounced in Javascript (in my, admittedly small, experience so far), and this makes me enjoy my javascript classes quite a bit.
When naming variables, we cannot start the name with a number. Starting with a caps lock, underscore, or dollar sign is fine. We can't use certain javascript words, like if, else, function, continue, switch, and more. I went over scope again, in regards to variables declared within and outside of a function, and variables declared as global or local variables.
I learned today that remainder is another word for modulo, and that remainder is actually the more accurate term. So:
100 % 10 = 0
That means 100 divided by 10 gives a remainder of 0.
The current goal is to keep studying javascript, using multiple sources (Codecademy, Treehouse, and several books), until I become fluent. This approach takes time, and will not be as brief as sticking to only one source, but it means I get to cover the same subject from multiple angles by multiple instructors/authors, gleaming deeper insight into the subject matter than I would otherwise. I am ok with the additional time this will take, as I am looking for a solid grasp of the language.
There are three special values in javascript that are considered numbers but don't behave like numbers. They are Infinity, -Infinity, and NaN. The two infinities represent the positive and negative infinities. Infinity - 1 is still infinity. The infinities, according to Eloquent Javascript, are not mathematically solid, so we should not put too much trust in them. NaN stands for Not a Number (but the value itself is a value of the number type). 0/0, for example, will yield NaN. Infinity and -Infinity will also yield NaN if you try to calculate them.
I learned that strings can be in single or double quotes, but the entire string must be on only one line of code. A backslash (\) will allow you to spread a string over several lines of code. If you actually want to enter a backlash into the string, then enter two backslashes, like so:
\\
I lost a bit of focus over the last week, which can happen when so many learning sources are available. So I went back and organized myself, so as to re-focus. The Odin Project serves as my overarching syllabus, and the current instructions are to solve three project Euler problems as well as to complete certain sections of the Codecademy Javascript course, except that if I wish, I can complete the entire Codecademy Javascript course, and doing so is considered extra credit at the moment. I have finished the section on arrays, and the rest of the course deals with objects, but I'm not too familiar with objects, so I stopped there for now. Going back to The Odin Project's Euler problems, I'm not fluent enough in Javascript at the moment to solve them. So, I'm pausing to read "Head First Javascript," by Eric Freeman and Elisabeth Robson. Since the Head First HTML and CSS book was excellent, I'd like to go through their Javascript book, take the Treehouse course on Loops, Arrays, and Objects, finish the Javascript Codecademy course, and then assess the Euler Project problems once more. This is actually quite a lot of work, but I'm looking forward to it!
When naming variables, we cannot start the name with a number. Starting with a caps lock, underscore, or dollar sign is fine. We can't use certain javascript words, like if, else, function, continue, switch, and more. I went over scope again, in regards to variables declared within and outside of a function, and variables declared as global or local variables.
I learned today that remainder is another word for modulo, and that remainder is actually the more accurate term. So:
100 % 10 = 0
That means 100 divided by 10 gives a remainder of 0.
The current goal is to keep studying javascript, using multiple sources (Codecademy, Treehouse, and several books), until I become fluent. This approach takes time, and will not be as brief as sticking to only one source, but it means I get to cover the same subject from multiple angles by multiple instructors/authors, gleaming deeper insight into the subject matter than I would otherwise. I am ok with the additional time this will take, as I am looking for a solid grasp of the language.
There are three special values in javascript that are considered numbers but don't behave like numbers. They are Infinity, -Infinity, and NaN. The two infinities represent the positive and negative infinities. Infinity - 1 is still infinity. The infinities, according to Eloquent Javascript, are not mathematically solid, so we should not put too much trust in them. NaN stands for Not a Number (but the value itself is a value of the number type). 0/0, for example, will yield NaN. Infinity and -Infinity will also yield NaN if you try to calculate them.
I learned that strings can be in single or double quotes, but the entire string must be on only one line of code. A backslash (\) will allow you to spread a string over several lines of code. If you actually want to enter a backlash into the string, then enter two backslashes, like so:
\\
I lost a bit of focus over the last week, which can happen when so many learning sources are available. So I went back and organized myself, so as to re-focus. The Odin Project serves as my overarching syllabus, and the current instructions are to solve three project Euler problems as well as to complete certain sections of the Codecademy Javascript course, except that if I wish, I can complete the entire Codecademy Javascript course, and doing so is considered extra credit at the moment. I have finished the section on arrays, and the rest of the course deals with objects, but I'm not too familiar with objects, so I stopped there for now. Going back to The Odin Project's Euler problems, I'm not fluent enough in Javascript at the moment to solve them. So, I'm pausing to read "Head First Javascript," by Eric Freeman and Elisabeth Robson. Since the Head First HTML and CSS book was excellent, I'd like to go through their Javascript book, take the Treehouse course on Loops, Arrays, and Objects, finish the Javascript Codecademy course, and then assess the Euler Project problems once more. This is actually quite a lot of work, but I'm looking forward to it!
SUMMARY OF CODING SKILLS
Total Treehouse Points: 5,151
Treehouse Points by Subject Matter (Miscellaneous not included):
HTML: 663
CSS: 1,599
Design: 1,193
Development Tools: 747
Javascript: 916
Treehouse Ranking (%): "You have more total points than 91% of all students."
Treehouse Badge(s) Earned Today:
Treehouse Courses Completed:
How to Make a Website
HTML
CSS Foundations
CSS Layout Techniques
Aesthetic Foundations
Design Foundations
Adobe Photoshop Foundations
Adobe Illustrator Foundations (66% complete, switched focus from web design to web dev)
Git Basics
Introduction to Programming
Javascript Basics
Codecademy (& other) Courses Completed:
HTML and CSS (Codecademy)
Design Foundations
Adobe Photoshop Foundations
Adobe Illustrator Foundations (66% complete, switched focus from web design to web dev)
Git Basics
Introduction to Programming
Javascript Basics
Codecademy (& other) Courses Completed:
HTML and CSS (Codecademy)
Books Read or in Progress:
Completed: "Head First HTML and CSS," by E. Robson & E. Freeman
In Progress: "Eloquent JavaScript," by Marijn Haverbeke (On pg 27)
In Progress: "Head First Javascript," by Eric Freeman and Elisabeth Robson (On pg 1)
My Progress on The Odin Project:
1. Introduction to Web Development 100% Complete
2. Web Development 101 29% Complete
3. Ruby Programming 0% Complete
4. Ruby on Rails 0% Complete
5. HTML5 and CSS3 0% Complete
6. Javascript and JQuery 0% Complete
7. Getting Hired as a Web Developer 0% Complete
Hours Spent Coding Today: 4.5
Total Hours Coding: 356.5
No comments:
Post a Comment