r/learnprogramming • u/TheIceCreamBoyy • Nov 02 '26
how to learn JavaScript? Exam on friday
Our ”web programming” Uni course started 2 weeks ago and we already have our first exam on friday. First course was about Python, so the syntax is quite familiar, but still weird and there’s so many new things like ”$ { } ;” and ofcourse the syntax itself.
How could I learn the basics in… 4 days? The exam will be about theory (multiple choice questions) and then a few function coding tasks in the end.
0
Upvotes
4
u/StewedAngelSkins Nov 02 '26
try asking the professor who you are literally paying to teach you. you're spending all this time and money on a university education and yet for some reason you're expecting to get better answers on reddit?
4
u/karanpargal Nov 02 '26
Stick to the two weeks of lecture material for Friday. For multiple choice, predict lecture snippets’ output, run them, and work out why any predictions were wrong. For coding, rewrite Python exercises in JavaScript without solutions, using concepts covered in class. Pay attention to equality and type conversion, where Python habits can mislead you.
${expression}inserts a value into a backtick-delimited string, called a template literal.2
u/RajjSinghh Nov 02 '26
Try writing as much Javascript as you can and hope some of it sticks
2
u/political_noodle Nov 02 '26
The ancients (like me) would teach ourselves by reading something like this: https://developer.mozilla.org/en-US/docs/Web/JavaScript
If you stick with web programming, mdn is the most consistently solid resource for all things JavaScript that I've ever seen.
Go forth and cram!
1
u/Available_Safe1818 Nov 02 '26
google for javascript cheat sheets
1
u/Mediocre-Pumpkin6522 Nov 03 '26
So the exam will be on material that wasn't covered in the last two weeks?
1
u/jacksonanna373 29d ago
You're not learning JavaScript in four days; you're learning the slice your exam can cover. Rebuild every lecture example from memory, then drill the weird bits: ===, truthiness, and `${...}` inside backticks.
1
u/chuk_developa 2d ago
This tool https://lopacamp.com/paths/javascript will set you up really fast.
0
u/Pleasant-Swordfish24 Nov 04 '26
Use the documentations instead of ai. Learn specific topics instead of learning all of them, while you cant explain single one. After reading documentations use any ai and give it prompt to test you. Do it 2-3 times and you are ready. (i did same)
0
u/[deleted] Nov 02 '26
[deleted] — view deleted comment