@marjsky
Posted
I see that you are using individual margin properties throughout your embedded CSS. I would like to suggest considering shorthand properties for margins to streamline your code and improve readability.
What are you most proud of, and what would you do differently next time?
First introduction to css without GPT
First test the simples solution before go on with more complex solutions, because i see so much and tried to use, fail hard and waste a lot of time.
What challenges did you encounter, and how did you overcome them?
Don`t know how to center a div xD
Most of thing just with some time I get it, but center a div make me so confused that I try everything to the simples ones up to more difficult ones and return to simples ones, just more slowly and it work.
What specific areas of your project would you like help with?
I`m here to use css efficiently and responsive
So if I could recive advice about hoe to use more clean css and assure the sites I design are responsive I gradly accept.
@marjsky
Posted
I see that you are using individual margin properties throughout your embedded CSS. I would like to suggest considering shorthand properties for margins to streamline your code and improve readability.
@0xabdulkhaliq
Posted
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
QR iMAGE ALT TEXT 📸:
alt
attribute.alt
attribute should explain the purpose of the image
.alt="QR code to frontendmentor.io"
<img src="/images/image-qr-code.png" alt="QR code to frontendmentor.io">
%
units, instead you can use relative units like em
& rem
, For example:.container {
border-radius: 1.5rem;
}
img {
border-radius: 1rem;
}
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
@Juan1423
Posted
@0xabdulkhalid Why using % units is wrong? Could you explain it please and what unit are better for specific uses?
@0xabdulkhaliq
Posted
@Juan1423, If we use %
units for minute things like border-radius
then it will respond according to our device width and height. So this will make the website's elements to look weird on mobile & desktop.
You can %
for width
and height
it would absolutely helpful in these cases but not for styling minute details.
@ad-monir2001
Posted
Hey, Nice work . You have worked hard to solved . Nice coding ,
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord