Forwarded from Web Devs
#جاوا_اسکریپت
با استفاده از متد console.table
میتونید آرایهای آبجکت ها رو در کنسول به جدول تبدیل کنید.
@fullStackDevs
با استفاده از متد console.table
میتونید آرایهای آبجکت ها رو در کنسول به جدول تبدیل کنید.
@fullStackDevs
👍1
#Js
#javascript
#Trick
Object.keys, values, entries
These methods are generic, there is a common agreement to use them for data structures. If we ever create a data structure of our own, we should implement them too.
They are supported for:
Map
Set
Array
https://javascript.info/keys-values-entries
@fullStackDevs
#javascript
#Trick
Object.keys, values, entries
These methods are generic, there is a common agreement to use them for data structures. If we ever create a data structure of our own, we should implement them too.
They are supported for:
Map
Set
Array
Object.keys(obj) – returns an array of keys.
Object.values(obj) – returns an array of values.
Object.entries(obj) – returns an array of [key, value] pairs.
https://javascript.info/keys-values-entries
@fullStackDevs
👍1
#Js
#Function
JavaScript Functions 4 ways
1️⃣ Functions Declaration
A function created with a function declaration is a Function object and has all the properties, methods and behavior of Function objects.
2️⃣ Functions Expression
The function keyword can be used to define a function inside an expression.
The main difference between a function expression and a function declaration is the function name .
3️⃣ Arrow Function Expression
An arrow function expression is a compact alternative to a traditional function expression, but is limited and can't be used in all situations.
4️⃣ Concise Arrow Function Expression
Arrow functions can have either a "concise body" or the usual "block body".
In a concise body, only an expression is specified, which becomes the implicit return value. In a block body, you must use an explicit
@fullStackDevs
#Function
JavaScript Functions 4 ways
1️⃣ Functions Declaration
A function created with a function declaration is a Function object and has all the properties, methods and behavior of Function objects.
2️⃣ Functions Expression
The function keyword can be used to define a function inside an expression.
The main difference between a function expression and a function declaration is the function name .
3️⃣ Arrow Function Expression
An arrow function expression is a compact alternative to a traditional function expression, but is limited and can't be used in all situations.
4️⃣ Concise Arrow Function Expression
Arrow functions can have either a "concise body" or the usual "block body".
In a concise body, only an expression is specified, which becomes the implicit return value. In a block body, you must use an explicit
returnstatement.
@fullStackDevs
👍1
#css
:𝐢𝐬() 𝐒𝐞𝐥𝐞𝐜𝐭𝐨𝐫 𝐈𝐧 𝐂𝐬𝐬
https://developer.mozilla.org/en-US/docs/Web/CSS/:is
https://css-tricks.com/almanac/selectors/i/is/
Browsers support of ":is"
https://caniuse.com/css-matches-pseudo
@fullStackDevs
:𝐢𝐬() 𝐒𝐞𝐥𝐞𝐜𝐭𝐨𝐫 𝐈𝐧 𝐂𝐬𝐬
https://developer.mozilla.org/en-US/docs/Web/CSS/:is
https://css-tricks.com/almanac/selectors/i/is/
Browsers support of ":is"
https://caniuse.com/css-matches-pseudo
@fullStackDevs
👍1
Forwarded from Full Stack Amigo (HESAM KASHEFI)
YouTube
Indecies and Ranges in C#
What is Index and What is Range in C#?
How to slice arrays in C#
How to index from end of arrays?
Hot to substring with index and range in C#?
😀 QUESTIONS? ▶ COMMENT
🔴 SUBSCRIBE: https://bit.ly/39PJJ8Z
🔴 LIKE SHARE SUBSCRIBE
▶ SOCIAL MEDIA:
Instagram:…
How to slice arrays in C#
How to index from end of arrays?
Hot to substring with index and range in C#?
😀 QUESTIONS? ▶ COMMENT
🔴 SUBSCRIBE: https://bit.ly/39PJJ8Z
🔴 LIKE SHARE SUBSCRIBE
▶ SOCIAL MEDIA:
Instagram:…
👍1
#frontend #css #html #js
Here i gathered an awesome front-end roadmap in 2022 to start our journey🎯🔥
🔻Internet (Web)
• How internet works?
• Whats http protocol?
• How browsers work?
• DNS
• Hosting and domains
🔻HTML
• Tags
• SEO
• Metatags
• Forms and validations
• Convention and best practices
🔻CSS
• Selectors
• Box model
• Flexbox
• Grid
• Responsive Design (Media Query)
• Sass / less
🔻JavaScript
• Syntax and Basics
• Data types
• Operators
• Object
• Selectors
• Functions
• Arrays
• DOM
• API / Ajax (XHR)
• ES6
🔻Version Control System (Git)
• Basic usage of Git
• CLI
• Github
• Git Flow
🔻Package Managers
• NPM
• YARN
• Local vs Global
• Package JSON
🔻Framework / LIB
• Angular
• ReactJS
• VueJS
If i left something let me know on comments🤔
👉🏻 Follow for more Tips :
instagram.com/yashar_dev
@fullStackDevs
Here i gathered an awesome front-end roadmap in 2022 to start our journey🎯🔥
🔻Internet (Web)
• How internet works?
• Whats http protocol?
• How browsers work?
• DNS
• Hosting and domains
🔻HTML
• Tags
• SEO
• Metatags
• Forms and validations
• Convention and best practices
🔻CSS
• Selectors
• Box model
• Flexbox
• Grid
• Responsive Design (Media Query)
• Sass / less
🔻JavaScript
• Syntax and Basics
• Data types
• Operators
• Object
• Selectors
• Functions
• Arrays
• DOM
• API / Ajax (XHR)
• ES6
🔻Version Control System (Git)
• Basic usage of Git
• CLI
• Github
• Git Flow
🔻Package Managers
• NPM
• YARN
• Local vs Global
• Package JSON
🔻Framework / LIB
• Angular
• ReactJS
• VueJS
If i left something let me know on comments🤔
👉🏻 Follow for more Tips :
instagram.com/yashar_dev
@fullStackDevs
👍6
IMG_9978.JPG
1.8 MB
How to become an ASP .NET Core developer in 2022 🤷🏻♂️🎯
I made this post as a tip for everyone who asks me, "What should I learn next as an ASP .NET Core developer?"
which step you are right now ?🤷🏻♂️
@fullStackDevs
I made this post as a tip for everyone who asks me, "What should I learn next as an ASP .NET Core developer?"
which step you are right now ?🤷🏻♂️
@fullStackDevs
👍5🔥2
#csharp
#dotnet
#comparison
روش های بد مقایسه رشته ها در سی شارپ
تا به حال اکثرا از ToLowerیا ToUpper برای مقایسه رشته های غیر حساس به حروف بزرگ استفاده می کردیم .
اما این بهترین راه برای انجام آن نیست.
استفاده از string.Equals این مقایسه از سرعت عملکرد بهتری برخوردار است (در واقع به حروف کوچک یا بزرگ رشته ها علاقه ای نداریم).
همانطور که در تصویر می بینیم.
پس برای مقایسه دو رشته string بهتره از String.Equals استفاده کنیم
@fullStackDevs
#dotnet
#comparison
روش های بد مقایسه رشته ها در سی شارپ
تا به حال اکثرا از ToLowerیا ToUpper برای مقایسه رشته های غیر حساس به حروف بزرگ استفاده می کردیم .
اما این بهترین راه برای انجام آن نیست.
استفاده از string.Equals این مقایسه از سرعت عملکرد بهتری برخوردار است (در واقع به حروف کوچک یا بزرگ رشته ها علاقه ای نداریم).
همانطور که در تصویر می بینیم.
پس برای مقایسه دو رشته string بهتره از String.Equals استفاده کنیم
@fullStackDevs
👍11❤1
IMG_0165.JPG
2.2 MB
#csharp #visualstudio #csharp10 #aspdotnet #aspcore #dotnet
6 Amazing feature and improvement in C# 10:
📌 File-scoped namespace
📌 Record structs
📌 Constant interpolated strings
📌 Extended property patterns
📌 Global using directive
📌 Assignment and declaration in same deconstruction
❗️C# 10 is supported on .NET 6 .
@fullStackDevs
6 Amazing feature and improvement in C# 10:
📌 File-scoped namespace
📌 Record structs
📌 Constant interpolated strings
📌 Extended property patterns
📌 Global using directive
📌 Assignment and declaration in same deconstruction
❗️C# 10 is supported on .NET 6 .
@fullStackDevs
👍5
IMG_0232.JPG
1.5 MB
#html #css #frontend
Stop using so many divs! 🛑
🔸 why should we use these tags ?
• Easier to read
• Better for SEO
• More accessible
let me know on comments if it was useful 🙏🏻🌺
@fullStackDevs
Stop using so many divs! 🛑
🔸 why should we use these tags ?
• Easier to read
• Better for SEO
• More accessible
let me know on comments if it was useful 🙏🏻🌺
@fullStackDevs
👍6🔥2
IMG_0412.JPG
2 MB
👍6🔥2❤1