What are Programming Languages?
Unlike markup languages (languages that represent the structure of data and content) such as HTML, and style sheets (documents that define the style of webpages) such as CSS, JavaScript is a programming language
that instructs a computer to perform tasks.
Since computers are complex digital devices that represent and process data in 0s and 1s, they cannot understand human languages like English, Spanish, or French.
Therefore, a programming language is an intermediary language that both humans and computers can understand.
The example addNumbers
function takes two parameters
, a and b, and returns the result of adding these two parameters.
We will explain functions in detail later!
Want to learn more?
Join CodeFriends Plus membership or enroll in a course to start your journey.