Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære First Javascript Console Application | Getting Started
Introduction to JavaScript
course content

Kursinnhold

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
3. Conditional Statements
4. Mastering Functions
5. Exploring Arrays
6. Discovering Loops

book
First Javascript Console Application

Summary

  • A statement in programming is a single instruction that performs a specific operation or action;

  • In JavaScript, every statement needs to be ended with a semicolon (;);

  • The console.log statement can be used for displaying some output in the console;

  • An example of a console.log statement is:

1
console.log("Hello World");
copy
question mark

What is the correct way of writing a console.log statement?

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 1

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

course content

Kursinnhold

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
3. Conditional Statements
4. Mastering Functions
5. Exploring Arrays
6. Discovering Loops

book
First Javascript Console Application

Summary

  • A statement in programming is a single instruction that performs a specific operation or action;

  • In JavaScript, every statement needs to be ended with a semicolon (;);

  • The console.log statement can be used for displaying some output in the console;

  • An example of a console.log statement is:

1
console.log("Hello World");
copy
question mark

What is the correct way of writing a console.log statement?

Select the correct answer

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 1
Vi beklager at noe gikk galt. Hva skjedde?
some-alt