Any feedback is appreciated!
Iole
@d4lbitAll comments
- @d4lbitSubmitted almost 3 years ago@d4lbitPosted almost 3 years ago
I noticed that in the preview it's off centered, but on my device it's just fine. Let me know if you have the same problem, please.
0 - @jandrevSubmitted almost 3 years ago
Hello there! I got in quite a lot of trouble determining when I should use an ID and when I should use a class. How can I optimize my use of IDs and classes? Another thing that bugged me is that I had to nest three divs to create the shadow of the main card. How can I improve the creation of these shadows? I tried using box-shadow, but I could not control the width and height of the shadow.
@d4lbitPosted almost 3 years agoHi! Usually ids are used only one element and classes on multiple elements :) Also remember that when applying CSS ids have priority over classes. As for the shadow, you can just apply it on the outer parent div of the card. From my newbie point of view I found your HTML a bit 'too messy': you could have done your card with less divs. But it's a good try anyway! If you have troubles with CSS I suggest you visiting CSS Tricks, it may help you :)
Keep going, it's going to be easier!
1