We will use many of the free lessons at freecodecamp.org to help with our exploration of Javascript. Let’s begin at Introduction to JavaScript.
NOTE: Those of you who have taken our introductory web development course may have already taken these same introductory JavaScript lessons. If so, it is not mandatory that you take them again but you may benefit from them as a refresher. Also, I will NOT be tracking your FCC progress this semester.
This webpage has LOT of lessons, but don’t worry, we won’t do them all at once. It is also worth noting at this point that Free Code Camp is not a perfect resource. It’s pretty good, but some of the instructions for the exercises could be written more clearly and can be very hard to follow. The strategy that I recommend is the read instructions carefully, if they make any sense at all (most will), give it a shot. Before you get REALLY frustrated click on the ‘hints’ link, where you will usually find a solution.
For your first day’s homework, please complete the following lessons:
- Comment Your JavaScript Code
- Declare JavaScript Variables
- Storing Values with the Assignment Operator
- Initializing Variables with the Assignment Operator
- Understanding Uninitialized Variables
- Understanding Case Sensitivity in Variables
- Add Two Numbers with JavaScript
- Subtract One Number from Another with JavaScript
- Multiply Two Numbers with JavaScript
- Divide One Number by Another with JavaScript
- Increment a Number with JavaScript
- Decrement a Number with JavaScript
- Create Decimal Numbers with JavaScript
- Multiply Two Decimals with JavaScript
- Divide One Decimal by Another with JavaScript
- Finding a Remainder in JavaScript
- Compound Assignment With Augmented Addition
- Compound Assignment With Augmented Subtraction
- Compound Assignment With Augmented Multiplication
- Compound Assignment With Augmented Division
- Declare String Variables
- Escaping Literal Quotes in Strings
- Quoting Strings with Single Quotes
- Escape Sequences in Strings
- Concatenating Strings with Plus Operator
- Concatenating Strings with the Plus Equals Operator
- Constructing Strings with Variables
- Appending Variables to Strings
- Find the Length of a String
- Use Bracket Notation to Find the First Character in a String
- Understand String ImmutabilityUse Bracket Notation to Find the Nth Character in a String
- Use Bracket Notation to Find the Last Character in a String
- Use Bracket Notation to Find the Nth-to-Last Character in a String
- Word Blanks