Тёмный

Building a Light/Dark Dashboard, Part 4 

Coder Coder
Подписаться 494 тыс.
Просмотров 23 тыс.
50% 1

🔥 My course: Responsive Design for Beginners! coder-coder.com/responsive/
💻 Become a full-stack web dev with Zero to Mastery: academy.zerotomastery.io/a/af...
In this video I use the BEM (block element modifier) approach when writing my class names in Sass/SCSS, and use it to build a card UI for this Frontend Mentor challenge.
Full playlist: • Building a Light/Dark ...
Source code on GitHub: github.com/thecodercoder/fem-...
Challenge on Frontend Mentor: www.frontendmentor.io/challen...
Live website: codercoder-darklight-toggle.p...
0:00 - Intro (whoops I forgot to record the webcam 🙈)
0:47 - What is BEM? Planning out the class names
12:02 - Adding the markup and the SCSS selectors for the cards
22:24 - Styles for top part of card
28:35 - Styles for the middle follower count number
36:55 - Styles for the bottom stat change number
51:44 - Layout for the card grid with flexbox, then CSS grid
1:08:12 - Styling the top bars on the cards
1:24:41 - Studying the bottom card grid in the design
1:27:09 - Writing SCSS selectors and markup for bottom cards
1:40:51 - Styles for bottom cards
____________________________
SUPPORT THE CHANNEL
⭐ Join channel members and get perks: / @thecodercoder
👏🏽 Hit the THANKS button in any video!
🎨 Get my VS Code theme: marketplace.visualstudio.com/...
WANT TO LEARN WEB DEV?
Check out my courses:
🌟 Responsive Design for Beginners: coder-coder.com/responsive/
🌟 Gulp for Beginners: coder-coder.com/gulp-course/
RECOMMENDATIONS
⌨ My keyboard-- get 10% off with code THECODERCODER -- vissles.com/?ref=mu96kxst5w
💻 Other gear -- www.amazon.com/shop/thecoderc...
📚 My Favorite Books -- coder-coder.com/best-web-deve...
📺 My Favorite Courses -- coder-coder.com/best-web-deve...
🔽 FOLLOW CODER CODER
Blog -- coder-coder.com/
Twitter -- / thecodercoder
Instagram -- / thecodercoder
#webdevelopment #sass #bem

