Learn JavaScript
99.1K subscribers
679 photos
16 videos
444 files
78 links
JavaScript Training Courses

💳 Paid ads by: https://telega.io/c/JavaScript_Trainings

🔰 Linkedin: @Linkedin_Learning
🧿 Udemy: @Zero_To_Mastery
📦 Python: @LearnPython3
🔅 Web Development: @Webdev_Trainings
Download Telegram
Media is too big
VIEW IN TELEGRAM
👩‍💻 Learn DOM Manipulation In 18 Minutes

DOM manipulation is tough. There are lots of methods and techniques you need to master and it is not obvious which methods are best for each scenario. In this video I cover the 14 most important DOM manipulation methods that you need to know.


🧠 Concepts Covered:

- Creating elements
- Adding elements
- Modifying data attributes
- Removing elements
Please open Telegram to view this post
VIEW IN TELEGRAM
👍48🔥128
Say no to console.log messages and unleash the power of using a debugger for debugging your JavaScript code

Learn the very basics of how to use a debugger in this post. Try it out in your browser console the next time you think of grabbing console.log!
🔥2919👍13
⌨️ Generating Relative Time in JavaScript

Displaying date or time in an appropriate format is a challenge in web development spanning decades. The solution for the same has never been this easier!


You may think why can't we implement this from scratch? But here are the challenges involved:

👉 Handling singular and plural (1 day, 2 days)

👉 Handling abbreviations (tomorrow, yesterday)

👉 And most important of all - handling localisation!

This Intl API that is baked into the browser will let you do all of the above without breaking a sweat. 😎

This API is supported in all modern browsers and does not require any plugins or libraries.

Note: The numeric: auto option is the one which provides the abbreviations 'yesterday', 'tomorrow' etc
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2315🏆5
⌨️ A simple introduction to regular expressions (regex) in JavaScript with examples 🚀
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍287🤩2
🔅 Event delegation in Javascript!!

Commonly used for handling clicks on dynamically added elements, managing events for a large number of similar elements efficiently, and simplifying event management in complex user interfaces.
👍2011