/js

Me doing my best to overcome my problems with JS.

Primary LanguageJavaScriptMIT LicenseMIT

Where to learn JS?

https://learnxinyminutes.com/docs/javascript/

Cheatsheet

https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/javascript.js

Current course

[2023] Brad Traversy - Modern JavaScript From The Beginning 2.0

What is Javascript

It's a high-level, interpreted programming language that can be used on the client side as well as the server-side with Node.js

What is JavaScript used for?

  • DOM (Document Object Model) Manipulation
  • Event Handling (respond to mouse click, hover, form submit, keyboard)
  • Asynchronous Requests (interact with backend servers or public APIs, make HTTP requests to fetch, submit data)
  • Animations and Effects (requestAnimationFrame, fading, moving, rotate, scale)
  • Data Manipulation (Sort, filter, etc using array methods like map, reduce, filter)
  • Storing Data (Cookies, LocalStorage, etc)
  • Single Page Application (like React, Vue, Angular)
  • Creating APIs & Web Services (create APIs Node.js, Deno, Express)

Why learn JavaScript?

  • Popularity: many job opportunities
  • Versatility (used for many different things, such as dynamic websites, APIs, mobile and desktop application)
  • Relatively easy to learn
  • Community: support, resources, tools

Other resource to learn

https://javascript.info/

Spread Operator

https://blog.stackademic.com/spread-operator-in-javascript-for-every-developer-c6e79ac032ac

Typescript

Random String

https://pilcrow.vercel.app/blog/random-values-typescript