Open MadhuMNG opened 2 years ago
I have tried to do some of the exercises which were not completed. I have checked the console and as per me it looks good( felt really happy that I am understanding better than before). However I would like to know is there any repo if coaches have codes for all the exercises which I can compare with mine. It helps me to understand to follow the best practices.
I am more clear conceptually and practicing codes. below are some of the topics I have learnt well.
However I would like to know is there any repo if coaches have codes for all the exercises which I can compare with mine. It helps me to understand to follow the best practices.
We don't have a collection of all the solutions. You can share your code on Discord for code review though, I'll make a separate channel for that
I need to to practice unit testing code a lot and get more familiar with function programming.
This will take lots of time and practice, there's no rush. You'll have more time to practice in this module. In the next you'll take an even deeper look at tests and problem solving
Thanks Even. when I understand the logic , I will be able to remember the syntax and write the code(do exercise) .
- too many exercises to focus on.
you do not need to solve all, maybe a couple from each category
- 'for of array' is tough for me. I need to to practice,
you will get to practice this more during next week
- while doing exercises, I will not be able to think of which logic to write.
not sure I understand this.. so what are you concentrating on during the exercise?
Thanks Daniel. I must say that day by day getting better in JS. Exercises are really helpful.
So far by referring videos ,I am understanding concepts. I am more concentrating on understanding the concepts .
calling functions., util functions was new, lot of practices required.
I am going through codes, functions of 'numbers-group-projecton' html, JS files.
learnt new methods, Splice, filter.
these are tricky and many people struggle to understand them, so you can be happy and proud!!
So far good.
I have understood object
very well.
Since I had other hectic schedule, I could not much connect with team.
I am working on exercises and revising previous class topics.
I have understood
object
very well.
understanding is good on a theoretical level, now it is time to put it into practice by solving exercises and writing your own code :)
Yes agree.
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 };
.