Styled Components Crash Course & Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ส.ค. 2024
  • A small project to get you familiar with using styled components with React
    Code:
    github.com/bradtraversy/huddl...
    Udemy Courses:
    traversymedia.com
    💖 Support The Channel!
    / traversymedia
    paypal.me/traversymedia
    Frontend Mentor Challenges:
    www.frontendmentor.io/
    Timestamps:
    0:00 - Intro
    2:10 - Install & Setup
    3:15 - First Styled Component
    7:40 - Header Styled Component
    9:23 - Nesting
    10:27 - Passing Props
    11:40 - Theme Provider
    14:07 - Global Styles
    16:28 - Project
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    I'm so glad to be part of those who were able to complete this course. This guy is a blessing to the webdev community! Thank you!!

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

    Oh my goodness! What a blessing! I was just looking for a good tutorial on Styled Components and this tutorial appeared magically. Thank you so much!

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

    _You were a great inspiration for me, am doing good in my job i gathered a lot of new skills i just feel happy that am making big steps forward and all that because of you and your tutorials,_ *Thank you very much Brad*_, i really appreciate your effort._

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

      That's awesome congrats. Glad to have helped in any way :)

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

      Congrats Mate...Are You Working With React Js?

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

      Congratulation Mahmoud!

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

      Kindly appreciate his effort by sending him some money, gifts or buying his paid courses on Udemy.

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

      @@TraversyMedia can you tell me font family in your vscodr

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

    Really appreciated this. Saw a few Styled-Components guides and found this by far the most clearly explained, and the example project was a nice touch. Thanks!!

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

    I'm a backend dev and frontend is taking a little effort to wrap my head around. You condensed a lot of knowledge into a relatively short amount of time and it made total sense to me. Learned a lot. Thank you!

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

    This is exactly what my new project with the client has in requirements. Styled components. Thanks a ton @Brad!! Kudos and as always, great content. Big Fan. 💐

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

    Every new video release is a cause for celebration! Thank you so much, Brad.

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

    Thanks so much Brad...This is a double blessing for me, firstly it's comes at the time when u want to improve my knowledge on styled components and secondly I'm also completing another front end mentor challenge

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

    I just started learning react for three days and this is the best project that i can practice as a newbie..Thank you so much🖤

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

    Great and useful crash course Brad, thanks a lot!
    You always come with really handy technologies.

  • @JohnDoe-pb1qf
    @JohnDoe-pb1qf ปีที่แล้ว +1

    Thanks Brad, difficult concepts become easy with your tutorials.

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

    I started watching your videos in 2019. Your Nodejs courses really helped me

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

    This was an AMAZING tutorial, the content was just prefect - so many topic in one video, all one point!
    Thank you so much! Thank you for your time

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

    Hey I don't normally leave comments but wanted to say thanks for explaining everything so well and using a good pace.

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

    Holy cow this programming playlist is bananas. You sir are very valuable and skilled. I’m enjoying learning from you! You could start a training school with these videos !!

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

    This is super helpful. Currently learning to use this at work. Thanks for all you do Brad. It's fantastic.

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

    Great video Brad. In past as well have learnt me things from you. You videos are always great without any nonsense stuffs.

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

    I was looking for the styled component tutorial.. at the right time...thank you so much Brad

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

    Thank you Brad!! This content is great. I’m going to use styled components in my next React project. 🙌🏼

  • @TheRubiosMusic
    @TheRubiosMusic 3 หลายเดือนก่อน +2

    You are my hero. I've completed your courses in Packt. I came across this video by coincidence, and kept wondering why that voice sounded so familiar! Obviously subscribed now!

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

    Been waiting for this brad, really love it thank you

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

    This is the first time I have heard of it. I am going to learn it now.😁
    Although I have already done that huddle landing page challenge from frontendmentor and uploaded on my TH-cam channel.

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

    It's really an awesome explanation with an real world example clearly explained. My knowledge is increased drastically after wathcing this video. Thank you so much.

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

    thank you so much, look forward to all the upcomming videos

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

    Thank you Brad...for an explicit explanation. God bless you always

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

    I learn a lot from you in only 1 vid. Thanks for sharing your knowledge on styled components. 🎉

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

    Right in time! I've been looking for something like this. Thanks :-)

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

    Lucky I found this video in youtube. Really help me to understand about styled components in short time. thumb up!

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

    Thank you for yet another one of your great tutorials!

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

    You read my mind Brad, thank you for this crash course😍

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

    good to see you back after the vacation brad

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

    Excellent content, thank you for taking the time to put this together. It helped me out a lot.

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

    Thanks for all this great contents Brad, I have learned a lot from you :3

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

    Thank you Brad for all you do.

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

    thanks a lot Brad, you did it so clean and tidy, love it.
    I'm waiting for your next tuts with tailwindcss, keep rocks!

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

    Thank you so much for this fantastic crach course.

  • @user-fh3sr2lr2x
    @user-fh3sr2lr2x ปีที่แล้ว

    You made so great lecture about styled-components which I've been searching to get used to styled-components.
    I really appreciate your effort.

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

      bud are you still using style-components

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

    So far I have been using css.modules in my projects but this is impressive how the scalability is easier with Styled Components, I really loved it.

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

    Always great content, love your videos Brad have learned a lot from you ✌🏽

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

    Hello buddy.. i'm writing just to thank you for your video... i'ts help me a lot to learn about styled-components.. the ThemeProvider and GlobalStyle blow my mind.. i dont know why, but documentation is very hard for me to understand, but when someone use in the practical form, it's makes easier.
    I thank God to has people like you, giving knowledge for free.
    Sorry for my bad english, it's not my primary language :)

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

    Amazing styled-component course, had no experience with styled-component but now I feel ready to create my first project, Thank you.

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

    The best thing about styled-components is, we can use Sass nested syntax in them. It seems like a way of adding plain css in JS frameworks with JS.

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

    Thanks for such an awesome course. Learned a lot stuff.

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

    thank you so much brad i really hoping to this and finally got it from you

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

    A recruitment interview kinda surprised me with styled components. Never used those. At least they gave me a heads-up in advance. :D
    This knowledge capsule gave me a great confidence boost, thank you!

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

    Just started a new job and need to learn styled component. This is super helpful!

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

    This was an amazing crash course! Thank you, sir 🙂

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

    Thank you very much for this tutorial , i am using style component at work and this helped me a lot

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

    Styled components is cool. No much difference from writing plain CSS. Awesome video Brad. 🔥

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

    Just when I wanted to request you to do a Video on styled components, boom! Thanks Brad

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

    I watch some of your Udemy lessons but I was not able to understand the styling , now It is so clear and I had understand how it is organized. Thank you for making things simple and easy to learn them.

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

    Bro what, i just started learning and using styled components a few days ago this is perfect timing

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

    Love styled components! Just feels great!

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

    Love your vids, concise and accurate.

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

    Wow this is a really good tutorial, I've learned more than I was expecting.
    Thank you for the effort 🙏🏽.

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

    Thanks a lot, Brad! Great as always

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

    Thanks dude this tutorial was really helpful. I was working on a project with vanilla CSS and the files were starting to get way too confusing after a while. I think this will help.

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

    This was a very excellent work. Thank you so much

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

    You're the best, Brad. Thank you very much!

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

    Thank you dear Brad, you are brilliant.

  • @user-oy4kf5wr8l
    @user-oy4kf5wr8l 2 ปีที่แล้ว +1

    Amazing job! Thanks buddy!

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

    Dude this is exacly what i needed!!!

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

    Awesome content Brad!

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

    awesome as always thanks Brad 🧡🤍

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

    Thanks for this amazing tutorial!

  • @ThiagoSilva-jn6ov
    @ThiagoSilva-jn6ov หลายเดือนก่อน

    Good Course, just completed, was my first time using Styled Components.

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

    I swear I can learn anything as long as Brad is teaching it

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

    Thank you for this video. Helped me a lot 🙂

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

    Amazing Job!!!

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

    wow man you're awesome. thank you so much for that video

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

    Inspiration me so much. There’s some videos I watch that confuse me like scss but I just gotta take my time and learn from the grown up.

  • @aryankhan-tl6lx
    @aryankhan-tl6lx 2 ปีที่แล้ว +1

    Thank you so much for this tutorial it's worth watching

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

    Exactly what I wanted to learn about the React Js Styled Components. Very well done.
    Did anyone notice the folder project name is named "hubble" and not "huddle" :D.

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

    It's very helpful video for me, Thank you
    Traversy Media.

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

    Super super awesome! Thanks so much for this!

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

    You are awesome as always . Many thanks

  • @NA-ex9xk
    @NA-ex9xk 2 ปีที่แล้ว

    awesome tutorial (commenting 8min into the video)l! I like to keep my styled-components in the component I'm styling. I don't have to navigate between files, especially if I have a big project I'm working on. This was one of the main reasons why I started using css-in-js.

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

    Brad! Your Intro. Just LOVE YOU Man. Hope you're doing well❤️

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

    Thank you Brad so much!

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

    you are really an inspiration for me, I'm new at react and I'm following your adviceces, hope i get there ^^.

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

    You are a Great inspiration for me. Thanks

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

    Good to see you Brad :)

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

    So helpful nice video it's worth To watch the video💜

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

    Awesome video, I really learned a lot as I'm new in react! Thanks, Brad!! And not only for this video but for all. I'm doing college now and I got the feeling that I'm learning more from your videos rather than college lectures!!

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

    Thank you very much Brad.
    It is a mini but good project covering all my requirements.
    Please upload one Dash board project with React+Styled Componets+Formik Forms

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

    amazing explanation. thanks for sharing.

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

    Thank you so much Brad!

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

    So informative, this is a great video.

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

    thanks brad for this. ❤️❤️

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

    Awesome tutorial. Thanks you!

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

    Thanks for that Brad

  • @ahmad-murery
    @ahmad-murery 2 ปีที่แล้ว +5

    Hello Brad,
    Nice video as usual,
    at 37:58 you used id % 2 to switch the layout direction which may work but only when the ids are in sequence and incremented by 1,
    I think using index instead of id can be more reliable if item ids are not incremented by fixed number (in case of some items were deleted or their order was changed)
    Thanks for the great content, your making developers life easier

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

      very useful comment, thank you

    • @ahmad-murery
      @ahmad-murery 2 ปีที่แล้ว

      @@marianogonzalez33 You're welcome

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

    Brad is the GOAT!!!

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

    Great informative video.

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

    Great tutorial !

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

    Thxx you so much man for teaching everything I know about web

  • @Ben-fc4tz
    @Ben-fc4tz 2 ปีที่แล้ว

    Wow this really helped me

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

    I'm still trying to wrap my head around the benefits of styled components. It's definitely cool, I think I just need to play with it a bit more

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

    awesome video keep going!

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

    😍😍😍😍 Brad is here 😎