Sourav Mandal Profile picture
Mar 18 11 tweets 3 min read
⬕ 9 JavaScript Function

❒ Every JavaScript developer should know

A Thread 🧵↓
➊ function statement

⇥ when we create a new function with FUNCTION keyword, we all it function statement.

⇥ example:
➋ function expression

⇥ creating and assigning a function to a variable is known as function expression.

⇥ example:
➌ function declaration

⇥ creating a new function is known as function declaration. we can declare a function in both way, function expression

example:
➍ function invocation

⇥ A defined function can be invoked with () at the end of function name. in the below code snippet, at line no.5, we're invoking/calling printUserName function.

⇥ example:
➎ Anonymous function

⇥ A javascript function without name is called as anonymous function. we can use these function where we using function as value or callback.

⇥ example:
➏ named function expression
➐ first class function

⇥ the ability of function
*to be used as values,
*can be passed as an argument to another function and
*can be returned from function
➑ arrow function

⇥ also known as fat arrow function
⇥ syntax:
⇥ doesn't have its own context
⇥ this inside arrow function will refer to parent's context
➒ function parameters and arguments

⬕ parameters:

⇥ when we all the function with some values, then those values is known as parameter of the function.

⬕ arguments:

⇥ passed parameters to a function is are argument for the function.
That's all for now.

If you liked this thread, make sure to:

1. Follow me @souravWD

2. Retweet the first tweet

Thank you so much for getting to the end of the thread 💙 ! Let me know what you think below 😊 .

Cheers!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sourav Mandal

Sourav Mandal Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @souravWD

Mar 19
✧ 6 Awesome & popular css frameworks

A Thread 🧵↓ Image
➊ Bootstrap

⇥ Bootstrap is the most popular css framework globally and got instant popularity because of its responsive design. almost anything, from alerts to modals to navigation bars, is supported by default making is easy to build amazing website.
getbootstrap.com
➋ Tailwind CSS

⇥ Tailwind css is a utility-first css framework that is different that other frameworks like bootstrap where you get pre-designed components. Tailwind requires the least amount of learning an dis easy to use

tailwindcss.com
Read 8 tweets
Mar 17
⬒ Some Css Basics You Need To Know!

A Thread 🧵↓
➀ Css Rule Set
⇥ The whole structure is called a ruleset. The term ruleset is often referred to as just rule. NOte the names of the individual parts: Image
➁ Selecting Multiple Elements

⇥ You can select many elements by using coma(,) Image
Read 7 tweets
Mar 15
❒ Css Display Property

A Complete Thread 🧵↓
➀ Display ⇥ Inline

⇥ An inline property dose not start on new and only takes up as much width as necessary.Any height and width properties will have no effect on inline elements. This example overrides the default setting of <li> bullet points and presents them in one line.
➁ Display : Block
⇥ Display Block property shows the elements one by one like a building. Every block element appears in a new line. margin. padding and width work in display block.
Read 6 tweets
Mar 14
⬒ Top 8 Free Resources For Web Development.
❑ You can used Them in your Projects.

A Thread 🧵↓
➀ Error 404

⇥ This source is awesome for finding illustrations you can use for your website's 404 page.

error404.fun
➁ Smash illustrations

⇥ Control features high-quality illustrations in solid and linear style for free. They are free to use in commercial and personal use.
usesmash.com
Read 10 tweets
Mar 13
🔹 Tips for SEO Friendly Website

🧵↓👇👇👇👇
➀ ⇥ Group the content relevance and use descriptive items to help user find easily the information that they are looking for.

➁ ⇥ Use text links in footer to support navigation. text links are very useful both for the users the search engines.
➂ ⇥ Use breadcrumb navigation to allow users keep track of location within your website and help search engines understand your website structure.
Read 4 tweets
Mar 13
🔹 HTML Cheat Sheet

A Thread 🧵↓
➀ Basic Html 5

❒ <!DOCTYPE> ⇥ Defines the document.
❒ <html> ⇥ Defines an html document
❒ <head> ⇥ Contains metadata/information for the document
❒ <title> ⇥ Defines a title for the document
❒<body> ⇥ Defines the document's body
❒<h1> to <h6> ⇥ Defines HTML Heading
❒ <p> ⇥ Defines a paragraph
❒ <br> ⇥ inserts a single line break
❒ <hr> ⇥ Defines a thematic change in the content
❒ <!--..--> ⇥ Defines a comment
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(