How to build a 2-column layout using flexbox | HTML/CSS

  Рет қаралды 36,736

Coder Coder

Coder Coder

Күн бұрын

🔥 My course: Responsive Design for Beginners! coder-coder.co...
💻 Become a full-stack web dev with Zero to Mastery: academy.zeroto...
Two column layouts are a super common pattern in website design. In this tutorial, you'll learn how to build a responsive two-column layout using flexbox!
Source code on Codepen: codepen.io/the...
Music: Radiant Vibes by Harris Heller
• Radiant Vibes
_____________________________________
SUPPORT THE CHANNEL
⭐ Join channel members and get perks: / @thecodercoder
👏🏽 Hit the THANKS button in any video!
🎨 Get my VS Code theme: marketplace.vi...
WANT TO LEARN WEB DEV?
Check out my courses:
🌟 Responsive Design for Beginners: coder-coder.co...
🌟 Gulp for Beginners: coder-coder.co...
RECOMMENDATIONS
⌨ My keyboard-- get 10% off with code THECODERCODER -- vissles.com/?r...
💻 Other gear -- www.amazon.com...
📚 My Favorite Books -- coder-coder.co...
📺 My Favorite Courses -- coder-coder.co...
🔽 FOLLOW CODER CODER
Blog -- coder-coder.com/
Twitter -- / thecodercoder
Instagram -- / thecodercoder
#webdevelopment #coding #programming

