Responsive Landing Page Using HTML and CSS with Flexbox
Design comparison
Solution retrospective
Iยดm very proud respect the short time it took me. In the next time, I do the exercise with grid maybe.
What challenges did you encounter, and how did you overcome them?Was really dificult found the correct position in the DOM. But, after research oficial documentation, I could found the correct position.
What specific areas of your project would you like help with?I would like receive help in CSS styles or semantic mistakes in HTML.
Community feedback
- @MikDra1Posted 2 months ago
Use Semantic Tags: Replace generic <div> elements with more meaningful tags like <header>, <main>, and <footer>. This makes your code more accessible and easier to understand.
Add Alt Text: Ensure images like the QR code have descriptive alt attributes for accessibility.
Organize CSS: Consider using comments in your CSS to organize styles by section (e.g., layout, typography). This makes the code easier to navigate.
Use Consistent Indentation: Ensure consistent use of spaces or tabs for better readability.
Hope you found this comment helpful ๐๐๐
Good job and keep going ๐๐๐
Marked as helpful0 - @SvitlanaSuslenkovaPosted 2 months ago
body { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; } Try this to align(top-bottom) and justify(left-right) your project to the center. It applies to the parent component(body). You can use grid instead of flex too(with some changes). Hope you found this comment helpful :)
Marked as helpful0@JuanBachurDEVPosted about 2 months ago@SvitlanaSuslenkova thanks for the comment!, it really help me.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord