---
# System prepended metadata

title: Untitled

---

**Tinker #1 Get Started with JS**
1. **What is Javascript (JS)? **
- a coding language used in web development, user interaction, IOT devices and mobile applications.
- the code is quite dynamic as there is a vibrant community discussing its uses.
- JS is popular due to its applicability, widely adopted usage and easy-to-learn language.

Some interactive platforms to practice JS: P5 JS (programming library).
P5JS - "minimal approach" to writing code before translating to an idea.
-  a programming library allows one to explore tinkering with certain problem-solving tasks without having to execute one's own solution.
- JS can be used to build arts, interactive projects. 

***Java is NOT the same as Javascript** 
 Java is a programming language while JavaScript is a script. JS code is written in text; however, Java must be compiled.

***Codepen and P5 JS differences:**  The first allows users to apply any JS code whereas P5 JS one can only implement p5JS related code.

Below is an example of P5 JS code:
[key terms]
- ** **function**** a structure which contains other code within it that is written to conduct a certain task. It enables users to perform complicated tasks via their "defined function name."
- **console.log(input)** a built-in JS function that shows the value within the console.

![](https://i.imgur.com/5DiFzar.png)
* **P5 JS draw function**: anything within the function will get "repeatedly executed." This function is appropriate for drawing animations or interactive visuals.

Based on this code, a wide range of calculation is performed from basic to complex. In the console log, the results are shown in the respective order depending on the equation input in the parentheses. Since the computer is able to provide an accurate computational outcome, the length of the numbers can be virtually infinite.



```// this is an example /*
console.log(1+1);
console.log(2*3);
console.log (4*234);
console.log(3333444*56789444 - 1![]

```var bigNumber = 3333*56789; 
console.log(bigNumber);
console.log(bigNumber - 10);
console.log(bigNumber);
bigNumber = 3;
console.log(bigNumber);

