π1
CSS Object-fit Propertyπ₯
You can set the resizing behaviour of an image or video to fit it in its container using the object-fit property.
You can set the resizing behaviour of an image or video to fit it in its container using the object-fit property.
β€3π1
The answer is 10 as 20 can not be accessible due to block scope which restricts the access from outside .
Crucial Font Size Guidelines for Web Development:
π Body Text: 16px to 18px for readability
π Headings: H1 at 32px to 36px, scale down for H2-H6
π Buttons: Minimum of 14px for clarity
π Navigation Menu: 14px to 16px for visibility
π Mobile Responsiveness: Scale down body text by 15-20% on small screens
π Accessibility: Use min 9pt for legibility in footers/disclaimers
π Body Text: 16px to 18px for readability
π Headings: H1 at 32px to 36px, scale down for H2-H6
π Buttons: Minimum of 14px for clarity
π Navigation Menu: 14px to 16px for visibility
π Mobile Responsiveness: Scale down body text by 15-20% on small screens
π Accessibility: Use min 9pt for legibility in footers/disclaimers
β€1
11 tips for every web dev beginner:
1. Create projects ποΈ
2. Read books π
3. Read docs π
4. Help others π¨βπ«
5. Daily coding π¨βπ»
6. Be active in the community π¦
7. Internet surfing π
8. Learn daily πͺπ»
9. Read latest tech blogs π
10. Take short breaks π»
11. Write notes βοΈ
1. Create projects ποΈ
2. Read books π
3. Read docs π
4. Help others π¨βπ«
5. Daily coding π¨βπ»
6. Be active in the community π¦
7. Internet surfing π
8. Learn daily πͺπ»
9. Read latest tech blogs π
10. Take short breaks π»
11. Write notes βοΈ
β€3
Forwarded from Learn Python with Python Video Tutorial Python Course Python Note Python Book Python PDF Django Flask Python
As a web developer today, most of your works are related to APIs.
But most of developers don't actually understand what it is. π
When we talk about API, we are usually referring to Web API. π
Web API (Application Programmatic Interface) can provide:
1. Resources, e.g. bus arrival time, restaurant ratings...
2. Services or microservices, e.g. converting coordinates into place names, creating QR codes...
With Web APIs, developers can then easily incorporate these building blocks into other web applications.
π©βπ»There's some features of different Web API, for example:
1. Public vs. private
- Public APIs are available to everyone, but may subject to licenses
- Private APIs are only available to internal developers
2. Free vs. premium
- Premium APIs may charge on-demand
- That's why there's also this term βAPI Economyβ!
There's actually API marketplace and directory site, like
- RapidAPI
- ProgrammableWeb
Here's some example of public API that you can explore:
1. Google (developers.google.com/apis-explorer)
2. Facebook (developers.facebook.com/docs/apis-and-β¦)
3. Data portals of many cities (dataportals.org/search)And you also have to understand what is 'API endpoints'.
API usually provides endpoints as a URI to provide services.
And it needs to be static, without affecting applications built upon β¨And that's why there's a standard for writing API called REST.
REST stands for 'REpresentational State Transfer'.
It's an architectural style of writing APIs.
But most of developers don't actually understand what it is. π
When we talk about API, we are usually referring to Web API. π
Web API (Application Programmatic Interface) can provide:
1. Resources, e.g. bus arrival time, restaurant ratings...
2. Services or microservices, e.g. converting coordinates into place names, creating QR codes...
With Web APIs, developers can then easily incorporate these building blocks into other web applications.
π©βπ»There's some features of different Web API, for example:
1. Public vs. private
- Public APIs are available to everyone, but may subject to licenses
- Private APIs are only available to internal developers
2. Free vs. premium
- Premium APIs may charge on-demand
- That's why there's also this term βAPI Economyβ!
There's actually API marketplace and directory site, like
- RapidAPI
- ProgrammableWeb
Here's some example of public API that you can explore:
1. Google (developers.google.com/apis-explorer)
2. Facebook (developers.facebook.com/docs/apis-and-β¦)
3. Data portals of many cities (dataportals.org/search)And you also have to understand what is 'API endpoints'.
API usually provides endpoints as a URI to provide services.
And it needs to be static, without affecting applications built upon β¨And that's why there's a standard for writing API called REST.
REST stands for 'REpresentational State Transfer'.
It's an architectural style of writing APIs.
Google for Developers
Google APIs Explorer | Google for Developers
The Google APIs Explorer is is a tool that helps you explore various Google APIs interactively.
JS devs: what's the output for this? ππ οΈ
The output is 2. This is because the
console.log call inside the body of function2 refers to the variable x defined inside the scope of function2 and not the x defined in the outer scope.Guys be active on the community. Show some response. If you really want to learn always try to engage with the posts. It motivates me to post here. I don't wanna put ads here or whatever crap. This community is made by me from scratch to help my fellow aspiring developers.
π3
10 websites that can replace hundreds of dollars worth of PC software (for free)
π1