This project helped me understand how to center elements properly using Flexbox. I also learned how to use media queries for a mobile-first approach
Latest solutions
- Submitted 20 days ago
HTML and CSS Solution Using flexbox
- HTML
- CSS
I've only started to learn to code properly within the last month. Before that I've used tools like Wordpress and Webflow to create websites.
I'd like input on my code such as:
- Is my HTML semantically correct?
- Is there anything I could have done in this small project to make the HTML code cleaner?
- Is my CSS code okay or could I have used combinations of selectors or other things to make my CSS more lean?
- Is there anything in the CSS that I've written that doesn't need to be there?
- Is there anything I've missed in my CSS that I should have at the start of this and potentially all projects? For example font-size: 100%, or imgs to be displayed as block. Those are things that have been recommended to me since I started this project so I didn't add them, but would like to know recommendations for adding on all future projects.
Thanks in advance for any feedback😁
~ Carlton
Latest comments
- @zardrickSubmitted 20 days agoWhat are you most proud of, and what would you do differently next time?P@carltonjohnson1Posted 20 days ago
Great solution zardrick. I'm fairly new to coding and have looked at your code, and I think it looks good. I'm not 100% sure you needed the flex box on both the .container and .component-container, as I used flexbox only once in my solution, and it seems to line up in the same way. But I'm not experienced enough yet to understand why. I definitely noticed one or two things I should have added to my solution for the challenge, so thanks. 😁
Marked as helpful0