Build an HTML + CSS Layout with Flexbox in just a few lines of code

  Рет қаралды 472,801

LearnCode.academy

LearnCode.academy

Күн бұрын

Пікірлер: 194
@julialisboa9684
@julialisboa9684 4 жыл бұрын
I was watching an hour-long class on web dev, and, when they got to flex, I understood absolutely nothing. 30min explanation, nothing. I came here and in 7min BOOM. Amazing!
@aarikaturner6833
@aarikaturner6833 3 жыл бұрын
I just want to say how much this has helped me with my coding and web development class! My repositories look so much more professional! Thank you for breaking everything down to simpler terms!
@soulforthekindheart3766
@soulforthekindheart3766 2 жыл бұрын
this video jumped me 1 month ahead of the class per se, I researched this countless times. sometimes it is not the information we're looking for but the right teacher.
@Anna-ot7dg
@Anna-ot7dg 4 жыл бұрын
OMG you are the BEST! Thank you so so so much!!!! I have ADHD and this was MAGIC for me. To read or seeing someone talking about this...no, too much info to sort. To only hear and watch: perfect. I'm obsessed with HTML and CSS now.
@overflow7592
@overflow7592 4 жыл бұрын
How has the learning process been? Where are you now?
@MikeGTraining
@MikeGTraining 6 жыл бұрын
MORE!!! WE WANT MORE !! hahaha seriously tho you're a really good teacher. Really enjoying the series. Thanks
@sleazymansion639
@sleazymansion639 4 жыл бұрын
Agreed 👍🏽
@nenadmylink
@nenadmylink 4 жыл бұрын
Make sure we all watch all Ads on this channell so they give us more of this BEST available tutorials I have found on you tube!!!
@tristanbouchard9997
@tristanbouchard9997 3 жыл бұрын
These tutorials are actually how I'm learning to make my own professional website from scratch. A lot better when you're a developer and can say you made your site on your own without any tools like wordpress
@slimyelow
@slimyelow 2 жыл бұрын
The best explanation of inline block I have ever seen.
@vm6445
@vm6445 3 жыл бұрын
I was shocked that the video has ended already. Lol. You are explaining it very well!
@IronLloyd
@IronLloyd 5 жыл бұрын
Wow! amazing, you really showed me clearly on how to make layout. I am getting frustrated why I cannot do a basic layout, I thought I am the dumbest person in the world. With simple and clear explanation, you save me, now I can do my assignment. Thank you , I am a new subscriber.
@Lightdarksnake
@Lightdarksnake 6 жыл бұрын
Can't wait to build out more of the website! Always looking forwards to your videos!
@uaeson4386
@uaeson4386 3 жыл бұрын
You explain the concept clearly. I really need to dive deeper into flex layout and grid as well. Thank you so much.
@kariette4
@kariette4 4 жыл бұрын
So clear and well organized. Glad I could find it. Thank you!
@valentineonyedikachi1439
@valentineonyedikachi1439 Жыл бұрын
I love this, this tutorial is helping me master my coding abilities.
@YuuffyLIVE
@YuuffyLIVE 6 жыл бұрын
wow i learned so much from this, cant wait for more videos, thanks!!
@ubSjuicebox
@ubSjuicebox 3 ай бұрын
You helped me pass my exam thanks a lot man. this was helpful
@sethpahre7165
@sethpahre7165 Жыл бұрын
I could listen to you all day! Really great video, thank you
@TheDreamFx
@TheDreamFx 2 жыл бұрын
Hey, thank you for this series. I'm coming from matlab and python and wanted to have a look at webdev and your videos are very good starting point. Thank you so much!
@muhammadtalhaakbar826
@muhammadtalhaakbar826 2 жыл бұрын
This is what I was looking for. Simple to learn and great stuff. Thank you very much
@laceyhunter2209
@laceyhunter2209 4 жыл бұрын
I love when Jason Batemen does tutorials.
@silksong7277
@silksong7277 2 жыл бұрын
At 5:03 when you where typing in text for the li tags, how do you automatically jump to the next line in-between the html tags? Every time I press the down after typing in some text it places the cursor directly underneath on the next line. I looked at the shortcuts for macs in vscode but I don’t see a shortcut for it.
@EvanDear
@EvanDear 5 жыл бұрын
If you want to jump to the next tab like he did in 0:36, go to keyboard shortcuts in file-> preferance, search editor.emmet.action.nextEditPoint and create any key combination you want
@frouMagician
@frouMagician 4 жыл бұрын
thank you so much good sir
@EvanDear
@EvanDear 4 жыл бұрын
@@frouMagician you are welcome!
@poojagarg2028
@poojagarg2028 5 ай бұрын
I just loved your way of explaining each topic. Thanks for the great help 🙂
@sirClogg
@sirClogg 3 жыл бұрын
Thanks. It's the first time I ever worked with flexbox and I actually happened to use both column-reverse and row-reverse. The website has a set of rules in a form of image and text next to it. I wanted to have every other rule with text on the left and image on the right to make it more visually interesting. And with the mobile version, I wanted to be the rule with the image at the bottom.
@erlgr
@erlgr 5 жыл бұрын
Here I finish for today, you are really good at explaining!
@ourlittlefarminfulton4916
@ourlittlefarminfulton4916 3 жыл бұрын
I've run into a problem with flex. My browser shows the divs of the triple section centered on the screen in a column. Here is my styling code followed by the html: section { background: white; color: gray; display: flex; flex-direction: row; padding: 20px; } div { background: red; margin: auto; width: 100px; } header a b c lower saection footer Any help in understanding where I went wrong would be much appreciated.
@ourlittlefarminfulton4916
@ourlittlefarminfulton4916 3 жыл бұрын
I have found my mistake: a stray curly brace between my header styling and my section styling. The lesson learned is that the mistake may be outside the portion of the code where the mistake becomes apparent.
@rhinni
@rhinni 4 жыл бұрын
row-reverse and column-reverse can be very useful if you want to use the ~ (next siblings) and + (direct next sibling) selector. Since it only works on next siblings, reversing the order can make it possible to get the target elements as next siblings, even if visually they are previous siblings.
@twanmooij1224
@twanmooij1224 6 жыл бұрын
This is great. Had a bit of a background to HTML, but this explains it all. Can't wait for the next video's. Thanks!
@darwinvasquez1051
@darwinvasquez1051 6 жыл бұрын
I just was thinking on how can i learn to use flexbox.. thanks
@bayonmbayo2997
@bayonmbayo2997 5 жыл бұрын
Thanks for the courses video, I learn so much
@emilyhuang2759
@emilyhuang2759 5 жыл бұрын
shortcut: ul>li*3 Is there a way of including the href in the automation?
@sh_gs5
@sh_gs5 5 жыл бұрын
This is how you do it: ul>li*3>a
@janpedersen9120
@janpedersen9120 6 жыл бұрын
Really awesome, cant wait for next part. thanks a lot for doing this series.
@olililo215
@olililo215 4 жыл бұрын
"to some people somewhere in the earth." HAHAHAHA!
@cjeeckazad2995
@cjeeckazad2995 4 жыл бұрын
olililo maybe you will be this person one day.Who knows, Don’t sell your 🖊!
@carlerikssonskogh5784
@carlerikssonskogh5784 2 жыл бұрын
I don't understand where the css code is? when I made a website as a school project I had a separate tab in vs code with css code. what I mean is that the html file and css file was separated.
@fireantseason5629
@fireantseason5629 2 жыл бұрын
there are three different implementations you can have with css; the first is inline, which is where you insert the css directly into the html elements in the the second is internal css, which is what the video shows. you place the css into the of the document the third method, which is what you're thinking of, is external css, where you link the stylesheet in the
@carlerikssonskogh5784
@carlerikssonskogh5784 2 жыл бұрын
okay, I understand. Thank you for the explanation!
@szaboferenc1141
@szaboferenc1141 5 жыл бұрын
web developing is actually fking beautyful :O
@hanssans3040
@hanssans3040 3 жыл бұрын
No it isn't I only do it for the money imagine actually having any passion for this shit
@OhReseT
@OhReseT 4 жыл бұрын
Love your videos man. They're very informative and helpful. Please continue!
@sheikhshakoor5062
@sheikhshakoor5062 10 ай бұрын
Honestly man, your a blessing 🎉
@probhakarsarkar2430
@probhakarsarkar2430 3 жыл бұрын
Best css on earth. but the playlist is haphazard, cna you make a series?
@aah134-K
@aah134-K 6 жыл бұрын
These two videos need their playlist. Favorite video easy to follow. Do you have a video on your environment? Ad IDE
@eightfake9798
@eightfake9798 4 жыл бұрын
sorry im so late, but his IDE is Visual Studio Code by Microsoft
@naazimjaleel9546
@naazimjaleel9546 3 жыл бұрын
What a Great Class! Love it till Now!
@MD-nt9nv
@MD-nt9nv 5 жыл бұрын
Great clear easy to understand and well explained. What editor are you using?
@bhorpoetry7104
@bhorpoetry7104 5 жыл бұрын
visual studio code.......he is using ,,,
@nettaj2453
@nettaj2453 4 жыл бұрын
Another problem I'm having, when trying to figure out possibly what I did wrong with her flex button, is when I delete inline block, my list goes back vertical instead of staying horizontal. Am I missing something??? It looks just like his screen.
@MatttCollins
@MatttCollins 4 жыл бұрын
Same here, I can't figure this one out. I thought it might just be a problem with chrome but it doesn't display as a row in any browser I try.
@MatttCollins
@MatttCollins 4 жыл бұрын
Figured it out. You probably have your HTML set up like this: a Div>b Div>c but you need it set up like this: a Div>b Div>c . Your div tags need to be nested inside the tag.
@nettaj2453
@nettaj2453 4 жыл бұрын
I'll check it out. Thank you.
@sebagabomoses619
@sebagabomoses619 Жыл бұрын
Thank you sir for all your time But below footer how did it turn white
@SpookySkeletons
@SpookySkeletons 9 ай бұрын
How do you jump to a new line without carrying over the end of the previous line? Or jump to the very end behind the text in one line? Online it says "END" but that doesnt work
@ebizguy23
@ebizguy23 5 жыл бұрын
Interested in the next video on Flexbox. It seems like you were going to make another video on it. Sincerely, Kim
@bensamsabu3047
@bensamsabu3047 4 жыл бұрын
your classes are just great...Thanx a lot
@whoeverwhoever400
@whoeverwhoever400 5 жыл бұрын
5:29 If ul has the margin and padding 0 by default, then why did you type them? are they necessary?
@waseemahmed2567
@waseemahmed2567 4 жыл бұрын
if you want the text to start at very beginning of the block then do that ...Its quite similar to what we did to body(selector) to remove the left and right spaces
@chslamenik9131
@chslamenik9131 4 жыл бұрын
How do you do the quick switching between those lines of code? If I use just an arrow, it throws the cursor in the wrong place. Thanks!
@mihaialexandru5264
@mihaialexandru5264 5 жыл бұрын
dude thanks a lot ur videos helped me pass my exam I love u BIG UP
@DmitryRee
@DmitryRee 6 жыл бұрын
Thanks for the video. How to get half screen both for code and browser? Any html extension needed?
@hideokzm
@hideokzm 6 жыл бұрын
no you don't need any extensions to do that. just minimize you code editor same with the browser.
@lewiscritchley958
@lewiscritchley958 6 жыл бұрын
if you are on windows hold window key and press the arrow key if you are on mac hold the green window full-screen button at the top and drop and drag
@NatiNoot
@NatiNoot 6 жыл бұрын
when i do div*3 nothing happens, how do i fix this?
@mikej7476
@mikej7476 6 жыл бұрын
This is a stupid question but, do you hit "enter"?
@Redheadtama1
@Redheadtama1 6 жыл бұрын
This will only work if you have Emmet installed. Emmet is installed by default in VS Code but if you are using another editor such as Brackets or Sublime, you may need to add it as an extension.
@NatiNoot
@NatiNoot 6 жыл бұрын
@@Redheadtama1 oops. 0:33 he says to hit tab, my bad guys
@MrAlwiinn
@MrAlwiinn 5 жыл бұрын
Thank you dude! xD
@azariahexplore1360
@azariahexplore1360 4 жыл бұрын
Yeah the same thing happens for me, I hit tab and everything but nothing happens and I’m using vs code
@ryemccoy
@ryemccoy 6 жыл бұрын
Reverse direction can sometimes be useful for responsive stacking...when you want something on left to be on bottom of a stack...for instance.
@bigcheesepuff1
@bigcheesepuff1 6 жыл бұрын
Cant it be used to sort a list of items?
@rahmats.8913
@rahmats.8913 4 жыл бұрын
how to bring the li section to the right corner of the page?
@matoblazek17
@matoblazek17 6 жыл бұрын
When is the next vid commin out, i cant wait :D
@aultravision123
@aultravision123 Жыл бұрын
This video helped me out so much man
@Bongorfians
@Bongorfians 4 жыл бұрын
I have a question. What is the point/reason in learning web development this way instead of using another website to make one? for example wix and webflow
@pavlemilosevic8224
@pavlemilosevic8224 4 жыл бұрын
So you think facebook or youtube could be made on wix or webflow?
@bhavanshgupta6476
@bhavanshgupta6476 5 жыл бұрын
which key shortcuts do you use to directly jump from middle to end of tag . i use arrow key + ctrl but it goes one at a time and gets really annoying
@dashingammar9747
@dashingammar9747 4 жыл бұрын
End key I guess?
@phoenixflamez6859
@phoenixflamez6859 3 жыл бұрын
bro u are a legend thanks for the big help
@ibeky_1
@ibeky_1 6 ай бұрын
i watched a lot of coding learning vidios and i did not learn anything. i watched this and BOOM
@eurostar0711
@eurostar0711 4 ай бұрын
It seems really easy and logical. Is it easier now than it used to be? Im asking because the video is 5 years old so maybe there is some advancement in this field.
@chapmansbg
@chapmansbg 6 жыл бұрын
what text editor is that and extension allows you to do multiple tags with a multiplication sign?
@kevinserrano2057
@kevinserrano2057 6 жыл бұрын
VS Code
@chapmansbg
@chapmansbg 6 жыл бұрын
@@kevinserrano2057 I thought the package was emmet!
@andrewtram3256
@andrewtram3256 6 жыл бұрын
Love it! Very direct tutorial
@travishill3002
@travishill3002 4 жыл бұрын
Why not use flexbox for the nav too?
@muhammadidrees6650
@muhammadidrees6650 5 жыл бұрын
what font do you have in your editor, please?
@nettaj2453
@nettaj2453 4 жыл бұрын
My display (ex: display: flex;) is not blue. All of the other style tags are (background, color, and padding). I keep going back but I don't understand what is wrong. Please help me as I want to continue to learn.
@battlesocke
@battlesocke 4 жыл бұрын
Did you add a semicolon ; to the end of the previous line?
@hartfordacademy7375
@hartfordacademy7375 3 жыл бұрын
This is the BEST tutorial EVER! I could KISS you right now man!
@ricardovazquez2274
@ricardovazquez2274 5 жыл бұрын
Ive seen alot of use margin: auto; why not use space-between or space-around ?
@DavidElstob73
@DavidElstob73 4 жыл бұрын
Beginner friendly - that's why!
@dorotaparzych2830
@dorotaparzych2830 4 жыл бұрын
I don't understand one thing because I want a similar header as you showed in the movie ( in my case instead of a header a have a head which is above the body) When I want the black background to be stretched all over the width of the page... Why applying margin 0; and padding 0; to the header isn't working while writing the same in the body does the trick even though the body is below head? Thanks in advance. Ps. I really appreciate your content! It helped me to break through the problems of a fledgling WebDev:)
@dariusz8005
@dariusz8005 3 жыл бұрын
How add post window php in row ?
@TechDeviceFixerCZ
@TechDeviceFixerCZ 5 ай бұрын
The row-reverse value is likely useful for Arabic or other languages that are written right to left :)
@daverdal1
@daverdal1 4 жыл бұрын
Great video, only recommendation is to use a black background so its easier on the eye balls.
@kritimandal686
@kritimandal686 5 жыл бұрын
i just loved it. Thank you.
@goncalocantante
@goncalocantante 4 жыл бұрын
Great videos man, thank you!
@imani828
@imani828 4 жыл бұрын
Very Helpful - thank you
@lifegpt
@lifegpt 5 жыл бұрын
I don't get how that multiply command works when i type in div*2 or whatever it displays it in the code but doesnt multiply the code by 2?
@mastertyystudios5572
@mastertyystudios5572 5 жыл бұрын
Did you press tab? I guess it also depends what IDE you're using.
@oksanaaloshyna2222
@oksanaaloshyna2222 5 жыл бұрын
Very glad that I've found this awesome course, thank you! Have a little question: for some reason,
@emilyhuang2759
@emilyhuang2759 5 жыл бұрын
Might note help, but in the older version of these videos, he had us install Emmett library.
@TheFlyingFerret
@TheFlyingFerret 4 жыл бұрын
If your using visual studio code, don't type the '
@ORIJINN_STUDIO
@ORIJINN_STUDIO 5 жыл бұрын
Excellent tutorials
@richowens5254
@richowens5254 5 жыл бұрын
what code editor are you using for this tutorial?
@abhishek.rathore
@abhishek.rathore 5 жыл бұрын
Visual Studio Code
@RandyX8
@RandyX8 6 жыл бұрын
What software do you write your code in? It seems very handy!
@kevinserrano2057
@kevinserrano2057 6 жыл бұрын
VS Code, duh
@RandyX8
@RandyX8 6 жыл бұрын
Thx
@RobisHaTa
@RobisHaTa 5 жыл бұрын
on this day still, you should use float layout because not all browser supports flexbox or parts of it but you have to know all 3 ways of laying your design
@hilmiarkan
@hilmiarkan 6 жыл бұрын
please do the backend course, like php and mysql. Thanks!
@badreddinesalmi6412
@badreddinesalmi6412 5 жыл бұрын
visual studio code
@muhammadrehan6a628
@muhammadrehan6a628 3 жыл бұрын
Hello , I have a Q how does your browser reload automatically
@valuxia1
@valuxia1 3 жыл бұрын
it doesn't on windows its ctrl+b but for mac i dont know i think its command b
@igotofaith
@igotofaith 5 жыл бұрын
what Application are you using?
@coreyf9475
@coreyf9475 4 жыл бұрын
at the display: inline;, the background-color disappeared and the 3 sections remained as one.....
@coreyf9475
@coreyf9475 4 жыл бұрын
this is a 7:04 or about, can not get past this point and don't know why
@crazy1star
@crazy1star 4 жыл бұрын
I'm having an issue in Dreamweaver where I put display: flex; and follow it with flex-direction: row; and nothing happens. I may or may not be just dumb but any tips would really help this noob out. These tutorials are immensely helpful to someone with 0 coding experience, btw. Update: I think I figured out why the display changes werent affecting my abcd divs. However, when I set the margin to auto they get super spread out lol Up-Update: Nvm I get it now lol.
@DrLobster
@DrLobster 6 жыл бұрын
CSS Grid would be a great addition, if you already haven't done one yet.
@markanthonybautista1325
@markanthonybautista1325 5 жыл бұрын
Great tutorial!!
@UXSpecialist
@UXSpecialist 5 жыл бұрын
when I press tab after typing in "a" it turns into an "a href=" but when he presses tab, his cursor goes to the line below in between the div tags. Why?????
@nickeax
@nickeax 5 жыл бұрын
Not all actions performed by pressing tab are Emmet actions. Some are 'snippets' and you can easily make your own. One setting to keep in mind is to have the snippets appear as the first preference.
@wojtekbar
@wojtekbar 4 жыл бұрын
@@nickeax Thanks for the answer, I was also wondering about this one. Would you be able to elaborate, how exactly this is done?
@nickeax
@nickeax 4 жыл бұрын
@@wojtekbar "editor.snippetSuggestions": "top"
@ducko2357
@ducko2357 5 жыл бұрын
What software does he use?
@muhamedgalal3093
@muhamedgalal3093 5 жыл бұрын
Mac os
@UXSpecialist
@UXSpecialist 5 жыл бұрын
VS Code (VISUAL Studio Code)
@pavlemilosevic8224
@pavlemilosevic8224 4 жыл бұрын
For some reason I can't make my margin-right work for li, even after doing all you did in tutorial. Here goes the code: li{ display: inline-block; margin-right: 20px; } I will comment the rest of my CSS code if I made mistake there. Update: I solved this, but from the other side I didn't. I just abandoned first document and did everything again and this time it worked fine, idk what was wrong first time but now everything is alright.
@pavlemilosevic8224
@pavlemilosevic8224 4 жыл бұрын
body{ background:rgb(88, 88, 88); color: white; font-family: Arial, Helvetica, Helvetica Neue, sans-serif ; margin: 0; padding: 0; } header{ background: black; padding: 20px 40px; } section{ background: white; color: gray; padding: 20px; display: flex; flex-direction: row; } div{ background: red; margin: auto; width: 100px; } footer{ background: black; padding: 10px 20px; } ul{ margin: 0; padding: 0; list-style-type: none; } li{ display: inline-block; margin-right: 20px; }
@tranquilmagister8481
@tranquilmagister8481 2 жыл бұрын
4:33 it is a little bit different *qwack sounds* xD well that was at least different. Jokes aside, years latter still really good tutorial
@dudebroguyman
@dudebroguyman 6 жыл бұрын
Does anyone know what text editor this is?
@Redheadtama1
@Redheadtama1 6 жыл бұрын
VS Code
@dudebroguyman
@dudebroguyman 6 жыл бұрын
@@Redheadtama1 Thank you. Much appreciated friendo.
@yanair2091
@yanair2091 5 жыл бұрын
iT,S really not a text editor. Maybe HTML editor or even IDE, but not text editor. I think it's a good practice to be precise with terms when it comes to dealing with computers.
@victorlara8356
@victorlara8356 6 жыл бұрын
Can you make a tutorial on html5 canvas websites ? Using three.js maybe ?
@sakinak8643
@sakinak8643 5 жыл бұрын
Thank you thank you thank you SOOO MUCH!!
@M4t9_23
@M4t9_23 10 ай бұрын
is someone also watching this at 1.5 the speed??
@bdrsubuntu3159
@bdrsubuntu3159 4 жыл бұрын
so far so good
@zealace8573
@zealace8573 6 жыл бұрын
good video...please do in separate page for css..
@Bazluu
@Bazluu 5 жыл бұрын
Are we abandoning the triple-section? PS loving the videos
@waseemahmed2567
@waseemahmed2567 4 жыл бұрын
Awesome Videos really awesome
@PerchEagle
@PerchEagle 4 жыл бұрын
serious intro = serious programmer
HTML CSS TUTORIAL FOR BEGINNERS - multiple pages
9:09
LearnCode.academy
Рет қаралды 624 М.
The CSS Display Property is Changing Forever
15:20
Web Dev Simplified
Рет қаралды 62 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 29 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 14 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 37 МЛН
EASY! Hand-code an HTML + CSS layout
11:24
LearnCode.academy
Рет қаралды 523 М.
Learn Flexbox in 15 Minutes
15:12
Web Dev Simplified
Рет қаралды 1,2 МЛН
HTML & CSS Tutorial - Ways to code images...and how to do it well
22:25
LearnCode.academy
Рет қаралды 372 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,7 МЛН
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Coding2GO
Рет қаралды 287 М.
Learn CSS Positioning Quickly With A Real World Example
8:32
Slaying The Dragon
Рет қаралды 704 М.
How to Properly Layout A Website (For Beginners)
14:50
The Website Architect
Рет қаралды 666 М.
Learn flexbox the easy way
34:04
Kevin Powell
Рет қаралды 730 М.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
Hyperplexed
Рет қаралды 1,9 МЛН