Day 27/100 of my #100DaysOfCode Challenge 💻 Today I finally understood something that confuses many beginners in CSS — Flexbox and Grid. Think of it like this: 🔹 Flexbox is like arranging items in a single row or a single column. For example: placing buttons, menus, or cards neatly in a line. 🔹 CSS Grid is like designing a full layout with rows AND columns. Imagine building the structure of an entire webpage. So in simple terms: • Flexbox = one direction (row or column) • Grid = two directions (rows and columns) The more I learn, the more I realize that web design is like solving a puzzle with code. 27 days in… and the journey is getting more interesting every day. If you’re learning frontend too, what confused you the most when you started? #100DaysOfCode #LearnToCode #WebDevelopment #FrontendDevelopment #CSS #Flexbox #CSSGrid #CodingJourney #BuildInPublic
More Relevant Posts
-
Most beginners break layouts without realizing it. I was doing the same. Day 20 of rebuilding my Frontend skills with #LearningToMakeLivingOnline from Talha Tariq, GreatFrontEnd. Today I focused on something small… but powerful: 👉 Why layouts break (and how to fix them properly) 🚨 Common mistakes I fixed: • Using width: 100% + padding → causes overflow • Forgetting box-sizing: border-box • Not handling long text (it breaks containers) • Ignoring overflow behavior ✅ Simple fixes that changed everything: * { box-sizing: border-box; } .container { max-width: 1200px; margin: 0 auto; padding: 1rem; overflow: hidden; } p { word-wrap: break-word; } 💡 What I learned: Clean layouts are not about making things look right, They’re about preventing things from breaking. That’s the difference between: 👉 Writing CSS 👉 And understanding CSS What CSS bug wasted your time the most? #webdevelopment #frontend #css #buildinpublic #developer #learning
To view or add a comment, sign in
-
-
🚀 Day 12 of My Full Stack Development Journey Today I learned one of the most important concepts in CSS — the Box Model 📦 Here’s what I explored today: 🔹 Box Model – Understanding content, padding, border, and margin 🔹 Height & Width – Controlling the size of elements 🔹 Border & Border Radius – Styling element borders and creating rounded corners 🔹 Padding – Space inside the element 🔹 Margin – Space outside the element This concept really helped me understand how layout and spacing work in web design. Now I can better control how elements are placed and spaced on a webpage 🎯 Learning step by step and improving every day 💻✨ #FullStackJourney #WebDevelopment #CSS #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
The Bridge Between Code and Design 🌉 It’s an incredible feeling to realize that every part of a website can be changed, styled, or even created out of thin air using code! Here is what I learn today: DOM Traversal: Learning how to "find" elements using getElementById, getElementsByClassName, and the powerful querySelector. Dynamic Styling: Using JS to add/remove CSS classes and change styles on the fly. Content Control: Manipulating innerText vs innerHTML and handling attributes with setAttribute. The DOM Tree: Understanding the relationship between parentNode and childNodes. Dynamic Creation: Building entirely new HTML elements from scratch using createElement and appendChild. Learning the difference between a NodeList and an HTMLCollection was a "lightbulb moment" for me today. It’s all about how we interact with the structure of the web. Now, instead of just designing static pages, I’m learning how to build truly interactive experiences. 🚀 #JavaScript #WebDesign #DOM #FrontEndDev #CodingJourney #WebDevelopment #HTML5 #CSS3
To view or add a comment, sign in
-
Stop writing CSS like it's 2015. 🚫 Most developers still do this: margin-left: auto; margin-right: auto; When you can just do this: margin-inline: auto; Here are 5 modern CSS properties you should be using RIGHT NOW: 1. margin-inline & padding-inline → Control horizontal spacing without repeating yourself 2. clamp() → Fluid font sizes without media queries font-size: clamp(1rem, 2.5vw, 2rem); 3. :is() selector → Group selectors cleanly :is(h1, h2, h3) { color: navy; } 4. gap (in Flexbox) → No more margin hacks between flex items 5. aspect-ratio → aspect-ratio: 16/9; — goodbye padding-top tricks The web has evolved. Your CSS should too. 💡 Which one of these was new to you? Drop it in the comments 👇 #CSS #WebDevelopment #Frontend #HTML #JavaScript #WebDesign #CSStips #100DaysOfCode #ProgrammingTips #Developer #Tech #Pakistan #Coding #LearnToCode #FullStackDeveloper
To view or add a comment, sign in
-
-
🎯 CSS Flexbox — The Easiest Way to Master Layout! When I first started learning CSS, building layouts felt like a nightmare 😅 Then I discovered Flexbox — and everything changed! Just these 4 properties can solve 80% of your layout problems: ✅ display: flex → Activate Flexbox ✅ justify-content → Horizontal alignment ✅ align-items → Vertical alignment ✅ flex-wrap → Responsive wrapping Starting today, I'll be sharing one Web Development tip every day — covering CSS, JavaScript, and much more. If you're on the same learning journey, follow me and let's grow together! 🚀 My only goal — Learn. Build. Share. Repeat. #CSS #Flexbox #WebDevelopment #Frontend #100DaysOfCode #LearningInPublic #WebDesign #CSSTips #JavaScript #Developer
To view or add a comment, sign in
-
-
The Hook: Project #6 is officially flying high! 🚩 Continuing my Full-Stack Web Development journey by building with pure CSS. The Project: I’ve just deployed my CSS Flag Project. This milestone was a deep dive into "Code-Generated Graphics." Rather than using external images, I challenged myself to recreate a complex flag design using nothing but HTML and CSS. It’s a project that tests your attention to detail and your ability to break down complex visuals into simple geometric containers. Technical Highlights: CSS Shape Manipulation: Leveraged the power of div containers and precise CSS properties to create stripes, symbols, and proportions without a single image file. Flexbox & Centering: Utilized CSS Flexbox to ensure that all internal elements of the flag are perfectly aligned and centered, regardless of the screen size. Color Accuracy & Proportions: Focused on using specific HEX codes and relative units (like % or vh/vw) to ensure the flag maintains its official aspect ratio and professional look. Check it out here: 🔗 Live Demo: https://lnkd.in/dTyRy5EF 📂 Full Journey Repo: https://lnkd.in/d9_4Viff.. #WebDevelopment #Frontend #CSS3 #CodingJourney #GitHub #CSSArt #EngineeringStudent #FullStackDeveloper #LearningByDoing
To view or add a comment, sign in
-
🧭 A Guide to CSS Positions Understanding how the position property works is key to controlling layout and layering in web design. Whether you're creating sticky headers, tooltips, or floating buttons. This cheat sheet will help you quickly recall how each value behaves. - `static`: https://buff.ly/AuafSHi - `relative`: https://buff.ly/AuafSHi - `absolute`: https://buff.ly/0d6OtZn - `fixed`: https://buff.ly/nQKkS1w - `sticky`: https://buff.ly/jt65iWm Save & share with your team! Download Our Free Full-Stack Developer Starter Kit ➡️ https://buff.ly/JbI0Qof --- If you found this guide helpful, follow TheDevSpace | Dev Roadmap, w3schools.com, and JavaScript Mastery for more tips, tutorials, and cheat sheets on web development. Let's stay connected! 🚀 #JavaScript #WebDevelopment #CheatSheet #Coding #String
To view or add a comment, sign in
-
💡 Ever wonder why your button looks too close to the edge? The secret is in margin vs padding Margin is the space you leave around a pizza box on the table, padding is the cushion inside the box that keeps the pizza from sliding. When you design a button, margin pulls it away from other elements, while padding adds breathing room inside the button itself. Quick example: margin: 20px; padding: 10px; With those numbers, the outer gap is 20px, the inner cushion is 10px. If you forget the padding, the text may touch the button’s border; if you forget the margin, the button may sit too close to other content. Daily coding habits can boost your web development skills, so keep practicing these tiny tweaks. Did this help? Save it for later. ✅ Check if your layout respects the difference and watch your design breathe. #WebDevelopment #LearnToCode #WordPress #CodingTips #TechEducation #WebDesign #FrontEnd #HTML #CSS #DeveloperLife #UIUX #GrowthMindset #SpringCoding #JavaScript #React
To view or add a comment, sign in
-
Bringing "Shin-chan's Crazy Adventures" to life with HTML & CSS! 🚀Day-1 I recently challenged myself to build a modern, responsive landing page for one of my favorite childhood shows. This project allowed me to dive deep into custom layouts and UI components. Key Features: • Responsive Navigation: A sleek header with functional hover states. • Hero Section: Integrated a dynamic background with clear Call-to-Action (CTA) buttons. • Card Layouts: Used [CSS Grid/Flexbox] to create a clean "New Movies" gallery. • Character Profiles: A dedicated section using hover effects to introduce "The Gang." Tech Stack: HTML5, CSS3 (Custom properties, Flexbox, and Media Queries). Check out the screen recording below to see the UI in action! I’d love to hear your thoughts on the layout. #WebDevelopment #Frontend #HTML #CSS #Programming #UIUX #Shinchan #CodingProject
To view or add a comment, sign in
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development