Sass and BEM for beginners

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • 🔥 Learn how to build a responsive website from a Figma design with HTML, SCSS, JS ➡️ coder-coder.com/responsive/
    😎 Join the Coder Coder Club and get sneak peeks of videos: courses.coder-coder.com/p/club
    👕 Get my hoodie here: coder-coder.com/merch
    ____________________________
    In this video I'll walk you through the basics of Sass, BEM (block-element-modifier), and the principles of responsive design. This is a standalone course in Sass that's taken from my full course, Responsive Design for Beginners.
    0:00 - Intro
    0:22 - What is Sass?
    1:17 - Compiling Sass with VS Code extensions
    12:49 - Sass partials
    26:17 - Sass variables and CSS custom properties
    43:45 - Building the demo responsive website
    50:00 - Sass and BEM
    57:08 - Building the responsive mobile layout
    1:04:30 - Building the desktop layout
    1:18:10 - Setting widths
    1:36:08 - Sass mixins
    2:06:35 - Responsive typography
    2:33:24 - Sass functions
    3:03:39 - Why I use em units in media queries
    3:10:49 - Nesting and BEM
    3:35:23 - Helper/Utility classes
    Source files: github.com/thecodercoder/sass...
    ____________________________
    💻 Become a full-stack web dev with Zero to Mastery: academy.zerotomastery.io/a/af...
    🎨 Get my VS Code theme: marketplace.visualstudio.com/...
    🔽 FOLLOW CODER CODER
    Twitter -- / thecodercoder
    Instagram -- / thecodercoder
    #css #javascript #html
  • Věda a technologie

