Introduction to JavaScript and Velo
Get started with JavaScript basics to use in your Wix sites.
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.
Introduction to JavaScript
Lesson 1 of 2
- 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 arithmetic operators, that allow us to per…
- 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
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory