Before starting this week, be sure to review the solutions for last weeks coursework
Make sure you work out what you don't understand and spend some time considering how the code works.
In each of the folders you'll find a
solutions.md file that will explain more of the solution to you. You should read each of them.
Note: This is a private repository. Please speak to your Teacher, Buddy or Class Coordinator to get access. You should ask them to invite your whole class.
If you haven't already, you should complete all of these lessons on FreeCodeCamp - https://www.freecodecamp.org/learn
- Understanding Boolean Values
- Use Conditional Logic with If Statements
- Comparison with the Equality Operator
- Comparison with the Strict Equality Operator
- Practice comparing different values
- Comparison with the Inequality Operator
- Comparison with the Strict Inequality Operator
- Comparison with the Greater Than Operator
- Comparison with the Greater Than Or Equal To Operator
- Comparison with the Less Than Operator
- Comparison with the Less Than Or Equal To Operator
- Comparisons with the Logical And Operator
- Comparisons with the Logical Or Operator
- Introducing Else Statements
- Introducing Else If Statements
- Logical Order in If Else Statements
- Chaining If Else Statements
- Use Bracket Notation to Find the First Character in a String
- Understand String Immutability
- Use 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
- Nest one Array within Another Array
- Access Array Data with Indexes
- Modify Array Data With Indexes
- Access Multi-Dimensional Arrays With Indexes
- Manipulate Arrays With push()
- Manipulate Arrays With pop()
- Manipulate Arrays With shift()
- Manipulate Arrays With unshift()
- Shopping List
- Passing Values to Functions with Arguments
- Global Scope and Functions
- Local Scope and Functions
- Global vs. Local Scope in Functions
- Return a Value from a Function with Return
- Understanding Undefined Value returned from a Function
- Assignment with a Returned Value
- Stand in Line
For this step, open the "Exercises" folder and complete all of the challenges.
Before you start, make sure you fork the repository to your Github account.
Next, in the same repository complete all of the exercises in the "Mandatory" folder.
To challenge yourself even further, you can get ahead for next week's class by reading some of the below documentation:
- More on the node REPL: https://hackernoon.com/know-node-repl-better-dbd15bca0af6
- What are algorithms: https://www.khanacademy.org/computing/computer-science/algorithms/intro-to-algorithms/v/what-are-algorithms
This is the same as last week - getting experience in this vital skill will help you a lot as you move through the course.
- View the open Pull Requests here
- Find two pull requests from people in your class that have no, or few, comments on them
- Leave comments on the two pull requests with improvements or suggestions
- Leave a comment saying that you have reviewed it and a nice comment about something you liked (always remember to be nice!)
Make sure you mark at least two other pull requests. It's important that you see a variety of different answers!
Remember, you should use the Code Style Guide to help you
Every week you need to complete at least three kata. Spend at least 20 minutes, three times a week, on your kata workout.
Find the collection for JS-1 Week 2 on the CodeYourFuture account: https://www.codewars.com/users/CodeYourFuture/authored_collections
Have some extra time before our next class? Fill it with these harder challenges to help you stretch your abilities!
Alert: Some of these challenges might include concepts that we haven't taught you yet. You should us Google to try to learn how to solve them.