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
🔰 8 Types of JS Functions
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
38👍12
🔰 encodeURI and decodeURI in JavaScript

It is important to learn about these functions to ensure URLs are properly formatted for use in HTTP requests. Also for safely transmitting URLs that contain special characters or spaces. and Working with APIs that require encoded URLs for queries. By using encodeURI() and decodeURI(), developers can ensure that their URIs are properly formatted and safely transmitted across different systems and platforms.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
19👍7
🔰 How to generate compact numbers in JavaScript.

The Intl (internationalization) API in browsers and Node JS provide a lot of useful utilities for working with language specific displays, such as the "compact" notation such as 10K, 5M, etc


Here is an example on how you can use it 🔥

This is useful for things like dashboards and social media profile pages.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
36👍9🔥4
🔰 DOM Manipulation

For DOM manipulation, we use JavaScript to access, modify, or create these elements, making our web pages come alive without the need to reload them.


In this post we are going to look at:
Create Elements
Insert an elements
Modifying Contents
Replacing Elements
Remove Elements
Updating Element Attributes

DOM manipulation empowers developers to create dynamic and interactive web experiences.

Mastering methods like inserting, removing, replacing elements, updating attributes enables seamless user interactions.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
38👍10🔥4
🔰 JavaScript Array Methods
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2214
There are a lot of applications that benefit from the screen not locking up automatically.

Say, a timer or stopwatch application, a guided meditation app, a live sports score app, navigation app, and much more!

For these applications on the web, browsers provide a simple but useful API called the Wake Lock API 🔒

This API, when invoked, prevents the screen from dimming or locking after a timeout period and makes it alive infinitely - till you release the lock.

⚠️ Do note that these API methods may throw errors, which is not captured here.
30👍1🔥1