Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Reading Material JavaScript Week 3

Agenda

These are the topics for week 3:

  1. Functions
  2. Scope
  3. Modern JS
  4. Continue with Your personal brand
  5. Testing code

Week goals

This week is the last week of explaining all the basic building blocks that JavaScript offers for you to work with. The last one is called functions, read all about them here. Functions bring along with them a concept called the scope that you may have encountered a bit last week but we want to explicitely explain now. Read about scope here.

These things will take the power of what you can do to another level, as it allows you to group a certain set of lines of code into a single 'action' to take. Making it reusable in other places as well helping you organise your code, which will help a lot when you start writing more and more code.

Now that you have learned all the basic blocks it is time to tell you about the different versions of JavaScript. JavaScript has been evolving over its lifetime and certain syntax has been added. Have a look in your study book at the topic of what is called 'Modern JS' here. Throughout the curriculum we will be expecting you to use the modern syntax as that is most likely what you will be programming in. You can skip the sections that are about Promises and async/await for now, we will get there in the Using API's module. There is also a section on the history of JavaScript in there, you do not need to know this but we recommend it if you have some time to spare as it is very interesting.

Lastly we want to introduce the first steps to testing code. Let's first have a look at what software testing is and why we do it here. The simplest form of testing is using assertions, have a look what that is here, we will introduce this more in your homework.

Also, don't forget about the personal brand repo if you didn't manage to complete it last week.

Finished?

Are you finished with going through the materials? Give yourself a pat on the back because you rock! It is time to combine everything you have learned and start practicing them vigorously. Have a look at the exercises here and try to make as many of them as you can. This week there will be homework to do and hand in, so don't forget to do that! If you haven't set up the homework repository yet, have a look at your class repo.