Completed my first frontend mentor challenge, yay 🎉
Questions
How could I improve the naming of my selectors? I've spent too long in StyledComponents land... I think they're okay but definitely could be better.
I feel like the stylesheet could be better organised, any tips here?
I originally used a H2 for the 'Join our community' heading. Realised the HTML checker would shout at me if I didn't have it as an H1 but it feels kind of strange having it as an H1 considering this would likely be a component within a page, rather than a page itself?
use font-family provided in the design. You can easily google how to add it from google fonts.
for better file structure put your images in images folder
you should look into CSS relative units, to make your solution scalable.
look into CSS property box-sizing, setting it to border-box will make your life easier.
you shouldn't have fixed width and heights on your cards because you can easily overflow them with content. Put only max-width on your container and your cards should have size based on the content that you put in them.
to make your code less repetitive you can use multiple classes in one HTML element, cards in this solution have mostly the same styles, only few differences. So you could structure your code like this:
I had to improvise the images color because it originally came in back & white, I added a violet container and reduce the opacity of the image to %50 and I got that result, My question is if im okay on that step.