Lessons by tag «javascript basics»
We found 16 lessons lessons about the «javascript basics» in the Hexlet catalog. These lessons on «javascript basics» are available in the following courses: Programming fundamentals.
Explore the idea of determinism, side effects, and purity in functions. Get to know the beauty of pure functions.
Understand the important distinction between expressions and statements in JavaScript, and how this knowledge will help you.
Learn about dividing code into meaningful and reusable modules.
Recursion is great, but the basic recursion process isn't especially efficient. Learn about an alternative way to compute recursively.
Learn some arithmetic shortcuts to quickly change the values of variables, and get to know the for loop — another way to create repeating code.
Understand how errors arise in computer programs, how to recognize them, and how to fix them.
Learn about typing in JavaScript, and understand the difference between dynamic and static typing and weak and strong typing.
Understand how and why isolated environments are created in JS, what scoping is, and just how cool are closures?
Learn about variables and a way of repeating code with loops. Understand the important distinction between declarative and imperative programming.
Learn about basic math in JavaScript, and work with numbers and constants to calculate the total energy of your body using Einstein's famous formula.
Learn about conditions and boolean algebra, the mechanism that allows programs to do one thing or another based on information given to them.
Write your very first program in JavaScript and get to know Hexlet's virtual computer, which is what you'll be working in during the course.
Let's explore the idea of programming languages themselves and figure out what language should you start with.
Learn about functions — the building blocks of programs, and how to create and run functions.
Wrap your head around one very powerful and extremely important concept in programming — recursion.
We'll ask and try to answer some simple but important questions: What is a computer anyway? Is it smart? Do computers speak programming languages?