Javascript course — What is Javascript, where can I use it?
Part #1: How to search for information, where I can try Javascript.
JavaScript is a cross-platform, scripting language used to make web pages interactive. (What is javascript on MDN)
What is ECMAScript?
ECMAScript or ES is a standardized specification for a general purpose scripting language. JavaScript is a language that conforms to ECMAScript specification.
Where you can find information
Prefer JavaScript documentation on MDN (Mozilla developer network):
- Learn Web Development provides information for beginners and introduces basic concepts of programming and the Internet.
- JavaScript Guide (this guide) provides an overview of the JavaScript language and its objects.
- JavaScript Reference provides detailed reference material for JavaScript.
Bookmark JavaScript Reference on MDN in your browser. I highly recommend to not use W3school. There is even chrome extension to remove W3school from search results.
Run javascript in your browser
Console
- open console write
"Hello world".
Repl.it
- you can click on the green button to run your embedded javascript code bellow
- you can open https://repl.it website and create new
REPL: read => eval => print loop
- reading single user input => evaluates them => and then returns the result to the user
- The console is javascript REPL for browser developer tools
- Repl.it is a web platform providing REPL for various languages
Codesandbox
- more then a REPL, it will provide us full-featured editor to write React in the browser