Наука

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 85   
@lionelmwabile5743
@lionelmwabile5743 2 года назад
Working with you must be such a life experience 😭❤️
@shadowgun7331
@shadowgun7331 2 года назад
im 16 and ive just recently started coding in the hopes that i can freelance and hopefully buy a better laptop and also planning to take computer sci in college but ive researched it and found out that its one of the most hardest courses in college that its one of the courses with the most dropouts so hopefully learning how to code now would give me 2 years head start. i love the creative animation in your videos lol. it makes your videos so entertaining to watch. it sets you apart from other channels. plus your videos is super inspiring and helpful(sometimes funny). thank you so much. never knew coding or programming could be this fun to watch
@shadowgun7331
@shadowgun7331 Год назад
@@mehdiallam2971 well im going to be 18 tomorrow lol. And im learning databases now, hopefully python next. Never did freelance couldn't find the clients before my connects ran out in upwork. Goodluck kid
@shadowgun7331
@shadowgun7331 Год назад
@@mehdiallam2971 tnx lmao
@chaitanyaprabuddha4788
@chaitanyaprabuddha4788 2 года назад
That Intro Is Best Intro I have ever seen.
@pankajthapaliya2336
@pankajthapaliya2336 2 года назад
The level of quality with content and understanding is just awesome ❤️ this content deserves 1M+ views
@fahimbinaminPersonal
@fahimbinaminPersonal 2 года назад
I always use the VS Code theme you use; don't know why I love this so much, so subtle, so soothing. 😀
@ngoako
@ngoako 2 года назад
I learned so much from this, thank you for making this video!
@TheCoderCoder
@TheCoderCoder 2 года назад
I'm so glad to hear that!! Glad this could help :D
@Merctoonz
@Merctoonz 2 года назад
Always a great job at explaining processes👍
@TheCoderCoder
@TheCoderCoder 2 года назад
Awesome, glad you like it!
@ChaeWookKim-vd7uy
@ChaeWookKim-vd7uy 2 года назад
i just finished part 1:) Thank you for making great video!!
@lukas6538
@lukas6538 2 года назад
Thank you for making this video! It's really helpful. 🤲🏼☕️
@sunilthapa3952
@sunilthapa3952 2 года назад
Thanks for this video :D, really appreciate your works and efforts for the sake of begginers😊
@TheCoderCoder
@TheCoderCoder 2 года назад
You're very welcome!
@tilakkumar4108
@tilakkumar4108 Год назад
Consider enabling keystroke recording to show the keys you pressed at the bottom of the video
@alirezalatifi3565
@alirezalatifi3565 2 года назад
I've found the answer of my tricky questions about BEM and Sass's nesting feature from this video after searching in some other youtube contents, Thank You! @};-
@jacklovett-earles58
@jacklovett-earles58 2 года назад
Amazing stuff! Thank you :)
@lautaroclericierhardt7843
@lautaroclericierhardt7843 2 года назад
Just what I needed. I'm learning sass. Thanks :)
@TheCoderCoder
@TheCoderCoder 2 года назад
Hope this helps!
@DenisovichDev
@DenisovichDev 2 года назад
I really needed a proper intro to BEM. I was just going with assumptions and bodgy code till now Q: Why do you now prefer custom properties over sass variables?
@TheCoderCoder
@TheCoderCoder 2 года назад
Because you can change custom properties via JavaScript, you can't do that with Sass variables since they compile to CSS. So I'm probably going to use CSS custom props for colors from now on 🙂
@DenisovichDev
@DenisovichDev 2 года назад
@@TheCoderCoder That's pretty neat!
@pepew7102
@pepew7102 2 года назад
I use BEM and Sass but usually I don't use the "&" because if you Ctrl+F a class name you wouldn't be able to find it. For example if you search "card__icon" you wouldn't findn it because it's split in multiple lines.
@TheCoderCoder
@TheCoderCoder 2 года назад
Ah yeah, it can be hard to find the right class name sometimes. I try to separate out the styles in partials so each file isn't too long, then I can search in the "card.scss" file for "icon" -- but I'm sure there's more than one way of going about it!
@thesuppaboy
@thesuppaboy 2 года назад
That nice 1:58:58 killed me 🤣😂
@marcoio8742
@marcoio8742 2 года назад
As always a great tutorial. I am honestly discovering so many things, especially about Sass thanks to you that it's almost embarassing. Just out of curiosity when you put the up and down arrow in the card change why didn't you use a pseudo element actually linked to the class? I am sure there are heaps of ways to do it, but considering a real life project that fetch data from an API it would be more conservative to set the class change up or down knowing the icons will show up accordingly. Thanks.
@TheCoderCoder
@TheCoderCoder 2 года назад
Thanks! As you said, it could probably be done both ways, either img tag or pseudo-element. I decided to use an img tag because you can set alt text, and I felt that the up/down arrow having alt text would help users with screen readers know if the number is up or down. It definitely could be easier to set a classname to be up or down from the dev side, but I think it may still be possible to output the correct filename and alt text to be either "up" or "down" to accomplish the same thing. Hope this helps!
@rafalpotasz
@rafalpotasz 2 года назад
Honestly, discovering things you may feel 'embarrassed' about are usually the best 'quality of life' changes to how one codes, this holds especially true for me 😂. Smallest tiniest things that I probably should have known haha.
@stefanpaz8494
@stefanpaz8494 2 года назад
Thanks - great tutorial. Out of interest, do you often place content directly inside the styled div? Is it not better practice to place content within semantic elements within the div?
@TheCoderCoder
@TheCoderCoder 2 года назад
Which kind of semantic elements do you mean?
@stefanpaz8494
@stefanpaz8494 2 года назад
@@TheCoderCoder like in a p tag or a h tag
@TheCoderCoder
@TheCoderCoder 2 года назад
ah I see what you mean. I did try to use semantic tags (main, section, h1, h2) on the page. But within the card I did use mainly div's, as I wasn't sure what other tags would work there. So it's quite possible there are other more semantic tags that would be better there! I'll have to do some research on that. Thanks for watching!
@stefanpaz8494
@stefanpaz8494 2 года назад
@@TheCoderCoder great - thanks for the response. I have always put elements inside a div! Maybe I have been wrong this whole time!!! At the very least I put content in a but I’d be interested what others think.
@thesnarbo2814
@thesnarbo2814 2 года назад
@@stefanpaz8494 I actually agree with you, personally I would have give the icons in the card the tag, the label next to the icon I would have given the etc etc
@Pilosofia
@Pilosofia 2 года назад
I found named the files and folders structures the most hard think in the most of my projects
@TheCoderCoder
@TheCoderCoder 2 года назад
They can be very tricky to do, for sure! This video is part of a playlist, and in a previous video I showed my file/folder setup. I hope that can help you!
@029manikandana6
@029manikandana6 2 года назад
Nice cursor
@Aalok464
@Aalok464 2 года назад
Intro 😂😂
@TheCoderCoder
@TheCoderCoder 2 года назад
😂😂😂
@faridahaiden7742
@faridahaiden7742 2 года назад
Jessica, please be my boss, I would be happy to work with you 😂
@ohadcohen136
@ohadcohen136 2 года назад
Hey looking for friends to study with and doing projects together, you know a place I can find it?
@limecraftsproductions9442
@limecraftsproductions9442 2 года назад
Which automation you are using?
@rtr.harshalpatil4999
@rtr.harshalpatil4999 2 года назад
Thanks for the nightmare🙃
@maossokvisal298
@maossokvisal298 2 года назад
Is there any website or app that for pratice html?
@pain8440
@pain8440 2 года назад
Hey your videos help me alot. I have a request can you make a video on before and after pseudo elements They trick me hard. Please cover that how they are used in styling element.
@TheCoderCoder
@TheCoderCoder 2 года назад
I'll add it to the list of video topics!
@pain8440
@pain8440 2 года назад
@@TheCoderCoder Thank You ❤️ 😁
@waltercampbelle334
@waltercampbelle334 2 года назад
nice
@thechillbrozzz
@thechillbrozzz 2 года назад
intro OP, ha ha ha
@TheCoderCoder
@TheCoderCoder 2 года назад
😂😂
@loiuxxx
@loiuxxx Год назад
what vscode theme is that??
@swarajkothekar1868
@swarajkothekar1868 2 года назад
she uses firefox keep it up
@hajimeippo804
@hajimeippo804 2 года назад
I have learned many things in Js but I always feel like I have not learned enough and I again start to learn.. any solution?
@TheCoderCoder
@TheCoderCoder 2 года назад
Try building small projects when you learn a concept, or take the demo from the lesson you're learning and tweak it a bit to experiment how it works
@hajimeippo804
@hajimeippo804 2 года назад
@@TheCoderCoder thank you . I will try it
@bhashkarf369
@bhashkarf369 2 года назад
I have no any computer. But I have an android phone. It,s so difficult for me. Can you make coding videos in android OS. I learned very quikly in this channel. Please..
@canadianbro9327
@canadianbro9327 2 года назад
Lol, your avatar looks scary when she talks hahaha
@TheCoderCoder
@TheCoderCoder 2 года назад
Haha 😅😅
@akshaydraj
@akshaydraj 2 года назад
Is mastering html css difficult?
@faraaiden1180
@faraaiden1180 2 года назад
not really, but of course it needs time. If you practice them regularly, you will get the hang of them. It's not hard, keep practicing.
@akshaydraj
@akshaydraj 2 года назад
She looks like Smriti mandana (Indian female cricketer)
@anand.prasad502
@anand.prasad502 2 года назад
theme ??
@TheCoderCoder
@TheCoderCoder 2 года назад
Linked in description!
@anand.prasad502
@anand.prasad502 2 года назад
@@TheCoderCoder thanks ❤️
@aminhabachi1526
@aminhabachi1526 2 года назад
haw to creat site web
@anshulsingh1265
@anshulsingh1265 2 года назад
First learn how to write..
@TheCoderCoder
@TheCoderCoder 2 года назад
Check out my channel for a video on "how to make a super simple HTML website" -- it may help with basics!
@jps9330
@jps9330 2 года назад
Dont know why but u remind me of kobayshi-san
@TheCoderCoder
@TheCoderCoder 2 года назад
😂😂
@Samaelish
@Samaelish 2 года назад
I might be a bit early, but your playlist has only 3 videos, this video is not in the playlist. Great videos, though, as always.
@TheCoderCoder
@TheCoderCoder 2 года назад
Just added it, thanks!
@Samaelish
@Samaelish 2 года назад
@@TheCoderCoder thanks for amazing content!
@habisheck2708
@habisheck2708 2 года назад
It is good be a programmer
@LofiWurld
@LofiWurld 2 года назад
Sass is more powerful than js lol
@justme7944
@justme7944 2 года назад
First !
@ishananaguru
@ishananaguru 2 года назад
that's so creepy looking.... don't use that again.... other than that great content.
@TheCoderCoder
@TheCoderCoder 2 года назад
haha sorry 😂😂
@shreym03
@shreym03 2 года назад
@@TheCoderCoder I was about to say something similar. It looked a bit like the SAW Doll. I think it's ok if you use a still image with like a shaking animation or even just a voiceover. Your voice is great and your content is great. Can't wait for more
Далее
Building a Light/Dark Dashboard, Part 5
1:38:48
Просмотров 24 тыс.
Code faster with these VS Code shortcuts
8:44
Просмотров 299 тыс.
МЯСНОЙ ЦЕХ - Страшилки Minecraft
37:24
HELLUVA BOSS - THE FULL MOON  // S2: Episode 8
23:10
ATEEZ(에이티즈) - 'WORK' Official MV
03:15
Просмотров 14 млн
5 simple tips to making responsive layouts the easy way
15:54
Building a Light/Dark Dashboard, Part 1
29:38
Просмотров 103 тыс.
Why is Everyone Using Vite?
7:34
Просмотров 72 тыс.
How to keep up with trends in web development
5:01
Просмотров 46 тыс.
Mistakes to Avoid as a NOOB CODER | How to Code ?
8:54
Google Pixel 8 Pro #apple #googlepixel #iphone
0:17
Просмотров 14 тыс.