Responsive layout practice for beginners

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

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

  • @nove1398
    @nove1398 11 месяцев назад +92

    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 11 месяцев назад

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

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

      ? ​@@S_U_M_E_R

  • @nemeziz_prime
    @nemeziz_prime 11 месяцев назад +24

    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 11 месяцев назад +10

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

  • @iChrisBirch
    @iChrisBirch 9 месяцев назад +3

    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 11 месяцев назад +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 11 месяцев назад +1

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

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

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

  • @faheem7504
    @faheem7504 9 месяцев назад +3

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

  • @nasimajosefi
    @nasimajosefi 11 месяцев назад +9

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

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

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

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

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

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

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

  • @pretendlovers
    @pretendlovers 11 месяцев назад +1

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

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

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

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

    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 !

  • @noiamnotsomebodyelse
    @noiamnotsomebodyelse 11 месяцев назад +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.

  • @Avarn388
    @Avarn388 11 месяцев назад +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 11 месяцев назад

      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

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

    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.

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

    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!

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

    Yes, another legendary Frontend Mentor project!

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

    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 :)

  • @erikjansson2329
    @erikjansson2329 11 месяцев назад +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 11 месяцев назад

      It is deprecated now.

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

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

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

      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.

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

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

  • @MrOliver1444
    @MrOliver1444 11 месяцев назад +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!

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

    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!!

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

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

  • @jacobwwarner
    @jacobwwarner 4 месяца назад +1

    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.

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

    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!

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

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

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

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

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

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

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

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

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

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

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

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

  • @Dimitar-T-Radev
    @Dimitar-T-Radev 11 месяцев назад

    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  11 месяцев назад +1

      Oops, missed that somehow, lol

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

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

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

    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!

  • @3208nandu
    @3208nandu 11 месяцев назад +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 9 месяцев назад +1

      Thanks brother was looking for this only

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

    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🙏🏻

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

    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!

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

    you are the best teacher of css out there

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

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

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

    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.

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

    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.

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

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

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

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

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

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

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

    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!

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

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

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

    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.

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

    Yeah man, your good to watch. Cheers.

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

    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

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

    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.

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

    table and rowspans! easy peasy!

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

    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.

  • @ysiegel
    @ysiegel 29 дней назад

    Hey Kevin!
    These videos are amazing, a huge help on my journey starting out! So first of all, a huge thank you.
    I wanted to ask if you could perhaps expand on the reset-commands that you start out with when going into css. You do it in every video but they are not very much explained, and the concepts are a bit foreign to me and so I'm having trouble understanding the reasoning and working behind them. For example, I know more or less what pseudo-classes are, but I don't see how they fit in to resetting css and why it's particularly relevant when it comes to a flexbox layout.

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

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

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

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

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

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

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

    Very helpful, thank you so much!

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

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

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

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

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

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

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

    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.

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

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

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

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

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

    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.

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

    This tutorial is helpful ❤

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

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

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

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

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

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

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

      @@zealest its not working for me

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

    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!

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

    This was a fantastic video

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

    Thank you sir your dvh unit also helped a lot

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

    Thank you so much.

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

    more projects like that please

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

    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😂

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

    Wow powertoys is really good.

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

    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.

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

    It's like you were sent by an angel.

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

    So much needed bro tq... 💯

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

    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 9 месяцев назад

    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.

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

    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  11 месяцев назад +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

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

    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  11 месяцев назад

      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.

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

    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

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

    Nice!

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

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

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

      I love grid line names too 😊

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

      Learnt it from you of course 😂

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

    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?

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

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

  • @watchandlearn7945
    @watchandlearn7945 11 месяцев назад

    Which theme are you using in VS code?

  • @Jarrod0067
    @Jarrod0067 11 месяцев назад

    hey Kev, is there a way to utilize a combination of text-wrap: balance and tight inline flex? I was trying to get some pills to flex-wrap in a container the other day and noticed that if the normal layout of text would wrap inside the element, it doesn't resize the container

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

      When text is wrapping, it doesn't change the size of the element, just visually where the line break is. If you had a background on it, it would take up the same amount of space

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

    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. ;)

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

    thank you so much

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

    thanks brother

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

    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?

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

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

  • @Shubham-or6cs
    @Shubham-or6cs 11 месяцев назад

    Anyplace where i can learn CSS clearly and then how to practice it?

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

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

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

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

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

    i got the card in one stack when mode mobile devices, what i missing?

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

      okay solved by adding this code:
      .layout-grid {
      --gap: 2rem;
      display: grid;
      grid-auto-columns: 1fr;
      gap: var(--gap);
      grid-template-areas:
      "one"
      "two"
      "three"
      "four";
      }

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

    thank you

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

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

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

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

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

    i dont understand last part for moboile version

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

    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.

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

    ❤❤❤❤❤

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

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