CSS Flexbox Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024

ความคิดเห็น • 307

  • @NorlynCodes
    @NorlynCodes 4 ปีที่แล้ว +187

    0:00 -Your first Flexbox layout
    2:04 - Main axis and cross-axis
    3:55 - Justify Content
    6:22 - Positioning items
    10:00 - The flex property
    15:01 - Align items
    19:09 - Flex direction column
    23:09 - Wrapping
    25:15 - Flex grow, shrink, basis
    34:01 - Order
    37:09 - Creating a responsive Navbar
    42:42 - Creating a Flexbox image grid

  • @silviugherman7432
    @silviugherman7432 6 ปีที่แล้ว +10

    The idea of thinking in terms of axis really helped me grasp how different flex properties affect the items based on the flex-direction value of the container (default or not).

  • @Jwarddesign-ca
    @Jwarddesign-ca 2 ปีที่แล้ว +5

    I understood the majority of the flex property before, but I was confused with the whole grow/shrink values. This is by far the best explanation. Thanks!

  • @CknSalad
    @CknSalad 6 ปีที่แล้ว +45

    The flex-shrink, flex-grow, and flex-basis explanations and examples really helped. 26:00 for those that want to skip to that section.

    • @TheKrisu98
      @TheKrisu98 3 ปีที่แล้ว

      Exactly. Was looking for this info in this video :)

  • @juantoledo4857
    @juantoledo4857 6 ปีที่แล้ว +90

    Wow... Extremely well organized and presented and very clear and precise explanations. Thank you!

    • @Knards
      @Knards 6 ปีที่แล้ว +2

      All of Per's courses are like this. Very well done and interactive

  • @PedroDVC
    @PedroDVC 3 ปีที่แล้ว +9

    I've been trying to understand Flexbox from different resources and this one stood out, for sure!! Thank you for the great content!

  • @rahulshaw7673
    @rahulshaw7673 4 ปีที่แล้ว +6

    You don't Know How Happy Am I !!! I have been learning Css Flexbox for three Days But Didn't Understand anything but this tutorial Solved my all problems you are better than some of the Udemy Courses

  • @rafaelalvesduarte9117
    @rafaelalvesduarte9117 6 ปีที่แล้ว +4

    Your voice is so clear to hear that it becomes so easy to understand.

  • @morathanan
    @morathanan 3 ปีที่แล้ว +3

    Man, i dont know who you are, but at the age of 35, i only started learning code. Im struggling with flexbox for a while now, and you made it so clear its amazing! Thanks a lot.

  • @udaysharma444
    @udaysharma444 3 ปีที่แล้ว +5

    This was the best flexbox explanation I've ever seen

  • @etimhossana4432
    @etimhossana4432 3 ปีที่แล้ว +1

    Thank you so much, i have been struggling with div and flexbox for a couple of days now i kept searching for materials until i found this particular one and it has solved all my concerns. Thanks!

  • @naveedalirehmani2959
    @naveedalirehmani2959 4 ปีที่แล้ว +2

    i had this video in offline and i got it from a fellow classmate and after watching this video i thought that you deserved a like because this tutorial is just amazing thank you so much for creating this tutorial so i came on YOutube and tracked down this video just so i can press that like button

  • @itsprinceyadav
    @itsprinceyadav 3 ปีที่แล้ว +8

    All doubts cleared! I now have a better understanding of flexbox. Honestly, this is the best tutorial for flexbox on TH-cam.

  • @EliasKibret
    @EliasKibret 3 ปีที่แล้ว

    I was reading flex box documentation but this video helps me to understand flex box more quickly

  • @malaicristian360
    @malaicristian360 5 ปีที่แล้ว +7

    Dude, this explanation is just great. Very clear and efficient! Subscribed to the channel after this video. Thank you.

  • @neophytech007
    @neophytech007 4 ปีที่แล้ว +1

    before this tutorial i was really confused about flexbox..this cleared all my doubts

  • @worldclasscode1847
    @worldclasscode1847 2 ปีที่แล้ว +1

    Nice vid! Flexbox is key. One of the most important 3 features of CSS. And without CSS you cant do nothing on the web.

  • @EnesKab
    @EnesKab 2 ปีที่แล้ว

    This lecture is a proof of how some other guys out there tend to make things super complicated. Thank you !

  • @kaderlakhdar5735
    @kaderlakhdar5735 4 ปีที่แล้ว

    You realy helped me here, havent see others explaing the case about the need of putting flex:1 if we want one item to take more width, without declaring flex to the other items... also the css declararation specification was a good reminder , thank you ❤️

  • @KARIAP
    @KARIAP 2 ปีที่แล้ว

    when i first started learning HTML & CSS, i had no problem. FlexBox, though, was so hard to understand for me. Maybe because i was 14, but i really had a hard time understanding it for some reason. This was the last Flexbox video i've watched.

  • @leesungchan7162
    @leesungchan7162 4 ปีที่แล้ว +5

    "Hey!" at the begining of seach section. :) I like it

  • @KarinaStavenes
    @KarinaStavenes 4 ปีที่แล้ว +2

    This was really helpful, thank you! It was good to see how the grid moved with the different examples, which I hadn't quite understood when doing the exercises for the CSS Grid and Flexbox challenges. Thanks so much!

    • @gobi7764
      @gobi7764 3 ปีที่แล้ว

      I ran through grids and flexbox at a stretch and forgot most of it, So here I am

  • @zeropressure5409
    @zeropressure5409 3 ปีที่แล้ว +4

    one of the best explanation ever, thank you

  • @digigoliath
    @digigoliath 4 ปีที่แล้ว

    TQVM for this. It is well organised & presented. We are guided through the lesson examples with clear explanations and in an easy to understand manner. I especially like the interactive scrimba version where we get to do instant practice. I highly recommend this video!!

  • @nishantnimish7825
    @nishantnimish7825 หลายเดือนก่อน

    Still the best video on flex box 6 years later

  • @deepaks.m.6709
    @deepaks.m.6709 6 ปีที่แล้ว +12

    Thank you freecodecamp for doing this course as a video :)

  • @mariopizzaro
    @mariopizzaro 2 ปีที่แล้ว

    I've came across this course recently, thanks a lot !!!

  • @colekrause5882
    @colekrause5882 3 ปีที่แล้ว

    Best teacher for anything HTML or CSS related by far!

  • @shankerm3959
    @shankerm3959 4 ปีที่แล้ว

    Bite-sized lectures really do the job. Very well presented and explained. Thumbs up!

  • @mohaimennobel8558
    @mohaimennobel8558 4 ปีที่แล้ว

    i don't understand English so much but your speaking so easy to learn.Thank you sir

  • @harshitanand3798
    @harshitanand3798 3 ปีที่แล้ว +1

    Wow. Simply wow. So well organised and presented. Loved it. Thank you for the awsome content.

  • @karahitto
    @karahitto ปีที่แล้ว +1

    Excellent video, this really helped finally get it.

  • @HordanJarbinger
    @HordanJarbinger 4 ปีที่แล้ว +1

    Per Harald Borgen is an amazing teacher! Thanks!

  • @questscape
    @questscape 4 ปีที่แล้ว

    I have landed the right video for "flexbox".
    Clear explanation and great examples.
    Thank you freecodecamp :)

  • @drivenbycuriosity
    @drivenbycuriosity 4 ปีที่แล้ว +2

    Thanks a lot for this 🙏🙏 tutorial. Very organized content & superb explanation 🔥🔥🔥

  • @kirankandula2779
    @kirankandula2779 4 ปีที่แล้ว

    A perfect video to completely understand flex. Thanks for it.

  • @luancardosolc
    @luancardosolc 4 ปีที่แล้ว +3

    FreeCodeCamp is awesome, I am becoming a big fan hahahha

  • @renukar1286
    @renukar1286 2 ปีที่แล้ว

    The best video for FLEXBOX

  • @amandafinbarrs2060
    @amandafinbarrs2060 2 ปีที่แล้ว

    Thank you again freeCodeCamp. Amazing video!

  • @aawferris
    @aawferris 4 ปีที่แล้ว +1

    Such a clear and well-explained tutorial. Thank you very much for your hard work!

  • @hartdev05
    @hartdev05 3 ปีที่แล้ว

    Didn't feel like 48 minutes at all! Thanks a lot for this tutorial!

  • @Jasna88
    @Jasna88 3 ปีที่แล้ว +1

    First video i saw on scrimba, its great, u have great voice

  • @chadrackkyungu2167
    @chadrackkyungu2167 4 ปีที่แล้ว

    it was amazing i didn't have any clue in Flexbox but after learning this tutorial i'm fine now

  • @sravanstg234
    @sravanstg234 3 ปีที่แล้ว

    This was very helpful. Thank you so much.

  • @prakashreddy438
    @prakashreddy438 3 ปีที่แล้ว

    Freecodecamp is teaching freeof cost...u people doing a great job...

  • @alokranjan476
    @alokranjan476 5 ปีที่แล้ว +2

    Very informative and content is well explained.
    Thank you very much. Keep posting such videos.

  • @emmanuelzelarayan2561
    @emmanuelzelarayan2561 4 ปีที่แล้ว

    Thank you freecodecamp. Thanks to you I learn something new every day.!

  • @jawaddev808
    @jawaddev808 4 ปีที่แล้ว +16

    "Heyyyyyyyy" I love it :D

  • @0815CrossLight
    @0815CrossLight 6 ปีที่แล้ว +74

    Audio and video are out of sync in Lecture 7.
    Great video though!

    • @Beecherina
      @Beecherina 5 ปีที่แล้ว +11

      I was looking for a comment about this :D

    • @conaxliu9677
      @conaxliu9677 4 ปีที่แล้ว +18

      Glad you mentioned 'Lecture 7'. I was about to just close this video thinking the remaining would also be out of sync.

    • @bqrkhn
      @bqrkhn 3 ปีที่แล้ว +1

      @@conaxliu9677 I was about to close thinking my HomePod is out of sync :-D

    • @conaxliu9677
      @conaxliu9677 3 ปีที่แล้ว

      @@bqrkhn Maybe it is. 😆

  • @ShahFaisal-fs4wu
    @ShahFaisal-fs4wu ปีที่แล้ว

    Greeting Sir,
    Excellent explanation
    Sir saw lot of tutorials but you are the best.
    no words to thank you

  • @francislambert5189
    @francislambert5189 2 ปีที่แล้ว

    Hi, Per. I needed a moment and I got this to write. Awesome video for those that-need -to-know. Peace: )

  • @rogemmarkperez7417
    @rogemmarkperez7417 2 ปีที่แล้ว

    best css flexbox tutorial ever!

  • @raghuramkumar3121
    @raghuramkumar3121 3 ปีที่แล้ว

    Excellent Explanation !!! Thank you ...

  • @awaiskhalid4593
    @awaiskhalid4593 3 ปีที่แล้ว

    greatest flexbox vedio watched till today. hats off to you sir

  • @adi5194
    @adi5194 2 ปีที่แล้ว

    I think it would be better to say flex-basis sets the size along the main axis, which in a row is the width and in a column is the height.

  • @whitney2603
    @whitney2603 3 ปีที่แล้ว +1

    Amazing video, feelin' like a flexbox pro!

  • @adithyasanthosh30
    @adithyasanthosh30 4 ปีที่แล้ว

    One of the best video tutorial to get started with flexbox. Thank you so much :)

  • @luisangel19
    @luisangel19 3 ปีที่แล้ว

    Amazing!! Thank you so much =)

  • @arthurfloriano5445
    @arthurfloriano5445 3 ปีที่แล้ว +8

    This is a great course, but I wish you would have linked your code for the second CSS stylesheet "basis". Its hard to match up what you are doing if we don't know what's going on behind the scenes there (I'm a beginner). Otherwise, great course.

    • @RNeilen216
      @RNeilen216 2 ปีที่แล้ว

      I second that. How did you get each div a different color? In addition, when i set my container class height to 100%, it stretches to the bottom of the screen. My content looks nothing like yours.

    • @Valdaur
      @Valdaur 2 ปีที่แล้ว

      He showed the CSS code at the start of the video. You should be able to copy it in a couple of minutes.

  • @abubakarkibria9024
    @abubakarkibria9024 5 ปีที่แล้ว +1

    Well explained.
    Love the way the content creator present things!
    9.99 out of 10....he he he

    • @AM-oe7ix
      @AM-oe7ix 5 ปีที่แล้ว +1

      +0.01, 10/10

  • @ghork0312
    @ghork0312 4 ปีที่แล้ว +2

    1. (0:01) - Your First Flexbox Layout
    2. (1:57) - Main Axis and Cross Axis
    3. (3:54) - Justify Content
    4. (6:20) - Positioning Items
    5. (9:24) - The Flex Property

  • @rohithbti2k7
    @rohithbti2k7 3 ปีที่แล้ว

    Pretty nice explanation! Made flexbox very clear to me..thanks!

  • @albertcastaneto7245
    @albertcastaneto7245 2 ปีที่แล้ว

    Finished!
    Thank youuuu!

  • @oscarpauzerfilho2003
    @oscarpauzerfilho2003 3 ปีที่แล้ว

    Yeah!!! You did a VERY NICE JOB!!! Congrats and Thank You so Much.👍👍👍👍

  • @ronaldcsjohnson4790
    @ronaldcsjohnson4790 3 ปีที่แล้ว

    14:04 I did it in other way:
    .home, .logout{
    flex:2;
    }
    It will also work if you put flex:1

  • @robertbarr3638
    @robertbarr3638 4 ปีที่แล้ว

    I really enjoyed that video, I think you have explained flex box very well!

  • @User-escjqou
    @User-escjqou 3 ปีที่แล้ว +2

    The flex property 13:05

  • @naspre6736
    @naspre6736 3 ปีที่แล้ว

    Thank you for the content you provide. This is helping me turn my life around.

  • @trivender007
    @trivender007 3 ปีที่แล้ว

    Thank you .. very nice.. this is gold

  • @GildwareTechnologies
    @GildwareTechnologies ปีที่แล้ว

    this CSS Flexbox course, you will learn how to use Flexbox, a powerful layout model in CSS, to create flexible and responsive web designs. Flexbox is an essential skill for front-end web developers, as it simplifies the process of building complex layouts and aligning items within a container.
    Course Outline:
    Introduction to Flexbox:
    Understanding the concept of Flexbox and its advantages
    Exploring the Flex container and Flex items
    Learning the main axis and cross axis in Flexbox
    Flexbox Container Properties:
    display: flex; and display: inline-flex;
    flex-direction: row, row-reverse, column, column-reverse
    flex-wrap: nowrap, wrap, wrap-reverse
    justify-content: flex-start, flex-end, center, space-between, space-around, space-evenly
    align-items: flex-start, flex-end, center, baseline, stretch
    align-content: flex-start, flex-end, center, space-between, space-around, stretch
    Flexbox Item Properties:
    flex-grow, flex-shrink, and flex-basis
    flex: shorthand for flex-grow, flex-shrink, and flex-basis
    order: changing the order of Flex items
    align-self: overriding alignment for individual Flex items
    Flexbox and Responsive Design:
    Creating responsive layouts with Flexbox
    Using media queries to adapt Flexbox behavior on different screen sizes
    Building responsive navigation bars and content grids
    Flexbox Techniques and Design Patterns:
    Equal-height columns with Flexbox
    Vertical centering of content
    Sticky footers and off-canvas menus
    Card layouts and media objects
    Combining Flexbox with CSS Grid:
    Integrating Flexbox and CSS Grid to build powerful layouts
    Leveraging the strengths of both layout models
    Cross-Browser Compatibility and Vendor Prefixes:
    Understanding browser support for Flexbox
    Using vendor prefixes for older browser versions
    Best Practices and Performance Considerations:
    Writing clean and maintainable Flexbox code
    Performance tips for optimizing Flexbox layouts
    Throughout the course, you will work on hands-on exercises and real-world projects to solidify your understanding of Flexbox and how to use it effectively in your web development workflow.
    By the end of this CSS Flexbox course, you will have mastered Flexbox and gained the skills to create dynamic, flexible, and visually appealing layouts for your web projects.

  • @fanuel2198
    @fanuel2198 4 ปีที่แล้ว

    Thank you very much for such an educational video ! Nice presentation and easy to understand

  • @Naz-yi9bs
    @Naz-yi9bs 3 ปีที่แล้ว +1

    Even when I don't include "height: 100%;" in the basic.css file under the html, body tags the page is still responsive for me. As long as I have "height: 100%;" in my container selector within the index.html file. I am confused why it's working for me when he keeps saying in the video that it won't work.
    By the way, amazing video. Thank you so much!

  • @magalyriera
    @magalyriera 2 ปีที่แล้ว

    Very easy and I like your style of teaching thank you!!!

  • @nidhi131
    @nidhi131 6 ปีที่แล้ว

    Excellent Video Very Very Thanks . I learned whole flex-box

  • @amenyenujosue9570
    @amenyenujosue9570 3 ปีที่แล้ว +1

    the resolution of yours video is not clear...please for the next course correct it...thanks bcos you done great job...Be bless...

  • @klasp100
    @klasp100 3 ปีที่แล้ว +1

    Could not get it to do 41:17 with the flex: 1 1 50%; command. Could get it to work that way by using 30% instead of 50%. Only 2 elements would stack on each row that way, not 3 like you would suspect, since 30% fits 3 times inside 100%.

  • @trex_son5705
    @trex_son5705 5 ปีที่แล้ว

    Impressive job, awesome audio, loved the Grid course to, very interactive, its just like a tutorial for dummies, pardon me but in video format.

  • @tuyenscorner
    @tuyenscorner 3 ปีที่แล้ว

    It's very easy to learn. Thank you so much

  • @sphinxx8881
    @sphinxx8881 2 ปีที่แล้ว

    i was today years old when i realised pressing the number keys on your keyboard navigate to the timestamps/chapters looooll

  • @premchandkodali4215
    @premchandkodali4215 3 ปีที่แล้ว

    "Heyyyyyyyiii...." Thanks for the course :)

  • @halitozgur6166
    @halitozgur6166 2 ปีที่แล้ว

    There is a significant delay in the flex direction chapter (19:18). Due to this delay, a recognizable portion of the chapter is cut.

  • @niwanthakaweragoda9480
    @niwanthakaweragoda9480 3 ปีที่แล้ว

    Amazing video! Such a clear explanation!

  • @eternal8902
    @eternal8902 3 ปีที่แล้ว

    you are slamming, my man. tnx.

  • @computerscince8430
    @computerscince8430 3 ปีที่แล้ว

    the best flex box totourial ever thanks : )

  • @markovvoz8849
    @markovvoz8849 2 ปีที่แล้ว

    This was very good, huge Like

  • @moleendhadhaya2868
    @moleendhadhaya2868 7 หลายเดือนก่อน

    well explained thank you so much

  • @kevinzhang8974
    @kevinzhang8974 6 ปีที่แล้ว +9

    For Lecture 11, "Bonus - Reponsive Navbar", did you do any styling in basis.css for the ul and li? For example, set "list-style-type" to "none" for li? Can you share? Thanks!

    • @arpitj07_
      @arpitj07_ 3 ปีที่แล้ว

      Well it's seems he used "list-style-type:none".
      But i want to know how did he styled "search" input such that there's no border and only an underline in its place.

    • @bigk2367
      @bigk2367 2 ปีที่แล้ว +2

      @@arpitj07_ border: none;
      outline : none;

  • @redsevenbox
    @redsevenbox 6 ปีที่แล้ว +1

    This video just saved my life.

    • @deadredsky
      @deadredsky 3 ปีที่แล้ว

      Last night a DJ saved my life

  • @yes.marceloo
    @yes.marceloo 3 หลายเดือนก่อน

    very, very, very, veeeeeeeeeeeeeerrryyyyyyyyyy gooood. thank you very very very much

  • @luiswebdev8292
    @luiswebdev8292 2 ปีที่แล้ว

    Great tutorial!

  • @riteshmahajan9472
    @riteshmahajan9472 4 ปีที่แล้ว

    very intersting ! I would have to go through this video a couple of times to get down all the concepts. Anyways Thanks a lot man ! You made my day :)

  • @mohammednuru125
    @mohammednuru125 ปีที่แล้ว +1

    freeCodeCamp forever

  • @s3m3dov
    @s3m3dov 4 ปีที่แล้ว +2

    19:12 where I left, I'll continue
    I finished it, thanks)

  • @Roccowschiptune
    @Roccowschiptune 3 ปีที่แล้ว

    Incredibly helpful, thanks!

  • @t-h787
    @t-h787 4 ปีที่แล้ว

    you sir, are an absolute hero

  • @kevinzhang8974
    @kevinzhang8974 6 ปีที่แล้ว

    this is a very practical video ... I learned many tips from this .. Thank you!

  • @bishalbhatta6236
    @bishalbhatta6236 6 ปีที่แล้ว

    A great video, helped me to understand Flexbox. Thanks.

  • @andreurestrep
    @andreurestrep 2 ปีที่แล้ว

    Thanks to this video, I understood better CSS Flexbox. I'm so glad about the content that FreeCodeCamp provide us.

  • @wibowomuhmmad
    @wibowomuhmmad 4 ปีที่แล้ว +1

    Thank a lot, this video very Helpful

  • @amberbdr8168
    @amberbdr8168 4 ปีที่แล้ว

    Thank you so much.. i really enjoyed your teaching.👏👏👏