Пікірлер: 48
@starterdev
@starterdev 4 жыл бұрын
I love your pronunciation, it's outstanding
@kobebriansantos5558
@kobebriansantos5558 3 жыл бұрын
watching this doesn't make me feel guilty, very informative!!
@codecrumbs
@codecrumbs 4 жыл бұрын
Loved it, you broke it down really well. Looking forward to the grid one!
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Thanks so much! The next video should be a fun one to make too 😁
@taydvon
@taydvon 3 жыл бұрын
You’re amazing at explaining these concepts. Thank you so much!
@wisnu2226
@wisnu2226 4 жыл бұрын
finally, i found @thecodercoder channel. thank you for sharing
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Thanks for watching!
@3isley133
@3isley133 Жыл бұрын
Thank you for explaing this! THis Help me a lot !!
@100XPercentX
@100XPercentX 4 жыл бұрын
You're an angel this is what I needed wooo hoooo Edit: your theme is so nice and vibrant I wish I started with vs but I cant move from atom lol
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
You can always start trying it out! :)
@loverphp5605
@loverphp5605 3 жыл бұрын
too clever too smart thanks for help me understand the flexbox properties and usage
@jaggyjut
@jaggyjut 4 жыл бұрын
Very well explained. Thank You.
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Thanks for watching!
@ShakilMorad
@ShakilMorad 4 жыл бұрын
I'm always hit a thums up then strat to see your videos ❤️
@theREALESTrealistUNPOPULAR
@theREALESTrealistUNPOPULAR 8 ай бұрын
youre a savior
@progtom7585
@progtom7585 4 жыл бұрын
please make a video on emmet shortcuts, i heard emmet first on your videos. I googled emmet and found a startling array of shortcuts - too much for a newbie, although now ive watched the video i see you using them fairly constantly... thanks for the video...
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Thanks for the suggestion! I'll definitely add it to the list 👍
@af_bets_6389
@af_bets_6389 4 жыл бұрын
Amazing video. I was able to follow all along up until the very end, where I ran into an issue with the @media query. When I write out .flex-container { @media (min-width: 43.75em) { display: flex; } } I get the error message "Invalid Property Name" when inspecting the Rules in Firefox. Any advice on how to troubleshoot this?
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Are you using SCSS or CSS? The above example is how you can write it in SCSS. It will be invalid in CSS. For CSS the @media rule needs to come first, and the .flex-container nested in it. Hope this helps!
@rncongi6641
@rncongi6641 3 жыл бұрын
Love the tutorial, I'm running into an issue with the @media query. When I add in the query, I'm never getting the flex display, both boxes are on top of each other even after adjusting size of window. Any suggestions?
@TheArtsyAxolotl
@TheArtsyAxolotl Жыл бұрын
I know this comment is like 2 years old and I'm sure you figured it out, but for anyone else passing by: I have no idea how she got it to work that way (not sarcastic or judgmental, I'm not great at this kind of thing so I genuinely don't know). I could only get it to work if I put the media tag on the outside instead of the inside. @media (min-width: 900px) { .flex-container{ display: flex; } } Hope that helps someone!
@bronnieg-beyondtheblockcha2830
@bronnieg-beyondtheblockcha2830 3 жыл бұрын
Your content is amazing and so helpful, thank you for sharing your knowledge!
@chome4
@chome4 3 жыл бұрын
How would you fit an image to the left of the first section's text And have it 'jump' above this text when on a mobile? I can do it, just about, with media queries, but flexbox seems to be good with simple contents, ie, not text and images, but I hope I'm wrong on this!
@farodelsurservicios
@farodelsurservicios 3 жыл бұрын
thanx for explain this way to work. It helps me!
@budstran2121
@budstran2121 3 жыл бұрын
How can I link web pages to flex container & replace the Main Content & Sidebar paragraphs? I have home, about, activity, service, contact links above flex contrainers and wanna display them on both flex containers. Thanks
@Jezza3110
@Jezza3110 3 жыл бұрын
nope - couldn't get this one to work :-( It's unclear if you created the dist folder or if its propagated by live sass compiler like the style.css is. I even deleted the code I had typed and copy/pasted from the codepen. no joy. uninstalled the extension and re-installed the extension but nothing just script/text from Index.html - frustrating as it was such a good video tutorial
@tonybp
@tonybp 3 жыл бұрын
I'm learning Flexbox and playing around with it... but something is driving me nuts: I have a flex-container and inside an image and a paragraph, when I set the flex-container to display:flex the image blows up to a huge size and the paragraph is all squashed up in a tiny narrow column... what's going on? what is making the image huge when all I've done is set the parent containter to display:flex... ???
@edlynpamittan194
@edlynpamittan194 3 жыл бұрын
I download the Kite and also in VScode when I try this code it and watch it live it's nothing change and it appears folder instead of html
@mr.thomaswaffles6700
@mr.thomaswaffles6700 3 жыл бұрын
Excuse me, how you make a sidebar on top of a sidebar?
@prahladkumarverma3035
@prahladkumarverma3035 3 жыл бұрын
Which extension you are using for this white text .
@rhymekidstv
@rhymekidstv 2 жыл бұрын
Oh wow! I have been enjoying your videos and I just realised I haven't subscribed yet. I have done it now. Thank you for making this tutorial simple to digest.
@markuzroy3014
@markuzroy3014 3 жыл бұрын
hello. great video. do you do a live mentorship?
@rodericklamano6488
@rodericklamano6488 3 жыл бұрын
Thank you. your amazing.
@vaibhavudande9837
@vaibhavudande9837 3 жыл бұрын
thanku
@B3T0M4N
@B3T0M4N 3 жыл бұрын
Any tutorial about SAAS?
@Wintry_j
@Wintry_j 2 жыл бұрын
So clickbait damn it’s suppose to be beginner friendly trying to make a website but can’t cause I’m using css not scss and make it impossible to understand it
@andregant9980
@andregant9980 4 жыл бұрын
Oh, you a coder CODER!?
@junaidtariq4547
@junaidtariq4547 4 жыл бұрын
which theme are you using
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Dark+ Materials but I tweaked the colors a bit
@carminalourdesatienzasopra9160
@carminalourdesatienzasopra9160 4 жыл бұрын
How to make it stack 18:57.
@esagecantu
@esagecantu 4 жыл бұрын
I can't connect the CSS to the index. I see that the index header it link to style.css. But when opened in VSC it is labeled as style.scss.
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Make sure the Live Sass extension is running, and check that it's generating a style.css file in your project. By default it will create it in the same location as style.scss, but in the video I had customized it so it generated it in the dist folder.
@andrewcalix9447
@andrewcalix9447 2 жыл бұрын
Kobayashi San
@syedacodes
@syedacodes 4 жыл бұрын
👌🏻
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
🙏
@Grewal0007
@Grewal0007 4 жыл бұрын
Is your husband/boyfriend is graphic designer expert? 🤔
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
Basically
@TheCoderCoder
@TheCoderCoder 4 жыл бұрын
And video editing/animation, altho I actually edited this one 😂
Responsive card UI with flexbox and hover effects | HTML/CSS
23:46
How to build a simple responsive layout with CSS grid
21:25
Coder Coder
Рет қаралды 28 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,5 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,8 МЛН
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 44 МЛН
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
Learn CSS Grid - A 13 Minute Deep Dive
13:35
Slaying The Dragon
Рет қаралды 563 М.
How to make your website responsive
39:13
Coder Coder
Рет қаралды 18 М.
The secret to mastering CSS layouts
17:11
Kevin Powell
Рет қаралды 282 М.
How to Properly Layout A Website (For Beginners)
14:50
The Website Architect
Рет қаралды 603 М.
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 486 М.
How To Create A Responsive 2 Column Layout Using HTML And CSS
19:44
Tech Talk Tutorials
Рет қаралды 10 М.
CSS Flexbox Crash Course
35:53
freeCodeCamp.org
Рет қаралды 211 М.
How to create a responsive HTML table
27:19
Kevin Powell
Рет қаралды 219 М.
5 simple tips to making responsive layouts the easy way
15:54
Kevin Powell
Рет қаралды 767 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,5 МЛН