Тёмный

CSS Responsive Card Design | Mini-Project Tutorial for Beginners 

Dave Gray
Подписаться 341 тыс.
Просмотров 18 тыс.
50% 1

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
This CSS Mini-Project designing responsive profile cards will incorporate many of the concepts from previous lessons in this CSS for Beginners tutorial series. We will use flexbox, images, media queries and more! If you are just beginning with CSS, I recommend going to the start of this CSS for Beginners playlist: ru-vid.com/group/PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit
@davidechoda9740
@davidechoda9740 2 года назад
I just want to say a big thank you to you for your awesome videos. Just landed my first job and I'm supper happy. Most of my knowledge of JavaScript and reactJs came from watching your amazing contents. Thank you Sir!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you for sharing, David! Stories like yours are what keeps me motivated! 💯🚀 And congratulations!
@gqcodes2169
@gqcodes2169 2 года назад
That's awesome David! That motivates me to continue on the journey
@moriayo8750
@moriayo8750 2 года назад
I just can't appreciate more the fact that your lectures are not only detailed but very, very organized. In fact, most beginner "only" learn how to code, but fail to learn how to properly organize their codes. You teach both. Code and proper organization. Thank you Dave❤️
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
You're welcome! And thank you for the kind words! 🙏🙏
@mmjjg-g3g
@mmjjg-g3g 2 года назад
Not often that I comment but I have to. These tutorials are just great. A no nonsens approach with great detail. Sometimes a little "dry" - but that's exactly what I need (the why, how, do and don't). Now I will lock myself in a room for a few weeks and study all the HTML and CSS content you have created. When those subjects are under my skin I will continue with you Vanilla JS section. Great work Dave. You're a star!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Glad you like them! And thank you for the kind words 🙏 I'm still adding some content to this CSS for Beginners playlist each week.
@mmjjg-g3g
@mmjjg-g3g 2 года назад
@@DaveGrayTeachesCode Geeezzzz, then I guess I will stay locked up forever 😂
@Awpsun
@Awpsun 3 месяца назад
can't believe i made such a sick website!!!. used the tutorial as a reference point and made a formula 1 drivers profile. It's always fun to use your own images and names and modify them as per you. so fun. thankyou so much dave
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 месяца назад
That's outstanding! Congrats!
@Grihlo
@Grihlo 2 года назад
Thank you Dave! I was following this project and few things didn't work for me.. that was a bit annoying but at the end I've found that there were few typo from my side.. Your github is very helpful for me in order to be able to check everything carefully.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Great job, Grigory! Using the source code for the course to double check any issues you encounter is a great way to find the solution! 💯
@hiwayshoes
@hiwayshoes 2 года назад
Hi Dave! So much love for this channel and for all you do to help us all get better at coding… Cheers 💖!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
You're welcome! 🙏💯
@pythonantole9892
@pythonantole9892 2 года назад
CSS is really underrated. I learn and discover new things everyday.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Glad I could help!
@xerxes1321
@xerxes1321 6 месяцев назад
i have changed the main to this: main { flex-grow: 1; min-width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); place-content: center; gap: 1.25rem; padding: 1rem; } so that the media queries are reduced to this: @media screen and (min-width: 548px) { nav { display: none; } } /* || MOBILE DEVICE LANDSCAPE */ @media screen and (max-height: 425px) and (min-aspect-ratio: 7/4) { h1, h2 { font-size: 1.5rem; } nav { display: none; } } there are some alignment issues between 384px and 568px!
@shineLouisShine
@shineLouisShine 2 года назад
Wow. A tough one. When you're explaining it - All clear. When trying to do it by myself from scratch - Everything that related to display, So as everything that related to @media paragraphs - feel as procedural requirements for professional only..
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Keep at it. I think you will get it as you continue to work with it 🚀
@viniciusm.m.7822
@viniciusm.m.7822 2 года назад
Love you, Dave!!! Thanks for these awesome well-explained projects! Forte abraço do Brasil! God bless!!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
You're welcome, Vinicius! 🙏
@David-qv9vf
@David-qv9vf 2 года назад
Hey Dave ! Thanks again for your amazing work. I would like your advice about clickable card if you got time. I looked for the best way to build clickable card in HTML but there too much ways. In your opinion, what is the best way to put the markup : 1. img -- text 2. img -- text 3. img -- text ( is position absolute and covering the whole card with article in position relative) Thank you
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
I don't know if you are using JavaScript, but I would. I would keep a structure like you have or similar to #3. For a clickable card, you would add an event listener to the card or all elements with the card class - this is in JS.
@David-qv9vf
@David-qv9vf 2 года назад
Thanks for your reply. At this stage of my apprenticeship, I don't learn JavaScript yet. So it is not a problem if the element is empty.
@proddirtneck
@proddirtneck 2 года назад
How many of css tutorials are you planning on doing? and thanks for posting these for free, ur the goat!!🐐🐐
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
You're welcome! I don't have a set number. I have just been following the content. There are a few more to go, but I think for a beginners series, we are getting close to the finish line. 💯🚀
@codernerd7076
@codernerd7076 2 года назад
Your css videos are awesome!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Glad you like them! 💯🚀
@mohammadawais1566
@mohammadawais1566 2 года назад
Excellent work Dave😍
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you, Mohammad! 💯
@9nikolov
@9nikolov 8 месяцев назад
17:20 Fix Navbar Link Scrolling Past Card (experiment with the value to get the right behaviour) scroll-margin-top: 8rem;
@my-kz1ed
@my-kz1ed 2 года назад
Thank you for everything
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
You're welcome! 💯
@vaniavladimirova13
@vaniavladimirova13 8 месяцев назад
I know it is a little too miuh to ask, but you never know, you may see and tell me.... Why in the body we had those declarations: display: flex; flex-direction: column; but we did see our parts as rows? Sorry for my english
@myozimandis
@myozimandis Год назад
great stuff
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thank you!
@stanislavaksenov1700
@stanislavaksenov1700 Год назад
Hi Dave! Wouldn't it have been easier to insert   between Dev and Rel instead of defining a .nowrap class?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
You could, but I would rather not insert an entity in there. The class is also reusable. 😀
@yatin1370
@yatin1370 Год назад
Hi Dave, I am decently clear with flexbox and grid concepts on a simple one container and multiple items level. The problem comes when there are multiple inside each container; sort of like inception concept... I really have a hard time understand aligning internal elements and then each internal element further is another flex container... I get lost... I had a tough time understanding the flex model of body, main, card class Any suggestions?
@yatin1370
@yatin1370 Год назад
I revisited this and previous video today again with a fresh mind. I drew the skeleton of HTML, put boxes around it wherever flex containers were created, wrote its initial flex-flow and then whenever Dave changed it in media queries I looked at the drawing and understood better. It was much better today. I'm gonna need a lot of practice for this to come naturally.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Not sure if you played the recommended Flexbox Froggy game from the Flexbox chapter, but it can help. There are also other flexbox games you can Google. The more you work with it, the easier it will become.
@yatin1370
@yatin1370 Год назад
@@DaveGrayTeachesCode yes did the froggy. Getting comfortable with it day by day...
@liudmyladolzhenko516
@liudmyladolzhenko516 2 года назад
Hello Dave, thank you for the great lesson but I have some problems when I use an "inspect" and press on Matt or Jane or Joe it show me: Cannot GET /profile2 . I couldn't find any information about this problem on Internet. Could you help me solve this issue please?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Hi, I cannot guess what may be different in your code, but you can go to the course resources link I provide in the description and compare your code to my code for lesson 18 to see what is different.
@liudmyladolzhenko516
@liudmyladolzhenko516 2 года назад
@@DaveGrayTeachesCode Hi,Dave! Thank you for reply. I found my mistake and memorised a lot 😂 from lesson 18 repeating it again and again. You are really amazing teacher who always trying to help students to understand their flubs.
@RhyminRome
@RhyminRome Год назад
I followed your full HTML tutorial and the CSS tutorial up to this point. I have been able to mimic everything you've created but here I can not make the device frame show in developer tools, it will show for nest hub and nest hub max but not for any of the other options. I'm in chrome.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
- Open Devtools in Chrome (Ctrl+Shift+i) - Click on the icon near the top of devtools that shows a tablet & phone - You should now have the responsive toolbar at the top of your window - Click the dropdown where it says "Dimensions" (near top left) and choose "Edit" at the bottom - Now you should have another Devtools window that says "Devices" and shows the devices you can add - and also provides an "Add Custom Device" button
@amirghiasi100
@amirghiasi100 2 года назад
Hey, I have a problem about lesson 18. with set a:focus color, after click on on link that link color stay at focus color and when i hover mouse on the links color dos not change on device mode on dev tools
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Good questions! In reverse order of what you asked - Hover does not work on some devices. You will need to exit devtools to test that out, but you can tab through to check the focus style. You can use media queries to check if the device supports hover like: @media screen and (hover: hover) OR @media screen and (hover: none) if you want to style things differently for each. ...Now the "after click on link" question - You can change the :focus pseudo-class to :focus-visible. You will not see this change with devtools open, but without devtools, when you move your mouse away from the link, it will no longer display the focus state.
@amirghiasi100
@amirghiasi100 2 года назад
@@DaveGrayTeachesCode Thanks for replay man! 💖
@gldzzpro5793
@gldzzpro5793 2 года назад
does anyone told you today that you are a legend ....
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you for the kind words 🙏
@bnmbnm7278
@bnmbnm7278 2 года назад
Did you upload the started code in github?
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you for the reminder! Now uploaded! 🚀
@ditarahmawati3719
@ditarahmawati3719 Год назад
hello, i love your text color code.. what your extensions for your color text code and color theme? i love that :)
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Github theme
@mohammadawais1566
@mohammadawais1566 2 года назад
Excellent work Dave 😍
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you, Mohammad! 🙏
@hamza77v
@hamza77v 2 года назад
Great content 💫♥️
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you 🙌
Далее
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,6 млн
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Просмотров 335 тыс.
Useful & Responsive Layouts, no Media Queries required
11:03
3 modern CSS techniques for responsive design
14:32
Просмотров 214 тыс.
10 CSS Pro Tips - Code this, NOT that!
9:39
Просмотров 2,2 млн
The Easiest Way to Build Websites
10:56
Просмотров 490 тыс.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
So, you want to build apps & websites?
9:34
Просмотров 184 тыс.
How to create RESPONSIVE Layouts with CSS GRID
11:04
Просмотров 28 тыс.
Simplify your CSS with these 3 grid layout solutions
7:10