Imran khan (@codewithimran) header
Imran khan (@codewithimran) profile picture

Web Developer 💻 ReactJs

United Arab Emirates
Joined June 2021
Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)Photo by Imran khan (@codewithimran)
Imran khan retweeted
FREE Assets for content creators! 🎉 Grab $99 worth of premium assests for FREE. But only for the next 24hrs! Including: 🎵 Sound Effects 🖼️ PNG Images 📝 Paper Overlays 🎨 Palettes 📽️ Motion Backgrounds 💡 Light Flicks & Leaks 🌐 Helpful Websites 🟢 Green Screens 😂 Emojis 🔤 Animated Letters 🤝 Hand Sign Icons 😎 Emoji Faces ...and MUCH MORE! 3 Simple Steps to claim: 🔄 Retweet this post 💬 Reply with "Assets" ➕ Follow @ATechAjay I'll DM🎁you the link – but be patient, it might take a little time! Don’t miss out on this incredible opportunity!
69
38
1
58
15,093
Imran khan retweeted
I’m gonna give 10 random people that repost this and follow me $25,000 for fun (the $250,000 my X video made) I’ll pick the winners in 72 hours
367,571
2,453,704
219,936
1,800,789
287,044,203
جس کو نماز کا ترجمہ و تشریح نہیں آتی اس کا نماز میں زیادہ دل نہی لگتا اسکو پتہ نہی ہوتا وہ کیا پڑھ رہا ھے آئیں نماز سیکھیں اور دوسروں کو سکھائیں....! #ثـنــــاء سُبْحَانَکَ اللّٰهُمَّ وَبِحَمْدِکَ، وَتَبَارَکَ اسْمُکَ وَتَعَالٰی جَدُّکَ، وَلَا اِلٰهَ غَيْرُکَ. اے ﷲ! ہم تیری پاکی بیان کرتے ہیں، تیری تعریف کرتے ہیں، تیرا نام بہت برکت والا ہے، تیری شان بہت بلند ہے اور تیرے سوا کوئی عبادت کے لائق نہیں. #تعـــــــوذ أَعُوْذُ بِاﷲِ مِنَ الشَّيْطٰنِ الرَّجِيْمِ. میں شیطان مردود سے اللہ کی پناہ مانگتا / مانگتی ہوں #تســـــمیہ بِسْمِ اﷲِ الرَّحْمٰنِ الرَّحِيْمِ. ﷲ کے نام سے جو نہایت مہربان ہمیشہ رحم فرمانے والا ہے #سورۃ_الفـــــــاتحہ الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَO الرَّحْمَنِ الرَّحِيمِO مَالِكِ يَوْمِ الدِّينِO إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُO اهْدِنَا الصِّرَاطَ الْمُسْتَقِيمَO صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْO غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلا الضَّالِّينَO *تمام خوبیاں, تعریفیں اللہ ہی کے لیے ہیں جو تمام جہانوں کی پرورش فرمانے والا ہے, نہایت مہربان بہت رحم فرمانے والا ہے, روزِ جزا کا مالک ہے, ہم تیری ہی عبادت کرتے ہیں اور ہم تجھ ہی سے مدد چاہتے ہیں, ہمیں سیدھا راستہ دکھا, ان لوگوں کا راستہ جن پر تو نے انعام فرمایا, ان لوگوں کا نہیں جن پر غضب کیا گیا ہے اور نہ (ہی) گمراھوں کا. #سورۃ_الاخـــــــلاص قُلْ هُوَ اللَّهُ أَحَدٌO اللَّهُ الصَّمَدُO لَمْ يَلِدْ وَلَمْ يُولَدْO وَلَمْ يَكُن لَّهُ كُفُوًا أَحَدٌO آپ فرما دیجئے ک: وہ ﷲ ھے جو یکتا ہے, ﷲ سب سے بے نیاز، سب کی پناہ اور سب پر فائق ہے, نہ اس سے کوئی پیدا ہوا ہے اور نہ ہی وہ پیدا کیا گیا ہے اور نہ ہی اس کا کوئی ہمعسر ہے. #رکـــــــوع سُبْحَانَ رَبِّیَ الْعَظِيْمِ. پاک ہے میرا پروردگار عظمت والا. #قـــــومہ سَمِعَ اﷲُ لِمَنْ حَمِدَهُ. ﷲ تعالیٰ نے اس بندے کی بات سن لی جس نے اس کی تعریف کی. رَبَّنَا لَکَ الْحَمْدُ. اے ہمارے رب ! تمام تعریفیں تیرے لیے ہیں. #سجـــــــدہ سُبْحَانَ رَبِّیَ الْأَعْلَی. پاک ہے میرا پروردگار جو بلند تر ہے. #تشـــــــہد التَّحِيَّاتُ ِﷲِ وَالصَّلَوٰتُ وَالطَّيِّبَاتُ، اَلسَّلَامُ عَلَيْکَ أَيُّهَا النَّبِیُّ وَرَحْمَةُ اﷲِ وَبَرَکَاتُهُ، اَلسَّلَامُ عَلَيْنَا وَعَلَی عِبَادِ اﷲِ الصّٰلِحِيْنَ. أَشْهَدُ أَنْ لَّا اِلٰهَ إِلَّا اﷲُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُوْلُهُ. تمام قولی، فعلی اور مالی عبادتیں ﷲ ہی کے لیے ہیں، اے نبی! آپ پر سلام ہو اور ﷲ کی رحمت اور برکتیں ہوں، ہم پر اور ﷲ کے تمام نیک بندوں پر بھی سلام ہو، میں گواہی دیتا ہوں کہ ﷲ کے سوا کوئی معبود نہیں اور میں گواہی دیتا ہوں کہ حضرت محمد صلی اللہ علیہ وآلہ وسلم, اللہ کے بندے اور اس کے رسول ہیں. #درودِ_اِبــــراہیـمی حضور نبی اکرم صلی اللہ علیہ وآلہ وسلم دو، تین یا چار رکعت والی نماز کے قعدہ اخیرہ میں ہمیشہ درودِ ابراہیمی پڑھتے جو درج ذیل ہے: اَللّٰهُمَّ صَلِّ عَلٰی مُحَمَّدٍ وَّعَلٰی آلِ مُحَمَّدٍ، کَمَا صَلَّيْتَ عَلَی إِبْرَاهِيْمَ وَعَلَی آلِ إِبْرَاهِيْمَ، إِنَّکَ حَمِيْدٌ مَّجِيْدٌ. اَللّٰهُمَّ بَارِکْ عَلٰی مُحَمَّدٍ وَّعَلٰی آلِ مُحَمَّدٍ، کَمَا بَارَکْتَ عَلَی إِبْرَاهِيْمَ وَعَلَی آلِ إِبْرَاهِيْمَ، إِنَّکَ حَمِيْدٌ مَّجِيْدٌ. اے ﷲ! رحمتیں نازل فرما حضرت محمد صلی اللہ علیہ وآلہ وسلم پر اور ان کی آل پر، جس طرح تونے رحمتیں نازل کیں حضرت ابراہیم علیہ السلام پر اور ان کی آل پر، بے شک تو تعریف کا مستحق بڑی بزرگی والا ہے. اے ﷲ! تو برکتیں نازل فرما حضرت محمد صلی اللہ علیہ وآلہ وسلم پر اور ان کی آل پر، جس طرح تونے برکتیں نازل فرمائیں حضرت ابراہیم علیہ السلام پر اور ان کی آل پر، بے شک تو تعریف کا مستحق بڑی بزرگی والا ہے. #دعائے_ماثــــــورہ درود شریف کے بعد یہ دعا پڑھیں : رَبِّ اجْعَلْنِیْ مُقِيْمَ الصَّلٰوةِ وَمِنْ ذُرِّيَّتِیْ رَبَّنَا وَتَقَبَّلْ دُعَآءِo رَبَّنَا اغْفِرْ لِیْ وَلِوَالِدَءَّ وَلِلْمُؤْمِنِيْنَ يَوْمَ يَقُوْمُ الْحِسَابُo *اے میرے رب! مجھے اور میری اولاد کو نماز قائم رکھنے والا بنا دے، اے ہمارے رب! اور تو میری دعا قبول فرما لے، اے ہمارے رب! مجھے بخش دے اور میرے والدین کو (بخش دے) اور دیگر سب مومنوں کو بھی، جس دن حساب قائم ہوگا... تحــــریری غلطــی ہو گئــی ہو تـــو معـــذرت خـــــواہ ہـوں
13
78
1
167
15,730
🔸Cube Loader in 5 Simple Steps with CSS 🔸 A Thread 🧵⬇️
11
13
88
10,085
Imran khan retweeted
Maxwell batting today 💥🦁 #AUSvsAFG
87
1,131
85
7,107
504,628
Want to know the secret to optimizing your SQL queries? Understanding the execution order is essential. A SQL query executes its statements in the following order: 1. FROM / JOIN 2. WHERE 3. GROUP BY 4. HAVING 5. SELECT 6. DISTINCT 7. ORDER BY 8. LIMIT / OFFSET 𝗧𝗵𝗲 𝘁𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀 𝘆𝗼𝘂 𝗶𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁 𝗮𝘁 𝗲𝗮𝗰𝗵 𝘀𝘁𝗲𝗽 𝗵𝗲𝗹𝗽 𝘀𝗽𝗲𝗲𝗱 𝘂𝗽 𝘁𝗵𝗲 𝗳𝗼𝗹𝗹𝗼𝘄𝗶𝗻𝗴 𝘀𝘁𝗲𝗽𝘀. This is why it's important to know their execution order. 𝗧𝗼 𝗺𝗮𝘅𝗶𝗺𝗶𝘇𝗲 𝗲𝗳𝗳𝗶𝗰𝗶𝗲𝗻𝗰𝘆, 𝗳𝗼𝗰𝘂𝘀 𝗼𝗻 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗶𝗻𝗴 𝘁𝗵𝗲 𝘀𝘁𝗲𝗽𝘀 𝗲𝗮𝗿𝗹𝗶𝗲𝗿 𝗶𝗻 𝘁𝗵𝗲 𝗾𝘂𝗲𝗿𝘆. With that in mind, let's take a look at some 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝘁𝗶𝗽𝘀: 𝟭) 𝗠𝗮𝘅𝗶𝗺𝗶𝘇𝗲 𝘁𝗵𝗲 𝗪𝗛𝗘𝗥𝗘 𝗰𝗹𝗮𝘂𝘀𝗲 This clause is executed early, so it's a good opportunity to reduce the size of your data set before the rest of the query is processed. 𝟮) 𝗙𝗶𝗹𝘁𝗲𝗿 𝘆𝗼𝘂𝗿 𝗿𝗼𝘄𝘀 𝗯𝗲𝗳𝗼𝗿𝗲 𝗮 𝗝𝗢𝗜𝗡 Although the FROM/JOIN occurs first, you can still limit the rows. To limit the number of rows you are joining, use a subquery in the FROM statement instead of a table. 𝟯) 𝗨𝘀𝗲 𝗪𝗛𝗘𝗥𝗘 𝗼𝘃𝗲𝗿 𝗛𝗔𝗩𝗜𝗡𝗚 The HAVING clause is executed after WHERE & GROUP BY. This means you're better off moving any appropriate conditions to the WHERE clause when you can. 𝟰) 𝗗𝗼𝗻'𝘁 𝗰𝗼𝗻𝗳𝘂𝘀𝗲 𝗟𝗜𝗠𝗜𝗧, 𝗢𝗙𝗙𝗦𝗘𝗧, 𝗮𝗻𝗱 𝗗𝗜𝗦𝗧𝗜𝗡𝗖𝗧 𝗳𝗼𝗿 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝘁𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀 It's easy to assume that these would boost performance by minimizing the data set, but this isn’t the case. Because they occur at the end of the query, they make little to no impact on its performance. If you want to create efficient queries, it's a good idea to understand how things work under the hood otherwise your efforts may be wasted. While these tips work best in most cases, you should consider your unique use case when choosing the best course of action.
34
684
12
2,881
282,219
When you are running a simple monolith application, all your services run on the same set of instances. Successful applications have a habit of growing over time and eventually becoming huge. Once your application become huge, it’s becomes a monstrous monolith
3
9
68
13,290
Imran khan retweeted
Don't just study JavaScript to know how loops work, or what a Promise is. Learn how to solve real life scenarios: 1. Fetching data with the auth token in the request header 2. Handling request/response errors 3. Displaying the data on the website with a UI component library 4. Being able to read and navigate through said UI component library documentation 5. Adding CSS effects like hover, active, focus 6. Validating inputs before creating or updating data 7. Handling form errors (like incorrect email format) 8. Handling the onClick, onMouseOver, onMouseDown, onMouseUp events 9. Blocking the default event execution to implement your own logic 10. Logging the user out after a certain inactivity period Every programmer working on the frontend deals with these scenarios every day. Increase your chances of getting hired by practicing them.
16
32
1
238
18,393
CSS Trick! ⭐️ You can animate your gradient borders by defining types for your custom properties with @ property 🔥 1. Define a property @ property --angle { syntax: '<angle>'; /* 👈 type angle*/ inherits: true; initial-value: 0deg; } 2. Animate the value article { animation: rotate 2s infinite linear paused; } @ keyframes rotate { to { --angle: 360deg; } } 3. Use the value in your conic-gradient background. article { --gradient: conic-gradient(from var(--angle), ...); background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box; border: 4px solid transparent; } 4. Change the play state to running on :hover, etc. article:is(:hover, :focus-within) { animation-play-state: running; } That's it! 🤙 As soon as Firefox 120 lands, this one will work in all browsers! 🙌 Until then, it's a progressive enhancement. You will still get the brightening of the border on hover, etc. That's handled with a pseudo-element ✨ @CodePen link below! 👇
CSS Trick! ⚡️ You can create gradient borders by using transparent borders 👀 No extra elements 🤙 article { background: // layer them up with different origin! linear-gradient(var(--bg), var(--bg)) padding-box, var(--gradient) border-box; border: 4px solid transparent; } The trick is to layer background images using different background-origin ⭐️ Then use a transparent border to define how thick the border is! padding-box positions a background relative to an element's padding. border-box positions a background relative to the border-box 🔥 The ✨magic✨ part? You get that nested radius for free 😅 Check out the exploded view in the video and have a play with different values in the demo 🎞️ @CodePen link below! 👇
12
164
4
1,387
258,932
Future CSS Tip! 🔮 You can create this scrolling image pop-out effect with CSS scroll-driven animations and zero JS! 🔥 .pop { view-timeline-name: --pop; } img { animation: slide both; animation-timeline: --pop; animation-range: entry 100% cover 50%; } .skateboarder { --x: 0; --y: -45%; } @ keyframes slide { to { translate: var(--x) var(--y); } } The "trick" is to layer up two image elements and keep one clipped by the container 🤙 Slide them both together and it will look like one pops out of the container 🎈 You can leverage scoped custom properties to translate by different distances too! 😎 You can use macOS's built-in image background removal tool to get the pop-out image ✨ And for added effect, you can animate the brightness on that to make it stand out ⭐️ @CodePen link below! 👇
The way these images break the plane while scrolling 🤩
47
592
24
4,020
635,289
HTML/CSS Timeline 👊
11
56
1
384
72,677
Power BI Case Studies. Link below 🔗👇
5
161
1
732
146,575
Css Transparent Cards 👇
8
86
554
80,507
Create responsive table with sticky columns using HTML, CSS and JavaScript🚀 Code in the comments 👨‍💻
26
276
4
1,777
262,500
Imran khan retweeted
So far I am loving this book! I’ve read some articles/watched videos on DSA but nothing I have seen so far compares to this. I’ll keep updating as I read more, but so far the way the author explained binary search and Big O notation was extremely understandable😄 Also there are such cute illustrations that make it even better🥹
57
42
5
606
68,076
Imran khan retweeted
Web development — the more you build, the more you learn. If I were to start learning today, I would break it down into 10 steps: • Chapter 1 → HTML Basics → CSS Fundamentals → Understanding the DOM → Introduction to Responsive Design → Building a Simple Web Page • Chapter 2 → CSS Layouts → Box Model Mastery → Flexbox and Grid → Creating Navigation Bars → Project: Personal Portfolio Page • Chapter 3: → JavaScript Essentials → Variables and Data Types → Conditional Statements → Loops and Functions → Project: Interactive Calculator • Chapter 4 → DOM Manipulation with JavaScript → Event Handling → Form Validation → Local Storage → Project: To-Do List App • Chapter 5 → Responsive Web Design → Media Queries → Mobile-First Approach → CSS Frameworks (e.g., Tailwind) → Project: Mobile-Friendly Blog • Chapter 6 → AJAX and API Calls → JSON Data Parsing → Fetch API → Creating Dynamic Content → Project: Weather App with API Integration • Chapter 7 → Node.js Fundamentals → Express.js Framework → Building RESTful APIs → CRUD Operations → Project: Simple Node.js Server • Chapter 8 → Database Basics (SQL/NoSQL) → Connecting Node.js to Databases → User Authentication → Project: User Registration & Login • Chapter 9 → Frontend Frameworks (e.g., React, Angular, or Vue) → Component-Based Development → Routing in SPA → Building a Single-Page App (SPA) → Project: SPA with Framework of Choice • Chapter 10 → Deployment & Hosting → Version Control with Git → CI/CD Pipelines → Security Best Practices → Project: Deployed Web App
56
246
12
1,020
277,824
There once was a guy who sucked at Javascript. Yes, I'm talking about you. So I gave this guy a list of awesome resources which would freeze their brain and make them an instant 10X dev. bookmark
7
34
3
106
28,365
Imran khan retweeted
5 GitHub repositories will make you feel like an expert developer:
22
236
4
1,286
394,292