2/100 days of learning React.
export default vs named components in react.
In react view is built with components. components are exported before importing them.
Two way we export them either as default or named.
know more 👇🧵
How to write ✍️ your notes 🗒, blog r even your github repositories with the markdown markup lang.
Let’s learn d following:
• headings
• text styling
• links
• syntax
• paragraphs
• lists
• tables
Follow d thread 🧵 2 read them 👇 #DEVCommunity#100DaysOfCode#markdown
1️⃣ Headings
For headings just insert the # before heading. And the numbers of # defines the heading number.
2️⃣ Text styling
To make bold use **text**
To make italic use * text * or _text_
For both use **_text_**
Explaining Loop 🔁 1.
Loop is the fundamental building block of programming, used to repeat or iterate the fixed number of steps.
Loop saves the time and labour.
2. Real time example
Suppose you are donating $100 to each one of the 50 homeless.
For that you will keep count of people who are you done with.
So, 3 things we r doing:
• setting condition to 50
• counting ( increment )
• donating
3.
There are many ways out there to implement loop in programming:
• foor loop
• while loop
• forEach
• do while
and many, you can also develop your own.