
It’s not a bug; it’s an undocumented feature!
Doha, Qatar
Joined August 2023
- Tweets114
- Following95
- Followers5
- Likes86
Junior Dev retweeted
Do yourself a favor!
– Learn JavaScript
– Use OpenAI API
– Build an AI based app
– Talk about it on X
You won't believe how much money you'll make.
Junior Dev retweeted
Create this awesome UI inspired by @janm_uiux using HTML, CSS and JavaScript 🚀
Code in the comments 👨💻
Junior Dev retweeted
Create simple animated navigation using just HTML and CSS 🚀
Code in the comments 👨💻
Junior Dev retweeted
Do you think document.querySelector is too verbose? Here's a potential solution from @firt
Junior Dev retweeted
UI/UX Designers, here are my favorite places on the internet for design inspiration in 2024:
Website → godly.website
Portfolio → prettyfolio.com
Bento Grid → bentogrids.com
Image Gallery → ogimage.gallery
Mobile & Web App → mobbin.com
Junior Dev retweeted
Extra CSS Trick! 🚀
Use scroll-padding-inline with some calc on the track to make the indicator click JS free 🤙 (See video 🎬)
ul {
scroll-behavior: smooth;
scroll-padding-inline: calc(
50vw - (var(--card-width) * 0.5
);
}
You could color those indicators as requested by @AbelardoIT
.indicator::after {
background: hsl(var(--hue) 90% 70%);
}
@keyframes show { 50% { opacity: 1; }}
Combined with the same animation properties from the original demo ⭐️ Rad! 😎
CSS Tip! 🚥
You can create these trending expanding scroll indicators with scroll-driven animations and flex 🤙
.indicator {
animation: grow;
animation-range: contain calc(50% - var(--size)...;
animation-timeline: var(--card);
}
@keyframes grow { 50% { flex: 3; }}
What's the trick? Put the indicators in a container using flex layout and set a width larger than the number of indicators 😉
.indicators {
aspect-ratio: 7 / 1;
display: flex;
}
Importantly, set no gap 🤏
To mimic the gap set a transparent border on each indicator and set the background using padding-box
.indicator {
background: linear-gradient(#fff, #fff) padding-box;
border-radius: 50px;
border: 4px solid transparent;
}
Now for the animation. You want to create a view-timeline for each card that moves across 🤙
li:nth-of-type(1) { view-timeline: --one inline; }
li:nth-of-type(2) { view-timeline: --two inline; }
Make sure they use the inline axis too!
The trick is hoisting these view-timeline so the indicators can use them with timeline-scope 👀
.track { timeline-scope: --one, --two, ...; }
All that's left is for you to create the animation piece using some calc with the card size ⚡️
.indicator {
--size: calc(var(--card-width) * 0.9);
animation: grow both linear;
animation-range:
contain calc(50% - var(--size))
contain calc(50% + var(--size));
}
.indicator:nth-of-type(1) { animation-timeline: --one; }
.indicator:nth-of-type(2) { animation-timeline: --two; }
@keyframes grow { 50% { flex: 3; }}
And there you have it, responsive scroll indicators using CSS scroll-driven animations 😎
Sprinkle a little JavaScript to make them clickable and scroll the the right card ✨
const shift = (event) => {
if (event.target.tagName === "BUTTON") {
const index = [...event.target.parentNode.children].indexOf(event.target);
const item = document.querySelector(`li:nth-of-type(${index + 1})`);
item.scrollIntoView({
behavior: "smooth",
inline: "center"
});
}
};
As always, any questions or suggestions, let me know. I've put a JavaScript fallback in to use GSAP in browsers that don't have scroll-driven animations 🫶
@CodePen link below! 👇
Junior Dev retweeted
JavaScript tip:
You can use the `document.designMode` property to make the whole website editable:
Junior Dev retweeted
Essential CSS Breakpoints for Web Developers:
➡️ Mobile: Up to 480px
➡️ Extra small devices: 481px to 767px
➡️ Small tablets: 768px to 991px
➡️ Large tablets/laptops: 992px to 1199px
➡️ Desktops: 1200px to 1919px
➡️ Extra large screens: 1920px and up
Junior Dev retweeted
teapaw.org/i/spaces/1ZkKzjgbgqwKv
Developers say Hi 🙌
📷 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄|
| Developers Let's #Connect!|
|_____________|
\ (•◡•) /
\ /
——
| |
|_ |_
Let's connect and grow together📷
Junior Dev retweeted
🎆 Backend Development 2024:
Languages:
🔧 Java
🔧 Python
🔧 Go
🔧 Node.js (JavaScript)
🔧 Ruby
🔧 C#
🔧 PHP
🔧 Rust
🔧 Elixir
Web Frameworks:
🌐 Express (Node.js)
🌐 Django (Python)
🌐 Flask (Python)
🌐 FastAPI (Python)
🌐 Spring Boot (Java)
🌐 ASP .NET (C#)
🌐 Laravel (PHP)
🌐 Ruby on Rails (Ruby)
🌐 Gin (Go)
Testing Frameworks:
🧪 JUnit (Java)
🧪 PyTest (Python)
🧪 Testing (Go)
🧪 Mocha & Jest (JavaScript)
🧪 RSpec (Ruby)
🧪 NUnit & xUnit (C#)
🧪 PHPUnit (PHP)
🧪 Cargo Test (Rust)
🧪 ExUnit (Elixir)
Databases:
💾 PostgreSQL
💾 MySQL
💾 MongoDB
💾 Redis
💾 Oracle
💾 MS SQL Server
💾 Cassandra
💾 DynamoDB
💾 CockroachDB
💾 ElasticSearch
ORMs:
🗃️ Hibernate (Java)
🗃️ SQLAlchemy (Python)
🗃️ Entity Framework (.NET)
🗃️ Sequelize (Node.js)
🗃️ GORM (Go)
Microservices:
📦 Docker
📦 Kubernetes
📦 Istio
📦 Micro (Go)
Cloud Providers:
☁️ AWS
☁️ Azure
☁️ GCP
☁️ IBM Cloud
API Design:
🔌 REST
🔌 GraphQL
🔌 gRPC
🔌 SOAP
DevOps Tools:
🛠️ Jenkins
🛠️ GitHub Actions
🛠️ GitLab CI/CD
🛠️ Ansible
🛠️ Terraform
Monitoring & Logging:
📊 Prometheus
📊 Grafana
📊 ELK Stack
📊 Datadog
What else? 👇
Junior Dev retweeted
Genearte Secure Password with Python morioh.com/a/2801b2884239
🤔 Comment your opinion below! 👇
#python #programming #developer #morioh #programmer #softwaredeveloper #webdev #webdeveloper #webdevelopment #pythonprogramming #pythonquiz #ai #ml #machinelearning #datascience

























