✍️Passionate about Simplifying Tech
📩DM for collab
➡️https://t.co/GRrKB3rjti
➡️https://t.co/fJI2jIeNQP
➡️https://t.co/qy8Lw4Skbr
May 17 • 7 tweets • 2 min read
HTML Semantic vs. Non-Semantic Elements🔥
Open this🧵
💠Semantic Elements
Semantic elements clearly show their purpose in the code and what content they hold. They make your web page more organized and have these benefits:
🔹Accessibility: Tools like screen readers can better understand and describe the content for users.
🔹SEO: Search engines can easily figure out your content and rank it higher.
🔹Readability: Your code is easier to understand and maintain for developers.
Examples of semantic elements: ,
Mar 31 • 21 tweets • 6 min read
18 JavaScript Tips for Clean and Efficient Code🔥
Open this🧵
1⃣Arrow Function
You can use arrow functions to simplify function declarations.
For example:
Mar 23 • 12 tweets • 4 min read
JavaScript DOM (Document Object Model)🔥
Open this🧵
🎯What is the DOM?
DOM is a programming interface that allows us to select, modify, create, remove elements and manipulate element styles in the document.
DOM represents the structure of an HTML document as a tree-like structure. The document is the tree's root and contains one child node, the element.
Within the element, there are two children: the and elements. The and elements contain their respective children.
Mar 6 • 8 tweets • 3 min read
5 Websites Every CSS Developer Should Know🔥
Open this 🧵
🎯CSS-Tricks
CSS-Tricks is one of the best resources for learning CSS. It was created by web designer Chris Coyier and is filled with tutorials, tips, and guides that help developers at any skill level. css-tricks.com
Feb 27 • 24 tweets • 7 min read
20 FREE APIs for Your Projects🔥
Open this🧵
🌦️OpenWeatherMap API
Provides real-time weather data, forecasts, and historical weather information for any location worldwide. openweathermap.org
Feb 20 • 17 tweets • 6 min read
‘this’ in JavaScript: 10 Scenarios Simplified for Beginners🔥
Open this🧵
What is “this”?
In JavaScript, “this” is a special keyword that refers to the current execution context which means what is happening right now.
It changes its value depending on how a function is invoked.
So, let’s explore its different scenarios.
Feb 19 • 22 tweets • 7 min read
18 GitHub Repositories You Should Know as a Developer🔥
Open this🧵
🔹30 Days Of JavaScript
This repository provides a 30-day JavaScript coding challenge which can help you to improve your JavaScript skills through hands-on practice. github.com/wesbos/JavaScr…
Dec 16, 2024 • 15 tweets • 5 min read
Tuples in Python🔥
Open this🧵
Tuples are ordered collection of data items. In tuples, you can store multiple items in a single variable.
Tuples are immutable i.e. you can not change them after creation.
Dec 2, 2024 • 9 tweets • 3 min read
5 Types of CSS Positions for Better Layouts🔥
Open this🧵
💠static
This is the default value for all HTML elements’ positioning. In this positioning, elements are positioned in the normal flow of the document.
Applying the top, right, bottom, or left properties and z-index to a statically positioned element will have no effect.
In the below example, position: static; property is applied only to the second box, and it doesn’t differ the layout of the second box because static is the default value.
You can use the accept attribute with the <input> element (only for file type) to specify the types of files a server can accept.
Jun 25, 2024 • 6 tweets • 2 min read
4 ways to Center a div using CSS 🔥
Open this🧵
1️⃣Using Flexbox
Jun 21, 2024 • 13 tweets • 4 min read
10 most used CSS Display Values🔥
Open this🧵
🎯display: block;
Elements with display property ‘block’ starts on a new line and take the entire width of its parent container.
You can set the width and height properties for such elements.
Default block-level elements examples include
,
,
-
, ,
Jun 19, 2024 • 9 tweets • 3 min read
CSS Positions🔥
Open this🧵
💠static
This is the default value for all HTML elements’ positioning. In this positioning, elements are positioned in the normal flow of the document.
Applying the top, right, bottom, or left properties and z-index to a statically positioned element will have no effect.
In the below example, position: static; property is applied only to the second box, and it doesn’t differ the layout of the second box because static is the default value.
May 29, 2024 • 18 tweets • 5 min read
CSS Grid Container Properties🔥
Open this🧵
The following properties are related to the grid container itself which allows you to define the structure and behavior of the grid layout👇