
Download the crash course files from the get up repository. Open the ninety-four page e-book and set up brackets with autosave to start section one basics of JavaScript.
Learn how to access the developers console and how to print to the console.
Learn about how to declare variables.
Declare three hobbies with var (coding, reading, hiking) and log a concatenated sentence to the console displaying 'My favorite hobbies are coding, reading and hiking'.
Explore arithmetic operators in JavaScript by using variables X, Y, and Z to perform addition, subtraction, multiplication, division, and modulus with console.log and practical examples.
Explore basic JavaScript by declaring variables with var and let to calculate a future age, log a sentence to the console, and prepare for conditional statements.
Explore conditional statements and if else blocks with thirst examples, true and false outcomes, and console.log messages to show three-equals comparisons in JavaScript.
Store players' scores in named variables, compute the average scores for each player, compare them with if-else to determine a winner or a tie, and log results to the console.
Explore JavaScript scoping by contrasting global and local scopes, showing how declared variables like greeting behave across functions and console logs, and why reference errors may occur.
Create a JavaScript function that takes weight and height, returns the BMI, then compute Tom and Adam's BMI and log the results to the console.
Create a BMI calculator with a function declaration calcBMI that takes weight and height and returns weight divided by height squared, then compute Tom's and Adam's BMI and console log.
Implement a dice function that returns a random number from one to six using Math.random and Math.ceil, then compare rolls to report which is greater or if they are equal.
Learn to access and replace elements in an array using zero indexed positions and the index of method, illustrated with groceries like bananas, apples, oranges, and watermelon.
Watch Saddam present the second solution, using the push method to fill tip amounts and total amounts arrays with values from the tip calculator function and the bills array indices.
Explore for loops in JavaScript, covering initialization, stopping conditions, and increments, and log values from one to ten (and ten to one) while avoiding infinite loops.
Convert a for loop to a while loop by initializing an iterator to one, setting a stopping condition, and incrementing the iterator. Log the value with each iteration.
Create a reverse loop from 20 down to 1, printing each number to the console and indicating whether it is even, as the final exercise of this section.
Learn how default parameters assign a predetermined value to a function argument, so a greeting avoids undefined and shows hello, stranger when no name is provided.
Learn through a practical debugging example how to use the console to spot syntax errors, undefined variables, and silent bugs, and understand condition checks in JavaScript.
Welcome to my course, JavaScript Crash Course!
Why Take This Course?
This course is designed to teach you the basics of JavaScript through practical exercises, challenging quizzes and coding challenges. You will be taught everything from how to declare variables to making functions and objects. Each section of the course will contain a series of lectures to help you learn, followed by quizzes and exercises to help supplement your learning.
Whether you are new to coding or you are an experienced coder, this course will teach you all you need to get started with the JavaScript programming language. In addition to this, I will provide you with a copy of my e-book, that explains each section of the course in detail and contains additional quiz questions to ensure you can get more practice.
Why Learn JavaScript?
JavaScript, along with HTML and CSS form the basis of the internet. While HTML and CSS are used to code the content and design of a web page, JavaScript allows the web page to become dynamic and interactive. JavaScript is a great programming language to learn for beginners, as it is versatile and can be used in several cases. Aside from making web pages dynamic, JavaScript is also frequently used in app and game development. If you would like to start a career in web development or if you just want to enter the world of programming and would like to learn the basics of JavaScript then this is the perfect course for you!