please help me read the figma border-box? I can't understand them, so I couldn't apply them correctly in my code =(
MD KHABBAB HOSSEN
@khabbab50All comments
- @ladymarina08Submitted 9 months ago@khabbab50Posted 8 months ago
The CSS box-sizing property allows us to include the padding and border in an element's total width and height.
Click the link below to get an idea of the box-sizing property.
0 - @ladymarina08Submitted 9 months ago
please help me read the figma border-box? I can't understand them, so I couldn't apply them correctly in my code =(
@khabbab50Posted 9 months agoHello there π @ladymarina08
Good job on completing the challenge !
Your project looks really good!
I have suggestions about your code that might interest you.
π First: Use <main> to wrap the main content instead of <div>.
Tags like <div> and <span> are typical examples of non-semantic HTML elements. They serve only as content holders but give no indication as to what type of content they contain or what role that content plays on the page.
πIf you don't have the Figma design files, I recommend using a browser extension called Perfect Pixel.
It allows you to compare your finished project with the design images that come along when you download the project and check the (almost exact) dimensions. It's very useful!
I hope this suggestion is useful for future projects.
Other than that, great job!
Keep up the excellent work and continue to challenge yourself with new projects. Your progress is impressive, and each project is a step forward in your front-end development journey! ππ.
Happy coding.
0