Open minjupgeorge opened 2 years ago
Week 1
This week I have traveled to India and we are getting settled down, so honestly I was not able to complete the exercises of current week. I will try to complete as soon as possible.
I have understood functions very well (declaration,definition). Practiced functions with Arguments, parameters and return values.
This week I have traveled to India and we are getting settled down, so honestly I was not able to complete the exercises of current week. I will try to complete as soon as possible.
Happy travels! Let us know if we can help with a study/review plan.
@colevandersWands
Thanks alot for understanding. Class recordings are very helpful. So as of now I don't have any issues. but now am bit slow since I need some settling time here.
Now I have learning functions here
So far so good.
I understood Array methods (push,pop,shift..) and iterating over arrays.Still I have to complete Array exercises.
Instead of rushing exercises give some time to understand the concept clearly.
Continuing the study material
--
Instead of rushing exercises give some time to understand the concept clearly.
absolutely!!
Since I didn't attend the class last week , I was struggling a bit but timely response from @MMikhailova helped me. so no problem
I understood how functions working and how to incorporate javascript to html code .
If you a miss a class. its good to watch the video twice before you start the exercises. This week exercises are really interesting and getting more confidence.
Continuing the study material
--
- still it taking me some time to complete js code. Now am doing third question.
better to do it slowly but understanding it fully, then completing it but without a deep knowledge of it. it is a good approach! glad to hear that you have managed to catch up with the help of videos and Maria
This week so far so good.
I was able to complete the exercises (/lesson-plans/util-functions/1-primitives/exercises).
Coding daily helps to keep track of exercises and feels more confident.
Continuing the study lenses exercises.
--
Coding daily helps to keep track of exercises and feels more confident.
yes this is a nice little trick :) practicing every day is an essential part of this course, that helps you a lot!
Learning Objectives
Priorities: 🥚, 🐣, 🐥, 🐔 (click to learn more)
There is a lot to learn in this repository. If you can't master all the material at once, that's expected! Anything you don't master now will always be waiting for you to review when you need it. These 4 emoji's will help you prioritize your study time and to measure your progress: - 🥚: Understanding this material is required, it covers the base skills you'll need to move on. You do not need to finish all of them but should feel comfortable that you could with enough time. - 🐣: You have started all of these exercises and feel you could complete them all if you just had more time. It may not be easy for you but with effort you can make it through. - 🐥: You have studied the examples and started some exercises if you had time. You should have a big-picture understanding of these concepts/skills, but may not be confident completing the exercises. - 🐔: These concepts or skills are not necessary but are related to this module. If you are finished with 🥚, 🐣 and 🐥 you can use the 🐔 exercises to push yourself without getting distracted from the module's main objectives. ---
0. Asserting
let
vs.const
: You can explain the differences betweenlet
andconst
including: uninitialized declarations and reassignment. You can determine when a variable can be assigned withconst
in a program.===
and!==
operators compare strings, and can predict the result of any string comparison.console.log
: You can useconsole.log
to create program traces in the console, and to print other helpful info for developers.console.assert
: You can use theconsole.assert
for assertion testing, and can write a helpful message assertion message.1. Primitives and Operators
typeof
: You can predict thetypeof
operator's output for values from any of the 5 main primitive types.Boolean()
,String()
andNumber()
to convert between primitive types.&&
,||
,!
and? :
.&&
and||
.+
,!
and>
.2. Control Flow
if
/else
statements.while
loops.for-of
Strings: You can predict and trace simple programs that iterate through the characters of a string usingfor-of
.for
loops works by refactoring simplefor
loops intowhile
loops.break
.continue
.3. Functions
5. Unit Testing
describe
/it
/expect.toEqual
functions are defined by a testing library and made available as global variables in a testing environment. They are not part of JavaScript!file.__.js
. Sub-extensions are a convention for developers and development tools. They do not change how JavaScript inside the file works.6. ES Modules
?deps
lens to visualize the dependencies in a folder.'use strict'
!export const _ = () => {};
import { _ } from './path/to/file.js';
6. Using Functions
7. Arrays
const arr = ['items'];
.at()
and a positive or negative index.arr[4] = 'hello'
.Array.isArray(something)
const shallowCopy = [...arr];
8. Functional Array Methods
[].every
[].some
[].map
[].filter
[].find
[].reduce
9. Objects
const obj = { a: 1, b: 2 };
.