HYF-Class20 / home

Home repository for HYF Class 20
MIT License
0 stars 2 forks source link

Osei-b4: Welcome-to-JS: 3 weeks #136

Open Osei-b4 opened 1 year ago

Osei-b4 commented 1 year ago

my fork of module repository

Learning Objectives

1. What is Programming

What is a program? What is a programming language? How do programs and people fit together?

Go in depth on JavaScript you need to know for writing interactive text-based programs in the browser. Along the way you will learn how each language feature works in small programs.

3. Understanding Programs

Learn how to understand a larger programs by finding connections between the details and the big picture. By the end of this chapter you will know how to read a new program and do a simple code review.

4. Developing Programs

Learn to modify and write larger programs in JavaScript. You'll cover many of the hidden skills necessary to develop quality software and to work collaboratively on a code base.

I Need Help With:

understanding more about - JS

What went well?

Understanding the fundamental of JS

What went less well?

trying to understand what tracing table and console.log

Lessons Learned

Made a fork from the master to my github repository

Sunday Prep Work

The next advanture in JS inside-js

Week 2

I Need Help With:

In loop -while and to understand it better

What went well?

working with study lenses and creating a fork for my repo

What went less well?

Trying to define the difference between null and the boolean

Lessons Learned

Made a fork from the master to my github repository

Sunday Prep Work

The next advanture inside-js

Week 3

I Need Help With:

I need help with function

What went well?

working with study lenses and creating a fork for my repo and reading code and debugging

What went less well?

Trying to understand how the loop-for works in a different section in different areas

Lessons Learned

How to make a fork from the master to my GitHub repository and how to Review a code, Function Design`

Sunday Prep Work

The next advanture : Inside JS

samirm00 commented 1 year ago

@Osei-b4 what problem do you have with console.log( ) and trace table?

Osei-b4 commented 1 year ago

I am having a problem understanding the way it works in the console table

samirm00 commented 1 year ago

To be honest, I didn't understand your question, but the table helps you to trace variables and after you are done tracing your variable, you can check your work with what is in the console after clicking the trace button. There is also a video explaining the trace table in your repo. image

samirm00 commented 1 year ago

@Osei-b4 the difference between Boolean and null? a boolean: can have only two values true or false null: is a value that represents no value.


// While loop

let i = 0
while ( i < 5 ) {
    // Do something
    i++;
}

// We use it when we want to repeat the same code again and again 
// until the condition becomes false and then the loop will break.