Js is a programming language
Programming language: a series of instructions, with a fixed format and vocabulary, with strong logic and behavior.
Advanced languages: c++ Java pytho PHP c# javascript go language, etc
High-level languages need translators
Computers internally use binary zeros and ones to represent data
1bit can hold a 0 or 1 (minimum). 1B = 8b; Kilobytes (KB) 1KB = 1024B; Megabytes (MB) 1MB = 1024KB; Gigabytes (GB); Terabyte (TB)
The CPU executes the code in memory: disk — memory — CPU
Js History Brandon. Ache; Completed JS design in 10 days in 1995; Js is a scripting language that runs on the client side. Scripting languages need not be compiled, interpreted and executed line by line.
Browser executes JS rendering engine (kernel) JS engine (line by line interpretation in execution)
Js consists of ECMAscript syntax, which specifies the programming syntax and basic core knowledge of JS. Dom. page document object; BOM. Browser object model. Onclick =”alert(“)”); Inline js. single line comment CTRL +/; Multi-line comments Shift + Alt + A.