Responsive layout practice for beginners

Поделиться
HTML-код
  • Опубликовано: 24 окт 2024

Комментарии • 150

  • @nove1398
    @nove1398 10 месяцев назад +90

    Videos hardly go in depth like this, maybe for other reasons of course but i would really love to see more detailed videos like this. I definitely recommend this channel for real learning.

    • @S_U_M_E_R
      @S_U_M_E_R 9 месяцев назад

      this channels been here for a long time lol what're you talking about?

    • @morganwey
      @morganwey 8 месяцев назад

      ? ​@@S_U_M_E_R

  • @nemeziz_prime
    @nemeziz_prime 10 месяцев назад +23

    We need more of these project videos Kevin. Your methods to tackle common web dev problems is really amazing and helpful for other devs. It'd be great if you could do more of these videos

  • @Rubi-fn9uu
    @Rubi-fn9uu 10 месяцев назад +10

    I've learnt more in this video than in my 3 years of web development in high school. Thx Kevin!

  • @iChrisBirch
    @iChrisBirch 8 месяцев назад +2

    So many pieces of gold throughout this video for anyone newer to css. Thank you for not editing out the part where you had to change the design and go a different direction!

  • @111earthangel5
    @111earthangel5 10 месяцев назад +10

    Thank you for this awesome video. I recently completed the Responsive Layout Course and I just want to THANK YOUUU. The course has changed the way I tackle building responsive layout designs. Enjoyed it and learnt so much from it. I’m excited and a lot more confident in building my first portfolio project. Would 100% recommend to anyone who hasn’t taken it by now

    • @mraihan295
      @mraihan295 9 месяцев назад +1

      How long did you take to finish the responsive layout course? I was thinking to take the course too

  • @chukwuebukaokonta167
    @chukwuebukaokonta167 8 месяцев назад +2

    My love for CSS is growing solely because of you. Lovely videos

  • @radjeevdharampal4923
    @radjeevdharampal4923 7 месяцев назад

    I'm a beginner, but this video is clear as cristal. Great explanation and inviting to experiment with coding. Thank you so much. ❤

  • @pscrim
    @pscrim 9 месяцев назад

    Just brilliant. This format really helps, we can sit along side you and not only learn a lot but also compare our own thoughts and solutions to yours. Thank you.

  • @erikjansson2329
    @erikjansson2329 10 месяцев назад +1

    Very useful video. Thank you! For the “problem” there is actually an element for that:


    Note that the is not part of the . So your solution might be better in the case in the video.

    • @AlexanderBelov-y8o
      @AlexanderBelov-y8o 10 месяцев назад

      It is deprecated now.

    • @erikjansson2329
      @erikjansson2329 10 месяцев назад +1

      @@AlexanderBelov-y8o No it isn’t. Where did you get that information?

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      hgroup is was a good idea that never really took off. It is also an odd one, that was removed from the W3C standard, but not the living standard. Really the purpose is to remove the secondary headings from changing the outline like I said it would, and so I personally think it's easy enough not to bother and just use a paragraph anyway.

  • @AlphaPlus9
    @AlphaPlus9 10 месяцев назад +6

    At 1:09:44, you have to assign the grid-area in the media query, or it will break on smaller screens. You put them below the .card which puts them in areas that don't exist. Another option is to add:
    grid-template-areas:
    'one'
    'two'
    'three'
    'four';
    to .layout-grid.

    • @acidfreq7
      @acidfreq7 9 месяцев назад +2

      God bless you! Thank you!

    • @KachinVictor
      @KachinVictor 6 месяцев назад

      Yes, sure! Exactly! Thank you!))
      I solved this problem differently, but it turned out too straightforward. You have the best decision!

    • @MoosaAftab-w9j
      @MoosaAftab-w9j 6 месяцев назад

      thank you soo much God Bless you

    • @LeandroMartinez-pc6du
      @LeandroMartinez-pc6du 5 месяцев назад

      THANKS!!!

  • @noiamnotsomebodyelse
    @noiamnotsomebodyelse 10 месяцев назад +1

    Love your work mahn, I'm an intern web developer and I must say you have helped me a lot and appreciate what you do for the programming community.

  • @Kj-gr9fv
    @Kj-gr9fv 9 месяцев назад

    Kevin, I can’t thank you enough for this walkthrough! I am a digital designer who is just starting to learn to code. I’m not very far along in my HTML/CSS training yet but seeing someone work on a real project and talk through considerations along the way was incredibly valuable in my learning. It also helped get my psyched up to keep learning even though it’s a daunting skill to tackle. Thanks very much!!

  • @ManWhoLostTheWar
    @ManWhoLostTheWar 10 месяцев назад +1

    i love when developers on youtube go super in depth explaining everything, especially to do with the responsiveness of webpages

  • @divix30
    @divix30 8 месяцев назад

    Maybe finally this year I will get a job as Junior Web Developer thanks to you, my dream for a long time. Great job in explaining everything you do on video. Need more people like you on RUclips :)

  • @zoa_photo
    @zoa_photo 8 месяцев назад

    This was an awesome video ! I've been following you for years now and your content gets better and better. I love this long format when you go deep down in explaining the building process of a whole section. You should do more of that ! Thank you !

  • @aidenberzins
    @aidenberzins 10 месяцев назад

    Thanks for the tip on headers! It's very overlooked but also makes it considerably easier to follow the page from an accessibility standpoint.

  • @nasimajosefi
    @nasimajosefi 10 месяцев назад +8

    Love your break down, please continue with this series every week.

    • @KevinPowell
      @KevinPowell  10 месяцев назад +7

      Definitely not every week, but I'll do them maybe one a month or once every 2 months :D

    • @nasimajosefi
      @nasimajosefi 10 месяцев назад

      @@KevinPowell as long as you continue with it 👍🏻❤️

    • @lionelfaith3646
      @lionelfaith3646 10 месяцев назад +1

      @@KevinPowell One a month is better, if you can for sure

  • @six2101
    @six2101 4 месяца назад

    i cant believe i finished it, its so good and informative, imma create my own web now. thankyou

  • @faheem7504
    @faheem7504 7 месяцев назад +2

    man's a god-tier teacher of html css.

  • @kerrykreiter445
    @kerrykreiter445 6 месяцев назад

    Really awesome follow up video to the glass morphism tutorial. Thank you Kevin!

  • @annacibotari2446
    @annacibotari2446 10 месяцев назад +2

    The best channel for real learning! Thank you, Kevin!

  • @jkoctopus
    @jkoctopus 9 месяцев назад

    you have a unique way to explain the basics (not so basic) of css, thank you for sharing your knowledge

  • @isancreativedesigns9259
    @isancreativedesigns9259 5 месяцев назад

    I like tutorials that have the warts and all so we can see things going wrong and the thought process to fix it.

  • @Avarn388
    @Avarn388 10 месяцев назад +5

    Thank you, Kevin. I’ve been in a bit of a programming rut and I’m starting to get back into it and I’ve been wanting to improve with CSS. These videos are really helpful for folks like me. I hope you had a wonderful Christmas weekend. And thank you for everything.

    • @WebDevXpert
      @WebDevXpert 9 месяцев назад

      For unique Projects series visit my channel @Prointech05
      Login Form in HTML & CSS |Animated Login Form using Html & CSS | by Pro inTech
      Must watch: ruclips.net/video/18Ohl9IB9aw/видео.html

  • @iMickoymouse
    @iMickoymouse 6 месяцев назад

    I hope you continue doing more of this. I've learned a lot by watching your videos. If I may be so bold and suggest that maybe a next one can be the workit landing page from frontendmentor. I feel like there's a lot of positioning stuff in there albeit being tagged with a difficulty of newbie. Anyhow, thank you for these videos! I always come back to your videos whenever I need a refresh and/or continue learning!

  • @MrOliver1444
    @MrOliver1444 10 месяцев назад +1

    Kevin is such a nice, entertaining and funny guy! I love your videos. I can follow along with how you explain and lay out stuff so easily. In the future I will buy some courses when I need them. Thank you so much for your efforts!

  • @mustafeismajli2810
    @mustafeismajli2810 8 месяцев назад

    The simplest way how I fixed the problem of border-top color is this :
    .col:nth-child(1) > .card{
    border-top: solid 0.25rem var(--clr-supervisor);
    }
    .col:nth-child(2) > .card:nth-child(1){
    border-top: solid 0.25rem var(--clr-teambuilder);
    }
    .col:nth-child(2) > .card:nth-child(2){
    border-top: solid 0.25rem var(--clr-karma);
    }
    .col:nth-child(3) > .card{
    border-top: solid 0.25rem var(--clr-calculator);
    } . I could've done just border-color on each one, but i decided to do on this way .
    Your videos are amazing and helpful btw!

  • @deadlyecho
    @deadlyecho 10 месяцев назад +1

    You are the developer I aspire to be, your thinking process is extraordinary my friend ❤

  • @bertugturker9565
    @bertugturker9565 10 месяцев назад

    even tho i am using tailwind and 99% of the time gotta stick to it i enjoyed the whole video. thanks Kevin always educational to watch you🙏🏻

  • @3208nandu
    @3208nandu 9 месяцев назад +1

    Great video with superb detailing thanks Kevin.just one thing i have noted you haven't put
    .card:nth-child(1) {
    grid-area: one;
    }
    .card:nth-child(2) {
    grid-area: two;
    }
    .card:nth-child(3) {
    grid-area: three;
    }
    .card:nth-child(4) {
    grid-area: four;
    }
    it should be inside media query

    • @vishalgaur11
      @vishalgaur11 7 месяцев назад +1

      Thanks brother was looking for this only

  • @mrtuncer
    @mrtuncer 9 месяцев назад

    i really enjoyed while watching, working on js nowadays but this made me remember all flex grid constructs again... thnks for all Kevin👍

  • @kevinebenhezer8912
    @kevinebenhezer8912 8 месяцев назад

    amazing. This is the reason i subscribed, i like how detailed your explaination and solution is. At some point, it did really make me kinda awkward for like putting those margin and padding for no reason haha. For a super beginner Web Developer like me, there is so much i can learn from ur vids, love it! Keep up the good work sir, and good luck!

  • @dhirajkaradage
    @dhirajkaradage 10 месяцев назад +1

    Before watching entire video I can say that it is worth watching

  • @jacobwwarner
    @jacobwwarner 2 месяца назад

    Reaching the end I definitely like the grid solution more than flex. Following what I've heard you say in other videos, grid is better when you want the parent to exercise control of its children. So, in this example, you can have more control just adding properties to the `.layout-grid` rather than having to also worry about the `.card` for layout positioning. `.card` just becomes concerned with styling.

  • @arduriki
    @arduriki 7 месяцев назад

    Awesome video Kevin! I've just learned CSS Flexbox and Grid, and I was looking for a project to watch them into practice. I felt like if I were pair programming with you Kevin. Thank you very much for this video and congratulations for the channel which is helping me to fall in love with CSS.

  • @imsecretshine
    @imsecretshine 10 месяцев назад

    Amazing style of teaching... Your teaching process is amazing...

  • @karenbyrd1865
    @karenbyrd1865 10 месяцев назад

    Always great, Kevin. Loved the snippet about windows powertoys will install, but wanted to let everyone know the colors are listed in the style-guide. They are listed above the neutral colors.
    I love watching your videos to see different points of view on projects.

  • @paulsicurello2333
    @paulsicurello2333 9 месяцев назад

    Thank you I really enjoy learning from you, you make it a fun and relaxed atmosphere

  • @mitetoOoOoO
    @mitetoOoOoO 10 месяцев назад

    Thank you for this tutorial. I just did this challenge (all by myself, without copying) after watching your video and it was a great practice experience. Just a quick comment - at 22:05 when you copy the neutral colours and say that you'll use colour picker for the primary one, they're there, above them. We don't need the colour picker.

    • @KevinPowell
      @KevinPowell  10 месяцев назад +1

      Oops, missed that somehow, lol

  • @ulriklarsen2239
    @ulriklarsen2239 8 месяцев назад

    you are a great teacher and your knowledge is very inspiring !

  • @thechannel8616
    @thechannel8616 6 месяцев назад

    At 56:00 if you want to use the card's order to change the border color you could use the nth-of-type selector and it would've given the same effect had you used a grid with 4 direct children. Great video!

  • @mkrichey1
    @mkrichey1 10 месяцев назад

    I have been away from CSS for the better part of a decade, thank you for the catch-up on some of the new features, excited to learn more!

  • @ofcljaved
    @ofcljaved 10 месяцев назад

    The thing that blow my mind out of the window is the usecase of margin-left:auto; Obviously My first thought was using grid is easy but Today I learn this basic thing which eventually impact more.

  • @Mirzaisha11
    @Mirzaisha11 10 месяцев назад

    you are the best teacher of css out there

  • @phucnguyen0110
    @phucnguyen0110 10 месяцев назад +1

    Yes, another legendary Frontend Mentor project!

  • @prayforsilencevillanueva2688
    @prayforsilencevillanueva2688 7 месяцев назад

    Thank you Sir Kevin a.k.a. GOD OF CSS!!!

  • @nigelarmstrong252
    @nigelarmstrong252 8 месяцев назад

    Hi Kevin, thanks for all the great videos you've made over the years.
    You were wearing a t-shirt the other day which made me realise I've been mis-hearing you on every video with your introduction !
    I've always heard "Hello my friend and friends". Thought it a bit odd but got used to it being your greeting.
    Then I saw your t-shirt on a recent video and it had "Front end" on it. Suddenly the penny dropped !!
    I can just about hear you say "Hello front end friends" but it still sounds like "friend and friends".
    Thought I'd let you know as it might give you a laugh !
    Regards.

  • @kiralight8423
    @kiralight8423 9 месяцев назад

    I am gonna use this to learn web dev and change career, more of this please

  • @mauriciovargasrincon3368
    @mauriciovargasrincon3368 4 месяца назад

    Thank you kevin for these videos, they are very good and you really learn. In the final part when you make the change to "Grid" when it is displayed again in mobile mode (375 px) all the cards overlap :( ... Thanks again for these good videos.

  • @seekknowledge1928
    @seekknowledge1928 10 месяцев назад

    Please post this type of detailed video every week....

  • @paulok2153
    @paulok2153 9 месяцев назад

    Yeah man, your good to watch. Cheers.

  • @dienvidbriedis1184
    @dienvidbriedis1184 8 месяцев назад

    table and rowspans! easy peasy!

  • @ashawesomeone
    @ashawesomeone 9 месяцев назад

    46:45 instead of using display grid on .col,you can also give the parent (.layout-grid) "align-items: center"

  • @samirmulla8176
    @samirmulla8176 10 месяцев назад

    Thanks for creating this amazing video based on responsive design 🎉🎉🎉

  • @mfy0108
    @mfy0108 10 месяцев назад

    From all solutions I liked grid the most, because flex sometimes do some weird stuff where I feel like grid would be more stable and trusting.

  • @brandonr483
    @brandonr483 9 месяцев назад

    Was that a joke? "We need to get Poppins" ... hahah. Excellent walkthrough! Thanks for sharing your insight and knowledge. Happy New Year!

  • @llzeeuw
    @llzeeuw 10 месяцев назад

    Very helpful, thank you so much!

  • @noursalepan9673
    @noursalepan9673 10 месяцев назад

    My teacher Kelvin great always love your explanation ❤ but l recommend you using html css autocomplition extention for vscode no more viewing your classes switching from html to css😂

  • @deatho0ne587
    @deatho0ne587 10 месяцев назад

    For Grid vs Flex. Normally go with one and swap to the other if I do not like the first one, think I lean to grid first though. It does not matter to much since it is easy to swap between the two normally.

  • @shaunnicholson4916
    @shaunnicholson4916 10 месяцев назад

    Power Toys has a good measuring tool called: screen ruler, really comes in handy, if enabled in Power Toys defaults to Windows Shift M

  • @iamsavishka
    @iamsavishka 3 месяца назад

    Thank you so much.

  • @salomonik
    @salomonik 10 месяцев назад

    more projects like that please

  • @SuperGylden
    @SuperGylden 10 месяцев назад +1

    Great video. As always. Would have loved to see you checking for contrast though

    • @KevinPowell
      @KevinPowell  10 месяцев назад +1

      Meant to at the time and then forgot, sorry about that!

    • @SuperGylden
      @SuperGylden 10 месяцев назад

      No worries. Just you mentioning it, I think could have a great impact

  • @not_amanullah
    @not_amanullah 8 месяцев назад

    This tutorial is helpful ❤

  • @wanderbite7
    @wanderbite7 10 месяцев назад

    Thank you sir your dvh unit also helped a lot

  • @jan-wr9dn
    @jan-wr9dn 10 месяцев назад

    Hey Kevin 😊
    I'm from germany and I guess, that Google prefers the user to implement the fonts locally on the server, because last summer we had a huge data protection issue in europe.
    As soon as a user used a website, he revealed his ip address to Google without permission.
    So every owner of a website had to switch to a local font implementation.

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      Yup, I mentioned that in my how to locally host Google fonts video 😊. There are other services that are fine to use too, but I forget their names now.

  • @nicolaiolsen5244
    @nicolaiolsen5244 4 месяца назад

    if you are using lighthouse, i have change the --clr-neutral-400 from hsl(229, 6%, 66%); to hsl(229, 6%, 55%); just to get a little bit more contrast to get a better accessibility score

  • @re.liable
    @re.liable 10 месяцев назад

    Wow powertoys is really good.

  • @SimX9000
    @SimX9000 10 месяцев назад

    This was a fantastic video

  • @dazeitem
    @dazeitem 10 месяцев назад

    It's like you were sent by an angel.

  • @Dipzeus
    @Dipzeus 10 месяцев назад

    Just an earnest request... please bring a classic beginner to advanced css course for modern websites

  • @natasdabsi1138
    @natasdabsi1138 9 месяцев назад

    thank you so much

  • @TechStackMotivation
    @TechStackMotivation 10 месяцев назад

    I liked Flexbox cause it is very smooth and 'flexible'

  • @black2thepiink
    @black2thepiink 10 месяцев назад

    So much needed bro tq... 💯

  • @zaidkhan-s5v1u
    @zaidkhan-s5v1u 8 месяцев назад

    thanks brother

  • @rayforever
    @rayforever 7 месяцев назад

    Your consideration on not using premium stuffs like figma files, so we non premium user can follow along , ❤ thanks sir

  • @philemonokpokpa503
    @philemonokpokpa503 10 месяцев назад

    Hello Kevin . I appreciate what you’re doing for the community.
    So, sometimes I go into the dev tools to inspect sites that I want to clone and it gives me css properties and values for html elements that I think may not be in the original code. For example, you didn’t give height and width values to those cards but the inspector may just give me a height and width value of the cards.
    Could this be a reason why we should not be depending on the inspector for properties and values of an element?
    Good video BTW. I find myself writing html and css the way you’d do because I’ve been following you for say 3 years now. Thank you very much

  • @trickster574
    @trickster574 10 месяцев назад

    I found a way to set the border color with nth-child():
    .col:nth-child(1) .card {
    border-color: var(--teal)
    }
    .col:nth-child(2) .card:nth-child(1) {
    border-color: var(--red)
    }
    .col:nth-child(2) .card :nth-child(2) {
    border-color: var(--yellow)
    }
    .col:nth-child(3) .card {
    border-color: var(--blue)
    }

  • @aurusaurum9649
    @aurusaurum9649 10 месяцев назад

    Thank you for the video!
    Is there a video about the style of naming classes from scratch?
    The thing is that BEM is very ugly, but so is Tailwind. I want to write in vanilla HTML and CSS, but I have a problem with naming classes.

  • @petroczibalazs5434
    @petroczibalazs5434 9 месяцев назад

    Please, answer why you don't bring the rem size to a decimal basis using the common trick like this:
    html{
    font-size: 10px;
    }
    body{
    font-size: 1.6rem;
    padding: 0;
    margin:0;
    }
    This brings the best for both sides by allowing the user to zoom in or out and see the font size change and lets the developer calculate on a a decimal basis. Is there any particular objective reason for that or only your personal preferences?

  • @nasirmuslih4128
    @nasirmuslih4128 10 месяцев назад

    Please can you make a video on how you deals with things if you're coding a project and get stuck😁.
    Like when you to want to make something and you don't know do it .
    Your research process tooo.

  • @iamdanielkip
    @iamdanielkip 9 месяцев назад

    Kevin, you mentioned that you don't use BEM so much anymore. Do you use any other naming convention nowadays? Thank you for this very informative video. ;)

  • @umernasir4217
    @umernasir4217 9 месяцев назад

    I wrapped the icon in the card with div and applied text-align: end; Quick Hack 🎉

  • @TheMetalMag
    @TheMetalMag 10 месяцев назад

    thank you

  • @ofcljaved
    @ofcljaved 10 месяцев назад

    I would have use grid for this because i wanna keep my html as minimum and self explanatory as possible

  • @jo.si_911
    @jo.si_911 6 месяцев назад

    IMO header > p should not have any effect on the font-size since p is not a direct child of the header but only of the wrapper div?! Or am I missing something?

  • @wzup23
    @wzup23 8 месяцев назад

    Hi Kevin! I think after removing the div.col at around @1:07:35, the nth-child selectors should be inside the media query for 800px screens and up? I tried doing it outside and when I test with smaller screens, all cards just stacks in one position (middle right). Pls correct me If I miss something. I will follow your other tutorials as I like how you explain things. Thank you so much dude!

  • @GabrielDucharme
    @GabrielDucharme 10 месяцев назад

    Nice!

  • @hungry_khid1007
    @hungry_khid1007 10 месяцев назад +2

    How did you properly format the paragraph text at 11:30 when he highlighted it, what did he press?

    • @zealest
      @zealest 10 месяцев назад +2

      i think its the Prettier extension, it automatically formats when you hit ctrl + s (save file)

    • @athilasantiago4233
      @athilasantiago4233 10 месяцев назад +1

      yep, it is the prettier vscode extension. You can see it in the bottom right corner

    • @hungry_khid1007
      @hungry_khid1007 9 месяцев назад

      @@zealest its not working for me

  • @MightyHuff
    @MightyHuff 9 месяцев назад

    How do you change the font colours on live studio eg. When I type hsl it comes up as a barely readable Color?
    I really like the videos that you put up.

  • @iUmerFarooq
    @iUmerFarooq 8 месяцев назад

    How to make a dynamic dashboard layout? means if we increase the size of the side bar so automatically adjust the content area. And different types of dashboard layouts also.

  • @weishyan9699
    @weishyan9699 8 месяцев назад

    use grid template areas so weird on the mobile mode the card stick together

  • @mindful_momentum101
    @mindful_momentum101 8 месяцев назад

    Question
    When you set the font styles
    Why html {...}
    And not body {...}
    What's the difference between html and body??

  • @juliusuwuigbe7743
    @juliusuwuigbe7743 10 месяцев назад

    Kevin when i solved this challenge I used named grid lines to position the card. Hope its not a bad idea?

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      I love grid line names too 😊

    • @juliusuwuigbe7743
      @juliusuwuigbe7743 10 месяцев назад

      Learnt it from you of course 😂

  • @tanercoder1915
    @tanercoder1915 9 месяцев назад

    what's the difference between responsive and adaptive designs in your opinion. I am confused

  • @ronaldpaek
    @ronaldpaek 10 месяцев назад

    Could you wrap the powered by technology in a b or strong tag? Would that also make sense to either bring attention too or strong to show that its what really sets them apart? I'm trying to improve my semantics as well

    • @KevinPowell
      @KevinPowell  10 месяцев назад +1

      Strong could be appropriate I guess. The b, for bring attention to, is a backronym and doesn't actually have any semantic meaning, so maybe would have been easier than what I did

  • @davidsm41
    @davidsm41 10 месяцев назад

    Why not just change flex direction for mobile view? I think is a lot easier.

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      Definitely works, wanted to show different options ☺️

  • @kopilkaiser8991
    @kopilkaiser8991 2 месяца назад

    ❤❤❤❤❤

  • @germantoenglish898
    @germantoenglish898 10 месяцев назад

    The grid layout feels less clunky to me.

  • @ElfontLeBlonde
    @ElfontLeBlonde 8 месяцев назад

    Mmmmm, After changing to one two etc the 800px Version wont work anymore… why?