Komentáře • 408

  • @jeremypruitt237
    @jeremypruitt237 Před rokem +74

    Thanks!

    • @TheCoderCoder
      @TheCoderCoder  Před rokem +7

      Thank you so much!

    • @haroon7311
      @haroon7311 Před rokem +6

      @@TheCoderCoder Hi, when will you launch your responsive design course?

  • @TheCoderCoder
    @TheCoderCoder  Před 2 lety +47

    🚨 Hey folks, if you're having trouble with @forward not working, make sure you're using Glenn Marks' Live Sass extension, *not* the original one by Ritwick Dey. The original one won't work with the new Sass syntax!

    • @prateekkumar6426
      @prateekkumar6426 Před 2 lety +2

      You are to good in teaching thanku mam

    • @stranger9951
      @stranger9951 Před 2 lety +1

      Is this the content of your complete web development course for the SASS/SCSS part?

    • @TheCoderCoder
      @TheCoderCoder  Před 2 lety +3

      @@stranger9951 This is the entire Sass/SCSS section except for the Gulp setup. The full course will then go on to build the actual website for the course

    • @martinemanuel8239
      @martinemanuel8239 Před rokem

      Hey i wanna say thank you very much ! your recomendations along with the kevin's powell were the best, I use all of this tutorials... recently I jumped to the next step wich is use the console with the sass comands lines like --watch and use sass on some few webpack project !

  • @codernerd7076
    @codernerd7076 Před 2 lety +9

    The quality of this video makes me want the full course even more! Thanks for all your hard work making this!

  • @quincylarsonmusic
    @quincylarsonmusic Před 2 lety +120

    Awesome. This is really well-taught. And I love the subtle animations and transitions. It is clear you put a lot of thought and love into this course.

    • @KennyFully
      @KennyFully Před rokem +1

      @@fazebook7897 did you just disrespect the creator of free code camp? That’s all sorts of wrong!

    • @the_god_killah
      @the_god_killah Před rokem +1

      "the thirst is real "🤓

  • @VinceM1000
    @VinceM1000 Před 2 lety +3

    Great job! Booking a night off to go through this a few times. The quality is top notch and the teaching is down to earth and easy to follow. Love all of your videos! Can't wait for the full course!

  • @ruficarllagaras0217
    @ruficarllagaras0217 Před rokem +39

    There is a VSCode extension where you can easily convert px to rem and vice versa. It also supports vw. It's called 'px to rem & rpx & vw'. That way it can eliminate all those unnecessary conversions and setting functions.
    I hope it helps.

  • @ordaniel7699
    @ordaniel7699 Před rokem

    Wow, I watched many tutorials in the past, this is by far the most descriptive one I've watched. You pause on things that maybe not everyone is familiar with, and in 60% of the cases I know them all so I skip, but when I don't know something, I thank god that you pause and elaborate on those. Thank you so much for this video!

  • @martapfahl940
    @martapfahl940 Před rokem +1

    Love how you giving such a lot of best practice tips on the fly in this course, such valuable content! Thank you so much

  • @mbm6048
    @mbm6048 Před 2 lety +8

    Wow this video is packed with cool stuff. It's not just sass but there's Bem ,responsive design and more cool 😎

  • @esraamohamed5601
    @esraamohamed5601 Před rokem +1

    My gratitude to you for all you have done, which I will never forget. I truly appreciate you and the time you spent helping me on many occasions. Thank you very much for the course. I enjoyed every minute of your lecture as well as your marvelous sense of humor.

  • @eliasestebanalonzo8344
    @eliasestebanalonzo8344 Před 2 lety +2

    I'm in love with your content in general, extremely significant. This is high quality for people like us who enjoy learning more every day about web development. Greets from Paraguay

  • @LeNerdJames
    @LeNerdJames Před 2 lety +4

    Thank you so much for this, this is awesome! Thank you for all your hard work and all the videos you put out for beginners. Your channel has helped me personally more than you know!!

  • @MatiasBaldanza
    @MatiasBaldanza Před 2 lety

    Your video production and editing is always top-notch, the content is really well-structured and paced, and you have a voice made for narration. Love it.

  • @vijitaa3124
    @vijitaa3124 Před 11 měsíci

    I was trying to build my first ever portfolio website & I realized that my css approach was too shabby and so I thought about looking at sass and reached here.
    What a knowledge-dense and amazing video this was. It filled a lot of gaps in my knowledge & also helped me find a new approach on building a website.
    Cannot thank you enough! ❤

  • @heirofsam
    @heirofsam Před 2 lety +3

    I recommended my college mates ( literally 12 people) and bro they loved it😭. Everyone respect me now lmaoo
    Much love to you haha❤

  • @stanleychukwu7424
    @stanleychukwu7424 Před 2 lety

    One of the best lectures on sass and css combined, i learnt not just sass but some very high level use of some css functions. thank you!!!! And also, thanks for the rem to pixels converter function!

  • @Oli4win
    @Oli4win Před rokem +2

    I'm documenting everything i learn as a 'vlog'/'series' type thing and this video helped me out a lot in the last episode! Thanks a lot

  • @roysandoval252
    @roysandoval252 Před 2 lety +29

    I really enjoyed how you organized the content and went over the fundamentals, it made learning Sass super easy and enjoyable. I was also able to brush up on a few CSS techniques. Thank you for sharing this amazing tutorial!🙌🏼

  • @rajeevkalangi2472
    @rajeevkalangi2472 Před 2 lety +2

    Wonderful. You are just awesome teacher and I never felt bored or dull even after straight up 2hr class. Keep doing the good work.

  • @stucowley3021
    @stucowley3021 Před rokem +11

    👏 Amazing! This course is so in-depth, well thought through and current. It has provided me with updated knowledge that I really couldn't be bothered re-learning again, into an easy to follow and understand way. I have been using Sass for 10 years without really updating my knowledge, but within 2 hours I was ready to get started with modern Sass techniques. Thank you so much!!!

    • @TheCoderCoder
      @TheCoderCoder  Před rokem +3

      Awesome! So glad that this video helped you! Sass is great 🔥

  • @xenialxerous2441
    @xenialxerous2441 Před 2 lety +2

    Hi! I'm so grateful to you for sharing this, even though I've been using most of the concepts in my work already, however I got an in depth perspectives working alongside and served as a brief brush up. I tuned in through out the course and was able to learn the things I didn't knew, for instance, the @extend rule, sass placeholder, and the last one utility classes. Thanks again as I'm so happy to get to know them ;)

  • @TheErickHans
    @TheErickHans Před 2 lety

    You are amazing. I have been lurking the webs because I have been having trouble understanding SASS and this is the first video I found to be completely useful from start to the end. This is amazing. Thank you so much!

  • @AlanLastufka
    @AlanLastufka Před 2 lety +1

    I followed along every step of the way and learned a ton. I've used CSS for years, but this was my first SASS/SCSS exposure and wow is it going to be helpful moving forward.

  • @geraldtivatyi2116
    @geraldtivatyi2116 Před rokem

    Dude this video just changed my life. Learnt so many things that I have been using and wondering about for quite a while. When I make the $$ I will certainly be buying the whole course 🙌

  • @sigfredoolmedo1063
    @sigfredoolmedo1063 Před 2 lety +2

    Thank you so much for this course, this is the only course I've seen that uses the new @use and @forward at rules for the structure of the project. Also, thank you for the explanation on the BEM metholodogy. Great course!

  • @mbm6048
    @mbm6048 Před 2 lety +3

    Finally a video on Sass !!! I didn't even watch yet but I now its gonna be 🔥

  • @TheNinjatsu
    @TheNinjatsu Před 2 lety +3

    When you think of a topic and one of your favorite youtubers upload a 4 hours course about it. Bless you.

  • @pedroafonso2114
    @pedroafonso2114 Před rokem +1

    Best video I watched about RWD, very well explained and easy to understand. A thumbs up it's not enough for your work, congrats for the awesome job!

  • @TheOshinoMeme
    @TheOshinoMeme Před 2 lety

    I didn't find a better course than yours, really, it fit me perfectly !
    Thanks you !!!

  • @Arjun-yj1es
    @Arjun-yj1es Před 2 lety +1

    Wow !!! much awaited course from you Jess

  • @mirpeter
    @mirpeter Před rokem +1

    Great video, i was only looking to learn SASS but learning BEM and Responsive Design at the same time , and a ton of other cool tips throughout , was very helpful.

  • @And1997Ruz
    @And1997Ruz Před 7 měsíci

    Pure gold😇
    I came here to just refresh my knowledge of sass, but I even learned a few other things along the way

  • @josesirias
    @josesirias Před 2 lety +31

    Out freaking standing! I've been looking all over youtube for a tutorial on Sass. Most of them are outdated and still use @import instead of @use and @forward I'm more of a visual learner, even though I read the documentation on the Sass website I still couldn't figure it out but your video is quite clear. Thank you so much for taking the time to create this awesome video!!! Keep up the great job you do.🔥🔥

    • @TheCoderCoder
      @TheCoderCoder  Před 2 lety +2

      Glad this could help you with Sass!

    • @benjaminbilgehan
      @benjaminbilgehan Před rokem

      totally agree with you. It is an amazing course and learnt a lot from her.

  • @CarlosNoriega1
    @CarlosNoriega1 Před 2 lety

    Awesome video. Your style of explaining things is super thorough yet relaxed. Really enjoyed it. Thanks!

  • @filipwloch8718
    @filipwloch8718 Před 2 lety

    I was looking for any sass tutorial. When I found yours, wow... I love it :D

  • @JvMapote
    @JvMapote Před 2 lety +5

    Thanks!

  • @EduardoBarros13
    @EduardoBarros13 Před 2 lety +1

    Damn! I FINALLY started studying Sass yesterday. This video came just in time! 😎

  • @IronEducation
    @IronEducation Před 8 měsíci

    I watched the whole thing through. Tons of value, thank you!

  • @kanjurer
    @kanjurer Před 2 lety +2

    I WAS LITERALLY GONNA IMPLEMENT SASS ON MY NEW BLOG
    thank you so much

  • @alkhemist6631
    @alkhemist6631 Před 2 lety +1

    I like your stuff, style, and the way you say "Let's get into it!"

  • @daviddwq4513
    @daviddwq4513 Před 8 měsíci

    Extremely high quality content! I love it from beginning to the end! Fresh material and the well explained on every detail of this little course are way more superior than any Udemy course! Thank you so much! I'm already your follower.

  • @nonso01
    @nonso01 Před 2 lety +1

    Best CZcamsr ever! inspired me to learn sass! which makes it fun to write css 😁✌️

  • @conmdemanolo
    @conmdemanolo Před 11 měsíci

    👋🏼Thanks a lot for the tutorial !
    You have a wonderful way to explain everything. What I most liked was how you explained every step of the thought process for every decision, that's really important when you are a beginner like me. You didn't jump to the "right" explanation right away, and even you acted as you didn't know the answer also, and that make easier to follow your explanations. I'm going to take that into account when I need to explain something similar to some else. I'm eager to see the full course, and I hope to see you in the other side.
    Have a nice day! 🧡

  • @aaaliii4u
    @aaaliii4u Před rokem

    last time I tried tutorial on sass made me fall asleep in very first few minutes. skipped it. Today I have come across this one. it is relatively new and instructor is awesome!

  • @jakeparrotta1464
    @jakeparrotta1464 Před rokem +1

    Even when she goes on small tangents they are so relevant and useful. High value video and worth watching beginning to end
    👍🏼👍🏼 Thanks

  • @mohamedghazali4914
    @mohamedghazali4914 Před 2 lety +1

    Excellent, ❤😍 i was really waiting. Now it's time to watch. Thank you very much

  • @partimecat
    @partimecat Před 2 lety +1

    You’re awesome 🤩 I can’t believe this is being offered to us for free !

  • @universecode1101
    @universecode1101 Před 2 lety +4

    Nice 👏🏻 I love css and so for that sass, tailwind and pure css 🧑🏻‍💻

  • @rishii777
    @rishii777 Před rokem

    superb. You explained everything about what I am struggling to know. I love the way you organising the things and the making the responsive . Thank you.

  • @kamal-hassan
    @kamal-hassan Před 2 lety +1

    Yay I can't believe! This video came at the right time for me!

  • @tasminaakter6682
    @tasminaakter6682 Před 2 lety +3

    Finnaly a video after a loooong time😁😁

  • @Anish-nr2em
    @Anish-nr2em Před 2 lety +2

    Needed this so bad! Thankyou Jessica 😭😭

  • @aSTr0NeRF0999
    @aSTr0NeRF0999 Před 2 lety

    After using ChakraUi and other UI frameworks for years now, its was time to get back to custom-css good practices ^^ Your tutorial was like fresh air for my memory. Thanks !

  • @okamimoushiyou
    @okamimoushiyou Před 2 lety +1

    This is so good...I'm sort of at a loss for words, haha. You can tell there is a lot of effort put into this.
    It's so great how you've done all of your research and have thorough explanations for everything you do based on both research and working experience. Stuff like the rem and em usage can be annoying concepts to get a good grip on; but your explanations, alongside the live demoing, made everything crystal clear.
    Thank you sososo much for this. This has saved me countless hours of research and stressing.
    If there's any way I can support you, please let me know. The work you do is so necessary and incredibly lacking in the coding community (not to disparage anyone else, there's other great content out there, you're just on a whole nother level).
    Edit: Found the CZcams support option..will be using that unless there's a different way I can support you more directly. I don't entirely care for the perks (although they're a cool bonus), I just wanna make sure as much money is getting to you as possible!

    • @TheCoderCoder
      @TheCoderCoder  Před 2 lety +1

      thanks so much for your kinds words and the support! I'm very glad that this tutorial has been helpful you. A lot of research definitely went into this video.

    • @okamimoushiyou
      @okamimoushiyou Před 2 lety

      @@TheCoderCoder of course, you deserve em :) I'm rewatching as we speak to run through some of the file structure and such, as I'm going to use it for a project I'm working on. Thanks again!!
      I'm going to support you via CZcams "join" by end of day today, but let me know if there's a way to support you more directly.
      I look forward to checking out more of your stuff!

  • @parrySc
    @parrySc Před 11 měsíci

    Your way to explain things it's to intuitive, thank u so much and keep going with your great tutorials

  • @creativoma
    @creativoma Před 2 lety

    Excellent course! You just gained a new subscriber! Thanks for this content!

  • @jubrilosunkoya6661
    @jubrilosunkoya6661 Před 2 lety +2

    Great job, Coder Coder
    I've missed you!

  • @nics.nvrlnd
    @nics.nvrlnd Před 2 lety

    you're such a great coder/CZcamsr, thank you so much 😇

  • @estherjonathan_
    @estherjonathan_ Před 2 lety +1

    This is no mouth wash or something to sweeten the whole stuff here. You are the best I honestly saying it, your explanation is so calm and I followed every process step by step... And now you just inspired me to learn SCSS.. I came across your channel and you just won my heart n I just subscribed and sending my friends n students to your channel to get more contents just like I did to Kevin Powell channel too💖💖
    Thank you for these piece... Please keep the good work✌️✌️👍👍📸

  • @rokon365
    @rokon365 Před 10 měsíci

    Clear, consise, and easy to understand explanation. Thanks a lot.

  • @ogunkayodeoluwaseun9348
    @ogunkayodeoluwaseun9348 Před 2 lety +1

    Thank you so much for this heavenly walkthrough still on the first half of the tutorial I wanted to bring to your attention that the sass compiler said this
    using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0
    Recommendation: math.div($pixels, $context) or calc($pixels / $context)

  • @shim-kun2538
    @shim-kun2538 Před 2 lety

    Very well explained. Learnt lots of new features and ways to style websites. Thank you :3

  • @Naina967
    @Naina967 Před 2 lety +1

    You don't how much you're helping me out 💖😭

  • @reactsimplified.5839
    @reactsimplified.5839 Před rokem

    One of the best and most useful course that i watched

  • @primy3576
    @primy3576 Před 2 lety +1

    Right when I needed it the most...Thanks Jessica🤗

  • @florenciobritez5521
    @florenciobritez5521 Před 2 lety

    Awesome course! It was really helpful for me, thanks si much Jessica!

  • @xl8134
    @xl8134 Před 2 lety

    You explained everything so well! Thank you.

  • @archiem6323
    @archiem6323 Před 2 lety +1

    Great introduction. 🙋🏻‍♀️😃 Always a fan!

  • @hindihits9260
    @hindihits9260 Před 2 lety +2

    Right tutorial at the right time !

  • @Miles09
    @Miles09 Před rokem

    Awesome video as always. Keep up the good work.

  • @leoortiz7
    @leoortiz7 Před 2 lety +1

    I have been waiting since last year 😭. Tell us when the full course will be ready. You rock 🤗

  • @TanisiBhardwaj
    @TanisiBhardwaj Před 2 lety +1

    Thanks for all your hard work, the video is awesome.

  • @Pavel-wj7gy
    @Pavel-wj7gy Před rokem

    All in all, this is a really cool course, I have learnt a lot from it. Thank you.

  • @jenoyestewart1516
    @jenoyestewart1516 Před rokem

    You have become my favorite coding CZcamsr!

  • @ciprian2957
    @ciprian2957 Před 11 měsíci

    Today I got big time confused bcuz of the use and forward methods of Sass, came here and now my problem is solved. Thanks a lot! 🙏🏼😊

  • @gimenafernandez8149
    @gimenafernandez8149 Před rokem

    I learned a lot of things, to apply in a new project in which I am working. Thank you very much

  • @bhashkarf369
    @bhashkarf369 Před 2 lety +1

    Thanks 🙏🙏🙏 for this.. and You uploaded the video after a long time .

  • @MrBrancomusic
    @MrBrancomusic Před 2 lety

    Incredibly useful,thank you!

  • @angell2341
    @angell2341 Před rokem

    Hi, Thank you for sharing this knowledge, I liked the video but the thing that I liked most is, it shows the way of doing things that are not shown in other videos.

  • @maaafiaantwiwaa6344
    @maaafiaantwiwaa6344 Před 2 měsíci +1

    this is an amazing way to code!!

  • @nnadivictory917
    @nnadivictory917 Před 2 lety

    YAAAAY
    Been waiting for this hehehe
    Thanks for this

  • @br1580
    @br1580 Před rokem

    Incredibly informative video, I learnt so much from this. Thanks very much :)

  • @pankajthapaliya2336
    @pankajthapaliya2336 Před 2 lety

    Thanks a ton jessica. That was more than a tutorial video.

  • @leoelicos
    @leoelicos Před 2 lety +1

    Nice one! Sass is great, especially with you

  • @JayJay-ow9gi
    @JayJay-ow9gi Před rokem

    Very neat and mind-opening concentrate of knowledge! ❣You're the woman! THNX

  • @Showmatic
    @Showmatic Před 2 lety

    I've been waiting for this :)

  • @hattanderham1970
    @hattanderham1970 Před 2 lety

    Really waiting for your course

  • @christobongende893
    @christobongende893 Před rokem

    Really good course, It's really well-taugh! thank you

  • @nikhiltyagi6619
    @nikhiltyagi6619 Před 2 lety +1

    Thank you so much! You're the best 🤗

  • @user-sc6xg6ou1w
    @user-sc6xg6ou1w Před rokem

    Thank you so much for such a great course for beginners))

  • @aliubenedict9380
    @aliubenedict9380 Před 2 lety

    Great content!! Love this.

  • @rommeljuban3133
    @rommeljuban3133 Před 2 lety

    oh I love you for this course

  • @anarosol6133
    @anarosol6133 Před 5 měsíci

    Thank you so much for this! Very helpful

  • @khalidjamal9008
    @khalidjamal9008 Před rokem

    i like how clean you present the course , this was super helpful thank u

  • @RJ-6615
    @RJ-6615 Před rokem

    This was awesome, I learned a lot!

  • @mdshahadatkabir7536
    @mdshahadatkabir7536 Před 2 lety

    Always love Ur videos for so long your not making any please keep us updated everyday even though in stories love from Bangladesh 🇧🇩

  • @cicadacoder4191
    @cicadacoder4191 Před 2 lety

    788 views but 199 likes, cmon guys she deserves more than that
    Thank you Coder Coder for this beautiful content

  • @anuragsingh-gj4vn
    @anuragsingh-gj4vn Před rokem

    Belated Happy Teacher's day ma'am!! And thnx for the course...

  • @DanteMishima
    @DanteMishima Před 2 lety

    Thank you for this... Also, love your theme

  • @jaidensock6643
    @jaidensock6643 Před 2 lety

    Thank you so much!! that was so helpful.