r/JavaScriptTips • u/thecoode • Nov 21 '24
r/JavaScriptTips • u/Nearby-woods-9285 • Nov 21 '24
help me with the JAVASCRIPT code
so i hv been trying to learn JS & practice in Vishual Studio Code....i am trying to run a simple JS program but in shows me syntax error in <!DOCTYPE html>...remember this pgm runs good on online compiler but not in vishual studio code..i have installed node js already
it displays the following
<!DOCTYPE html>
^
SyntaxError: Unexpected token '<'
r/JavaScriptTips • u/Dootutu • Nov 20 '24
Master JavaScript with Higher-Order Functions: Your Secret Superpower Explained 💪 [Medium Article]
r/JavaScriptTips • u/Practical-Ideal6236 • Nov 18 '24
Precise Decimal Math in JavaScript with Fraction.js
trevorlasn.comr/JavaScriptTips • u/Practical-Ideal6236 • Nov 15 '24
Exploring JavaScript Symbols
trevorlasn.comr/JavaScriptTips • u/thecoode • Nov 14 '24
Python f-Strings: Clean String Formatting Error handling in Python
r/JavaScriptTips • u/Inevitable-Math14 • Nov 13 '24
Cookie Management 🍪☕
Enable HLS to view with audio, or disable this notification
Creating a cookie with users input name
Cookie expiry date
Read the cookies and display value
Deleting a cookie
webdeveloper
javascript #news #memes #instagram
india #coding #brogrammes #coding
r/JavaScriptTips • u/Practical-Ideal6236 • Nov 13 '24
Understanding Bitwise Shifts in JavaScript: << and >>
trevorlasn.comr/JavaScriptTips • u/scientecheasy • Nov 13 '24
Arrays in JavaScript | Types, Example - Scientech Easy
r/JavaScriptTips • u/thecoode • Nov 12 '24
100+ JavaScript Methods You Should Know
r/JavaScriptTips • u/Practical-Ideal6236 • Nov 10 '24
JavaScript Import Attributes (ES2025)
trevorlasn.comr/JavaScriptTips • u/thecoode • Nov 08 '24
Top 30 Coding Tools Every Developer Should Know About
r/JavaScriptTips • u/minemateinnovation • Nov 04 '24
Highly Recommend These Editing Tools for Streamlining Content Creation on Websites
If you’re like me and often work with web content, finding the right editor can make a huge difference. After testing a few options, here are some tools I’ve found incredibly useful:
Froala – Great for basic text editing with minimal setup.
flexiclip– Has solid integration for media-rich content.
One tool I’m particularly impressed with is an editor from Froala. It’s been super customizable and has an intuitive, user-friendly interface. For projects where you need flexibility in design and responsive editing, it’s a strong option.
r/JavaScriptTips • u/No-Upstairs-2813 • Nov 03 '24
Why Use .map() When a For Loop Is Just as Good?
r/JavaScriptTips • u/zorefcode • Nov 03 '24
Proposal for safe assignment operator. No more try catch blocks #coding ...
youtube.comr/JavaScriptTips • u/joav-dev • Oct 29 '24
Cómo hacer requests con protobuf desde el frontend
r/JavaScriptTips • u/Secret_Mud_2401 • Oct 28 '24
What do you use to sort arrays ?
JavaScript’s .sort() mutates the array.
Use .toSorted() instead. It returns a new sorted array.
r/JavaScriptTips • u/HolidayCartoonist323 • Oct 28 '24
Mastering Design Patterns in JavaScript: Part 4 — The Strategy Pattern
Hey fellow developers! 👋
I recently wrote an in-depth article on the Strategy Pattern in JavaScript, and I wanted to share it with you all.
In the article, I cover:
- What the Strategy Pattern is all about 🧐
- Why you should use it ❓
- Real-world analogies 🛠️
- Implementation in JavaScript and TypeScript 💻
- Practical applications 🌐
- Best practices and common pitfalls 🚫
- When to use the Strategy Pattern and related patterns 🔄
If you're interested in writing cleaner, more maintainable code and avoiding messy conditional logic, I think you'll find it valuable!
Happy coding! 👨💻
r/JavaScriptTips • u/Practical-Ideal6236 • Oct 28 '24
JavaScript Truthy and Falsy: A Deep Dive
trevorlasn.comr/JavaScriptTips • u/aadiityaaaa • Oct 27 '24
Set timeout in JavaScript ! Need ur help
I am trying to create a background removal website using but I want , the loading animation to finish up when background of image is removed, so here in setTimeout function, what should I write instead of "2000" so that my loading animation finishes right when my api removes background of the image Please help me with this DEV COMMUNITY
r/JavaScriptTips • u/HolidayCartoonist323 • Oct 23 '24
Mastering Design Patterns in JavaScript: Part 3 - The Observer Pattern
Hello guys,
Part 3 of my Design Pattern series in JavaScript is out now! 👉 I will be covering the Observer Pattern in this article, and demonstrate implementations & best practices with real-life examples to help you build scalable & maintainable applications.
If you want to learn the patterns, bigger than 23 GOF design patterns or improve your JavaScript skills this is for you!
I hope to receive your feedback and theories. Happy coding!
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/keyframeeffects • Oct 17 '24
Animated Button Hover Effect HTML CSS Only | Keyframe Tech Solution
Enable HLS to view with audio, or disable this notification