Scribe
Scribe

Ti piace? Rendi Scribe ancora migliore lasciando una recensione

Ottieni l'estensione Chrome

Sfoglia

  • Video Popolari
  • Video Recenti
  • Tutti i Canali

Strumenti Gratuiti

  • Scaricatore di Sottotitoli Video
  • Generatore di Timestamp Video
  • Riassuntore di Video
  • Contatore di Parole Video
  • Analizzatore di Titoli Video
  • Ricerca Trascrizioni Video
  • Analisi Video
  • Creatore di Capitoli Video
  • Generatore di Quiz Video
  • Chat con Video

Prodotto

  • Prezzi
  • Blog
  • Ottieni l'estensione Chrome

Developers

  • Transcript API
  • API Documentation

Legale

  • Termini
  • Privacy
  • Supporto
  • Mappa del sito

Copyright © 2026. Realizzato con ♥ da Scribe

— Se questo ha reso la tua vita più facile (o almeno un po' meno caotica), lascia una recensione! Promettiamo che ci renderà felici. 😊

Related Videos

JavaScript - Syntax - W3Schools.com

Video thumbnail
4.06k500 Parole2m readGrade 5
Condividi
Channel
w3schools.com
Hey everyone! Today we’re checking out JavaScript Syntax. The grammar and rules JavaScript uses to work its magic!
Don’t worry, I’ll keep it simple. Let’s get started! First up, variables!
Variables store data, kinda like labeled boxes where you keep stuff. This is how we make variables: We could use "var" or "let" to make them. But, think of "var" as the old-school way of creating variables, and "let" as the modern way.
So lets stick with "let". Then, we assign values like this: x = 5, and y = 6. And z?
Well, that’s just x + y or … 11! Now let’s talk more about values. Fixed values, or values that you provide in the script, are called Literals in JavaScript.
There are different types of Literals for different data types, but lets look at 2 for now. Numbers and Strings. Numbers don’t need quotes, but strings, which are just text go in single or double quotes.
Next up, operators! Arithmetic operators do math: like adding, subtracting, and multiplying. Here, 5 + 6 adds up to 11, and then multiplies by 10.
That’s 110! Math is easy in JavaScript! Now: You may also have noticed a = operator in the previous example.
This is an assignment operator. It assign values to variables. In this case, it assigns our variable x the value of the calculation.
110! An expression is a combination of values, variables, and operators that gets evaluated. Here are two expressions: So, 5 * 10 gets evaluated to "50", and "John" + " " + "Doe" creates "John Doe".
See? Strings can add up too! Comments let you write notes in your code.
JavaScript ignores comments, so you can explain what your code does! Use // for single-line comments, /* */ for multi-line notes. Super helpful for you or other people in the future who are trying to read your code and figure out what each part does!
How do you name your variables? JavaScript names, which are called identifiers, follow some rules: Start with a letter, $, or _ You also can't use JavaScript Keywords. Keywords are used to identify actions to be performed, like we've used "var" and "let" in the examples.
So basically: No numbers at the start, no keywords. And names are case-sensitive! See?
lastName with uppercase N and lastname with lowercase n are two totally different variables. Always watch your cases! Speaking of Cases, lets look at naming conventions!
JavaScript developers love camel case where names start lowercase, but each word after starts with an uppercase letter. Other naming conventions exist, like first_name or FirstName with uppercase F and N, but stick to camel case for JavaScript! Awesome!
Now you know the basics of JavaScript Syntax: variables, literals, operators, and more. Thanks for watching! Like and subscribe to get notified about our latest videos!
For more coding tips and tricks, keep it locked right here on W3Schools. com! Don't forget to try out what you've learned in our interactive editor.
Happy coding!
Video correlati
JavaScript Tutorial For Beginners #6 - Basic JavaScript Syntax & Rules
7:50
JavaScript Tutorial For Beginners #6 - Bas...
Net Ninja
196,118 views
How much JavaScript is needed to learn React?
10:11
How much JavaScript is needed to learn React?
CodeWithHarry
668,355 views
All JavaScript Syntax in 53 Minutes – Tutorial
53:23
All JavaScript Syntax in 53 Minutes – Tuto...
Beau Carnes
22,934 views
JavaScript - Variables - W3Schools.com
3:39
JavaScript - Variables - W3Schools.com
w3schools.com
1,647 views
JavaScript in 1 Hour using W3Schools Website | W3Schools JavaScript Tutorial
1:00:53
JavaScript in 1 Hour using W3Schools Websi...
Learn with W3Schools
16,333 views
JavaScript Programming - Full Course
7:44:20
JavaScript Programming - Full Course
freeCodeCamp.org
3,674,900 views
Data Manipulation in SQL   Full Course
48:07
Data Manipulation in SQL Full Course
Code Path
481 views
Transformers (how LLMs work) explained visually | DL5
27:14
Transformers (how LLMs work) explained vis...
3Blue1Brown
4,776,857 views
JavaScript Full Course for free 🌐 (2024)
12:00:00
JavaScript Full Course for free 🌐 (2024)
Bro Code
2,866,031 views
10 Important Python Concepts In 20 Minutes
18:49
10 Important Python Concepts In 20 Minutes
Indently
502,240 views
JavaScript Crash Course 2021 - Master JavaScript in One Video!
2:08:59
JavaScript Crash Course 2021 - Master Java...
JavaScript Mastery
310,324 views
JavaScript - Comments - W3Schools.com
2:14
JavaScript - Comments - W3Schools.com
w3schools.com
1,838 views
JavaScript Tutorial for Beginners [JS Crash Course 2024]
1:37:14
JavaScript Tutorial for Beginners [JS Cras...
TechWorld with Nana
283,996 views
Python Full Course for Beginners
6:14:07
Python Full Course for Beginners
Programming with Mosh
43,069,782 views
How I Would Learn Javascript FAST in 2023 (from zero)
8:09
How I Would Learn Javascript FAST in 2023 ...
Internet Made Coder
342,902 views
JavaScript Tutorial Full Course - Beginner to Pro
22:15:57
JavaScript Tutorial Full Course - Beginner...
SuperSimpleDev
3,702,388 views
7 Design Patterns EVERY Developer Should Know
23:09
7 Design Patterns EVERY Developer Should Know
ForrestKnight
322,844 views
JavaScript - Let Keyword - W3Schools.com
3:15
JavaScript - Let Keyword - W3Schools.com
w3schools.com
928 views
Learn JavaScript - Full Course for Beginners
3:26:43
Learn JavaScript - Full Course for Beginners
freeCodeCamp.org
19,303,367 views