Javascript in 1 min (Variables, Dictionary, If, Function, Loop)

·

1 min read

Javascript for browsers;

Every web server => HTML + CSS + Javascript

DevTools Console = same with <Script>

5 things to remember = Variables, Dictionary, Function, If, Loop

  1. Variables (console.log)

    List: to list things such as below:

So order is pretty important in variables. (0, 1, 2)

  1. 2. Dictionary => key : value

    fyi :

    1. 3. Function

      1. 4. If
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673431827128/b04ac107-2ecc-4229-be39-1b37d9f15ac7.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673431965363/95318615-3d55-4bab-b9d8-c3e5a7dec9ab.png align="center")

1. 5\. Loop (plays with the list)


![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673432079629/f34ff9a8-3cf1-4149-9a0d-e00b1e08beb5.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673432096677/26bd10a7-7956-4c19-afca-e62aaf4a5427.png align="center")

\[i\] keeps functioning till a\_list.length

a\_list.length = 4

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673443947781/baabb79d-6255-4175-a24a-8f89641935c3.png align="center")

{dictionaries} inside the \[list\]

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673444133853/6d6cda98-4f03-4e8c-8b3c-6ac08374a8e0.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1673444185961/cf08f73a-6344-4f58-b9e0-530ffa3744fb.png align="center")

then there comes the scores only.

Those names who have more than 70 will appear..