Hi, @erenymo. It's a good solution. Keep coding. I have some suggestions for you.
1 - You should use h1
tag in your page. It's necessary for screen readers and search engines. Be careful your page hierarchy. You can use h1
tag instead of h2
in your page.
2 - You can use the universal selector for the global reset.
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
box-sizing: border-box;
is so important. This topic is related to the box-model. It is one of the most important topics in CSS. Be sure to understand the fundamentals of CSS. This will make you feel more comfortable. Please check the resources.
Learn CSS Box Model In 8 Minutes
box-sizing: border-box explained
3 - If you want to learn CSS fundamentals in depth, I highly recommend Jonas Schmedtmann's HTML&CSS courses on Udemy.
I hope these will help you to improve your perspective. Keep coding. All the best.
Marked as helpful
@erenymo
Posted
@adonmez04 I will try to follow these guidelines more in the next projects, Thanks for your feedback ^^