Html Css js Frontend projects
9.86K subscribers
1.08K photos
138 videos
64 files
172 links
Advertisements Contact meπŸ‘‡πŸ»
@We_D5

Hello everyone you can learn interesting facts about coding in this channel πŸ’»

Perfluence
Download Telegram
Forwarded from Web design source code
πŸ”… CSS: Emmet for CSS
πŸ”° Alternatives to JavaScript’s if...else statement

1️⃣ Switch Statement
Finds the matching value of an expression and executes the code block associated to the matching value.

2️⃣ Ternary Operator
Checks a condition and executes the first expression if the condition is true. Otherwise it runs the second expression.

3️⃣ Jump / Dispatch Table
Stores value-function pairs in an object to quickly fetch and run a function based on a value (which is treated as an object key).

4️⃣ Dynamic Dispatch
This pattern involves selecting which polymorphic method to call based on an object’s type.
πŸ‘2
πŸ”° 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.
πŸ”° Anatomy of CSS
πŸ‘3
πŸ”° 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.
πŸ’‘ JavaScript is full of hidden Web API gems you probably aren’t using. From observing elements to copying content, this carousel breaks down underrated APIs that level up your frontend.
πŸ‘2