Hey, great work you got there. The layout is good in desktop and mobile view.
Suggestions would be
- Font color. Changing them will be a great idea to make it more contrasted and pop out more in terms of UI.
- I see that you declare a
border-radius
in yourmain
tag. Well for now, you cannot see the result right because of the child overlapping it. If you want to see theborder-radius
, you add aoverflow: hidden
. This way, it will cut out the border of the child and the border radius will be seen in the container
Regarding your queries
- Yes, as I looked into it, it is fine. No extra usage of elements and used a proper element, good for that.
- For them BEM, well, I think you could improve this. Okay here's how BEM works. First, you declare a block element, like it is a parent container. That block element will be independent among other components, now the child of that block, which is denoted in __ double underscore, is dependent on that block. But keeping in mind that whenever you are using that element, you first might want to look for the layout. Check for similarities among components, so that you element will be extensible and reusable. For the modifier, denoted by -- double hyphen or single, is the customizer of your element. Say for example we want to make that element rounded with background-color of blue, then we want a modifier to hold that. (This is my previous comment from another person here)
Overall, you did good in here. But if you have any question, just drop it here okay^