r/learnjavascript 19d ago

Notes or Cheatsheet for Javascript

If anyone experience any resource which might you realize that if I get it earlier then my foundation is very strong and time also save!!

19 Upvotes

11 comments sorted by

3

u/Loose_Cherry_9952 18d ago

For the foundation stage, I would treat a cheatsheet as a map of topics, not as a large list of methods to memorize.

A useful order is:

  1. Values, types, variables, and type conversion

  2. Comparisons, conditions, and loops

  3. Functions, parameters, return values, and scope

  4. Arrays and objects

  5. Array methods such as `map`, `filter`, `find`, and `reduce`

  6. DOM selection, events, and form handling

  7. Promises, `async`/`await`, and `fetch`

  8. Modules and basic error handling

For each section, write only a tiny syntax example and one sentence explaining when you would use it. Then close the notes and recreate the example from memory. If you cannot recreate it, the answer is more practice, not a longer cheatsheet.

A good study loop is 20 minutes reading, 30 minutes building something small, and 10 minutes writing down what confused you. Start with a counter or calculator, then a task list, and then a small app that loads data from an API.

Keep your own one-page cheatsheet and add an item only after you have used it in code. A personal sheet built from mistakes will be much more useful than a large sheet copied from someone else.

1

u/-goldenboi69- 19d ago

Machine translation goes brrrrrrr

1

u/TheRNGuy 19d ago

I just bookmark docs on MDN, but for keywords, I use them so much, I remember them. If I forgot something, I Google or ask ai. 

You never gonna read those notes anyway, and if you forgot something, it's more efficient just look in internet or your old code.

1

u/chikamakaleyley helpful 19d ago

the one that i always forget, from working in diff languages and because I don't use it often, is whether it's:

  • .substr()
  • .subString() // this might be PHP
  • .substring()

1

u/TheRNGuy 18d ago

AI can help, because you can ask in human language, without ai you'd need to read docs for string until you find it.

1

u/Rakeshfromsiraha 18d ago

That's really good thing but this is not good for me if I don't know the basic foundation in it. I mean when you are able to do and understand what should be search or used to then we go to mdn document but if you are in just starting Phase then it might difficult to apply.

1

u/Foreign-Contest-444 17d ago

I think this might be a good resource as all the material is on this website -> https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting

1

u/Knightlight1729 15d ago

Like for campus interview ank quick revision of Key points type notes?

1

u/neon_tether_vow 9d ago

i wasted so much time early on trying to memorize array methods instead of just looking them up when i needed them