JavsScript #1 ~ A Taste of JavaScript

HJ's Coding Journey·2021년 5월 18일

[Learn] JavaScript

목록 보기

What exactly is JavaScript?

According to the official definition, JavaScript is a high-level, object-oriented, multi-paradigm, programming language. What does any of this mean though? Breaking this complex-looking defintion into parts will make things easier:

High-Level : Don't have to worry about complex process such as memory management.

Object-Oriented : Based on objects, for storing most kinds of data.

Multi-Paradigm : Can be used with different styles of programming.

Programming-Language : Instructing computers to process certain results.

The Role of JavaScript in Web Development

The three core technologies which make up web development are HTML, CSS, and JavaScript. They work together in order to create interactive and dynamic websidte or web applications we see normally through the internet.

HTML is responsible for making the overall physical content of the page such as texts, buttons, menu, etc. CSS, on the other hand, is responsible for the detailed presentation of the content through styling and layouts. Lastly, JavaScript is the actual controller that creates dynamic and interactive experiences on the web for actual users.

Coding Examples

JavaScript (also other programming languages) follows a very logical flow to produce results. As such, it is important to develop good logical thinking and problem solving skills in order to become an outstanding developer / programmer.

Here are some code examples that are typically seen in JavaScript:

let myName = Drew;
console.log(myName) // Drew
1+2+3+4+5 // 15
'I' + 'like' + 'to' + 'code!' // I like to code!
let js = 'amazing';
if (if js === 'amazing') {
  console.log(js) // amazing
Improving Everyday

0개의 댓글