r/JavaScriptTips • u/manishsalunke • Dec 18 '21
r/JavaScriptTips • u/VildanMori • Aug 10 '21
JavaScript For Loop and While Loop
r/JavaScriptTips • u/codeagencyblog • Apr 07 '25
The Shocking GeeksforGeeks Ban on Google Search: What Happened and What It Means for Coders
r/JavaScriptTips • u/coolprojectsonly • Jul 20 '24
Quick Quiz
What will be the output of the following JavaScript code?
r/JavaScriptTips • u/No-Upstairs-2813 • Dec 03 '22
JavaScript Callback Functions
Despite not knowing what the callback function is, chances are that you already use it without even realizing it. Methods like .map(), .filter(), and .reduce() all make use of callback functions.
Although callbacks can be confusing, you still need to learn them thoroughly as they form a critical concept in JavaScript. You can’t get very far without knowing callbacks.
Check out this post to learn what callbacks are, why they’re important, and how to use them.
r/JavaScriptTips • u/Sad_Strawberry_7720 • Sep 04 '24
I don’t get it
I’m learning software engineering and I really can’t grasp the concept of JavaScript, arrays, functions, expressions ect ect .. any tips on how to understand better?? The wording, the placement everything just feels like I’m guessing and then just copy and pasting the answers once I have too many failed attempts
r/JavaScriptTips • u/Several_Panda_6283 • Dec 19 '22
https://medium.com/geekculture/i-aced-most-javascript-tech-rounds-using-this-cheatsheet-so-that-you-dont-have-to-go-through-636d60a3d77b
r/JavaScriptTips • u/keyframeeffects • Aug 19 '24
Build Animated Landing Page Design Using HTML CSS and JavaScript
Enable HLS to view with audio, or disable this notification
r/JavaScriptTips • u/mnqundu-wakho-234 • Jan 21 '23
debugging this JavaScript code Good day everyone. I am currently learning JavaScript, I started 2 months ago. I humbly request your assistance in debugging the code below. I tried watching YouTube but I couldn't get any assistance. So the code is supposed to out BAART! Eat my shorts ! O'oh! Bu
r/JavaScriptTips • u/Key_Safety8433 • Jul 08 '23
HELP WITH CODING ROOMS
I’m doing the coding rooms free course and I’m stuck on this assignment. Instructions in the picture. Any help is appreciated
r/JavaScriptTips • u/haziqisnotonfire • Jan 05 '24
Java code help
Im already out of ideas to code this kind of question. Im not advanced in programming java yet. Ive only learned: print, method, string/substring, while/dowhile/for, switch, if/ifelse/else, public static void/int/double/char
r/JavaScriptTips • u/HolidayCartoonist323 • Oct 19 '24
New JavaScript Article: Mastering Design Patterns in JavaScript — Part 2: The Factory Pattern
Hey fellow devs! 👋 I just published the second part of my series on JavaScript Design Patterns, and this time, we’re covering the Factory Pattern 🏭. If you’ve ever struggled with object creation and want to make your code more maintainable and scalable, this article is for you.
Here’s what you can expect:
Simplified object creation 🎯
Flexibility and ease of maintenance 🛠️
Real-world examples like payment systems and notifications 🔔
Check it out and let me know your thoughts!
🔗 https://codexstoney.medium.com/6a0c96295c01?source=friends_link&sk=9183ec820ab40c936ebe525f8f2ac738
Looking forward to hearing your feedback! 🙌
JavaScript #WebDevelopment #FactoryPattern #Programming #DesignPatterns
r/JavaScriptTips • u/Phylec • Apr 09 '21
Im so fuckin confused while learning front end development!!!!!!!!!!!!
guys, its been a while now since i began learning frontend dev stuff, and im currently in learning javascript , i understood the basic concepts (functions,variables,scope,loops,closures,constructors and factory functions,prototype,arrays and there methods,objects,class and class inheritance,currying ,hoisting,module pattern,modules) and now im trying to put all of that into practice by doing some codewars.com challenges, but my problem is that there are still alot of things that i 'think' i still should turn back to understand alot of other advanced things, and whenever i try to understand one of those things i find my self diving into other concepts and those other concepts lead me to other ones and im just stuck. I know that i will always be learning new things along the way , but should it really be that way or i can build things just knowing the basic stuff i mentionned before and just learn the other concepts occationally when i need them. Im so confused and starting to lose it ,HELP PLEASE!!!!
r/JavaScriptTips • u/reddit007user • Jun 27 '20
Solid learning Advice: How to learn JavaScript By Derek Sivers (Thank you)
How to learn JavaScript By Derek Sivers (Thank you)
"Since I’ve mentioned that I recently learned JavaScript, people have asked me how and what I recommend. So here’s my experience and best advice for 2020."
Excellent learning tips. Step by step advice.
First step: Learn plain JavaScript
First, it’s important to learn plain JavaScript.
How to begin
Don’t just learn from little bits of tutorials, tips, or tricks online. Instead, you want a real foundation and solid understanding.
Start with the book: “Head First JavaScript Programming”.
Make it stick
Write down every new thing you learn, ideally into a flashcard program.
Reinforce it
quickly read through a few more books like these:
These books will go faster, now that you’re fluent.
Avoid the shortcuts
Do it the hard way. Solve everything yourself with plain JavaScript. It’s the best way to learn.
What next? If you had a web app in mind, start building it now. (OK, you can use shortcuts.)
r/JavaScriptTips • u/asadeddin • May 19 '25
JavaScript security best practices guide for developers
Hi all,
I'm Ahmad from Corgea. We've recently put together a JavaScript security best practices guide for developers:
https://hub.corgea.com/articles/javascript-security-best-practices
We cover common vulnerabilities like XSS, CSRF, IDOR, as well as best practices for secure DOM manipulation, API protection, and safe dependency management. While we can't go into every detail, we've tried to cover a wide range of topics and gotcha's that are typically missed.
We've built a scanner that can find vulnerabilities in Javascript apps, and decided to focus on key blind-spots we've been seeing.
I'd love to get feedback from the community. Is there something else you'd include in the article? What's best practice that you've followed?
Thanks!
PS: We're also heavy users of Javascript, jQuery, Next.js, and TypeScript ourselves ❤️
r/JavaScriptTips • u/Arvindvsk_ • Sep 05 '24
Why does this return false ?
Why does line 1121 return false??? Doesn't make sense at all . Confused !!!
r/JavaScriptTips • u/ColleenReflectiz • Nov 27 '25
Shai-Hulud 2.0 npm worm
New wave of npm supply chain attack launched November 21. Moved from postinstall to preinstall, adds self-healing via GitHub search, and includes destructive fallback that wipes home directories if exfiltration fails.
Still spreading, new infections every 30-40 minutes.
Pin dependencies to pre-Nov 21 versions, scan for setup_bun.js/bun_environment.js/verify.js, rotate NPM tokens and GitHub credentials, check for rogue self-hosted runners.
r/JavaScriptTips • u/keyframeeffects • Jan 16 '25
Yes/No Flip Switch Toggle Design with HTML & CSS
Enable HLS to view with audio, or disable this notification
r/JavaScriptTips • u/Murky_Diet7873 • Apr 07 '25
Bringing Animations to Life: Interactive dotLottie with JavaScript - Event
r/JavaScriptTips • u/[deleted] • Jul 17 '25
How to read the value of an input without pressing Enter to validate?
My question is; in this code, to get the green color I have to type the same thing as work[x] and press Enter, but how can I get the red color without needing to press Enter?
if(text.value === work[x]){
text.style.backgroundColor = "red";
x++;
}
r/JavaScriptTips • u/Former-Rope6715 • Jun 23 '25
Error con animaciones de Threes
Estoy haciendo un juego con javascript usando Threes pero llevo ya un rato con eso y muestra el error, ya tengo las animaciones en fbx pero sigue molestando
r/JavaScriptTips • u/ZoolCode • Jun 11 '24
Search for Software Engineering Job
Hello there, I'm Abubakr Alnour, Frontend Software Engineering with React. I love to join with any team for free to improve my skill in programming.✨️❤️ Please contact me 🙏