Lecture

What Are Programming Languages?

Unlike markup languages like HTML, which express the structure of data and content, and CSS, which defines the style of web pages, JavaScript is a programming language used to instruct computers to perform tasks.

Computers are complex digital devices that represent and process data using 0s and 1s, which means they cannot understand human languages like English.

Therefore, programming languages act as a bridge between human languages and computer languages, serving as a middle ground that both humans and computers can understand.

For example, the addNumbers function takes two parameters, a and b, and returns the sum of these two parameters.

We will delve deeper into functions later on!

Mission
0 / 1

What is a programming language?

A language used to describe the structure of data and content

A document that defines the style of a webpage

A language to instruct computers to perform tasks

A method computers use to represent data in 0s and 1s

Lecture

AI Tutor

Design

Upload

Notes

Favorites

Help

Code Editor

Run

Execution Result