I would appreciate any feedback and suggestions on how I can improve my solution! 😄👋 Thank you
zoleee98
@zoleee98All comments
- @IsaiasVillegasSubmitted over 2 years ago@zoleee98Posted over 2 years ago
you can fix your background using background-size: contain;
also your card seems a bit larger, just simply use transform: scale(); on your card
0 - @marantooSubmitted over 2 years ago
Hi, i ve many problems sizing "container" div, setting background image,... any opinion will help me a lot, thanks :D
@zoleee98Posted over 2 years agohi
- you can fix the background problem by adding background-size: contain; to the body
- just change the height of your container-text to make the card taller
Marked as helpful0 - @yrpcfcpSubmitted over 2 years ago
This is my third challenge. Any feedback would be great.
Also, how do you make the buttons to be clickable?
@zoleee98Posted over 2 years ago- use flexboxes, u can position things easily with it.
- dont use <br> tags to make some space between elements, just use proper margin, padding, gap etc. on elements.
- your button is a div without any hover effect, just use <button> tag instead of div and you can set the same rules in css for button + u can add hover effect with :hover pseudo class, thats why u cant click on it.
keep up nice work!
Marked as helpful0 - @TheArkhamKnight781526Submitted over 2 years ago
All feedback is very much appreciated! I decided to use async fetch instead of .then() for a change, any thoughts? Also, try turning off your internet temporarily and then clicking the button! :)
@zoleee98Posted over 2 years agonice work, you can do text-align: center; for the quote element, like in the design
0 - @IPogenISubmitted over 2 years ago
I found styling the buttons with box shadow a little difficult and also making it look good in mobile version was a little difficult. I tried to maintain code readability and tried to follow all the best practices. I definitely would love to get feedback on this. Anything that needs improvement or a little adjustment or something totally off the track, please don't hesitate to let me know about it. Thank you
@zoleee98Posted over 2 years agohi! looks like you have trouble with the background.
you can fix it with adding this to the body:
- background-size: contain;
i noticed that your cancel order button has no hover effect. also if you dont want to copy paste hsl colors, you can store them in a variable. anyways great work!
Marked as helpful1 - @kkrataSubmitted over 2 years ago
Any feedback and best practices advice would be appreciated!
@zoleee98Posted over 2 years agoi think its perfect, but i one thing.
as you can see the eye image is transparent like the hover background, and it shouldnt be like that
just make an after pseudo only for the eye image and it wont be transparent
i hope it helps
Marked as helpful1 - @sayamalviSubmitted over 2 years ago
Couldn't position the "eye" on hover perfectly. Need suggestions.
@zoleee98Posted over 2 years agohi great job, but unfortunately u cant add before/after pseudo elements on images.
here is my tip:
- put that image in a div, and use before+after on that div
- i used before pseudo to make the background with div:hover::before{}
- and then div:hover::after{} for the eye image, just like this: content: url("images/icon-view.svg");
and dont forget that you can make a flexbox from before/after pseudos to center the eye image.
hope that helps;)
Marked as helpful0 - @SupaSibsSubmitted over 2 years ago
idk is there a better, more efficient way to get a good design
@zoleee98Posted over 2 years agoyou can make a flexbox from your card and therefore you can position things easily, just like you did with your body element
0 - @abhityagi09Submitted over 2 years ago
Suggestions for CSS
@zoleee98Posted over 2 years agoa good tip: just use px or rem units instead of % on your card to prevent scaling on larger screens, also you can leave media queries.
Marked as helpful0 - @katrien-sSubmitted over 2 years ago
I've been studying all week on how to use API's and manipulate json-data. So this exercise was a nice test to see where I am.
@zoleee98Posted over 2 years agoits okay i think . the only thing that seems weird to me that your button still have the box shadow after clicking. maybe thats there on purpose, but great work
0 - @newpheeraphatSubmitted over 2 years ago
Feel free to comment. I want to improve my skill.
@zoleee98Posted over 2 years agonice work, you just forgot to add hover effects and box shadow on your card!
1 - @ThibautNariveloSubmitted over 2 years ago
Hi guys!
Comments and suggestions to improve my work are highly appreciated. Thank you :)
@zoleee98Posted over 2 years agoYou forgot to add box shadow to the card. And a good tip: use flexboxes
I’m not sure if align-items works without display: flex;
I just saw your code and u used align items but there is no display flex
Anyways great job!
0