Introduction
In this course, you will learn about JavaScript data types, built-in methods, and variables.
StartKey Concepts
Review core concepts you need to learn to master this subject
console.log()
console.log()
console.log('Hi there!');
// Prints: Hi there!
The console.log()
method is used to log or print messages to the console. It can also be used to print objects and other info.
- 1Last year, millions of learners from our community started with JavaScript. Why? JavaScript is primarily known as the language of most modern web browsers, and its early quirks gave it a bit of a b…
- 4Data types are the classifications we give to the different kinds of data that we use in programming. In JavaScript, there are seven fundamental data types: - Number: Any number, including nu…
- 5Basic arithmetic often comes in handy when programming. An operator is a character that performs a task in our code. JavaScript has several built-in in arithmetic operators, that allow us to …
- 6Operators aren’t just for numbers! When a + operator is used on two strings, it appends the right string to the left string: console.log(‘hi’ + ‘ya’); // Prints ‘hiya’ console.log(‘wo’ + ‘ah’); /…
- 7When you introduce a new piece of data into a JavaScript program, the browser saves it as an instance of the data type. Every string instance has a property called length that stores the number of…
- 9In addition to console, there are other objects built into JavaScript . Down the line, you’ll build your own objects, but for now these “built-in” objects are full of useful functionality. For e…
What you'll create
Portfolio projects that showcase your new skills
Kelvin Weather
It's time to build fluency in JavaScript fundamentals. In this next Pro Project, we're going to practice variables and printing to the console in JavaScript so you can hone your skills and feel confident taking them to the real world. Why? You've got to master the basics. Get comfortable with these fundamentals. What's next? A mad scientist, temperature conversion, more JavaScript. You got this!
Dog Years
It's time to build fluency in JavaScript fundamentals. In this next Pro Project, we're going to practice variables and strings in JavaScript so you can hone your skills and feel confident taking them to the real world. Why? These concepts will help you use your data to output information to your users. What's next? Dog ages, interpolation, more JavaScript. You got this!
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory