Is there a reason why the main component is not vertically centered? and how do I fix it?
Latest solutions
Responsive Base Apparel Coming Soon Section using CSS and JavaScript
#pure-cssSubmitted 8 months ago- setting colors using linear gradient.
- in this challenge, I couldn't come up with any approach to match the hover state of the challenge with my solution. So, I will appreciate any help regarding that.
Responsive Intro component with sign-up form using CSS and JavaScript
#pure-cssSubmitted 8 months agoI would like to know approach of experienced frontend developers to design layouts like this one. How to think of initial basic structure. And sources to find help especially on JavaScript when you feel struck.
Responsive Results Summary Component using CSS and JavaScript
Submitted 9 months agoIn this solution, I stored data in a JavaScript Array. I would like help with any function of fetching data from data.json to populate data dynamically using JavaScript.
Latest comments
- @haloviiWhat specific areas of your project would you like help with?@asimsaeed353
Hi @hallovi, Are you asking why your whole card component is not vertically centered?
- @Irene-JurnaWhat are you most proud of, and what would you do differently next time?
I finished my first frontendmentor challenge!
What I'd do differently next time: keep the media-queries consistent, understand rem/em/px better, learn more about grid.
What challenges did you encounter, and how did you overcome them?Accessibility was a new topic, that was challenging to work with. It was also hard at first to be able to make the content dynamically rendered. As I used Angular, I couldn't use the javascript tutorials for that. For the same reason, I got stuck with the menu navigation. But now it works!
What specific areas of your project would you like help with?Feedback on the major things to improve. I'm a junior frontend developer. What are things in the structure of the project that could use improvement?
@asimsaeed353Very Impressive!
- @Hasani-SediqaWhat are you most proud of, and what would you do differently next time?
To complete this solution and learn using GitHup, and for next time i would think about the solution before to start it, and I'll search about the CSS layout.
What challenges did you encounter, and how did you overcome them?I had a problem when uploading the files in the GitHup, the Live linke did not works then I searched about it and I figured it out that the index.html file should be in the root directory of the branch that I selected for GitHub Pages.
@asimsaeed353Congratulations on your first design. Keep learning and keep coding cool layouts!
- @kaveeshagimWhat are you most proud of, and what would you do differently next time?
I'm mostly proud of how quickly i was able to create the html skeleton and finish the project by adding styles even without the help of the figma file. Definitely an improvement from the past projects
What challenges did you encounter, and how did you overcome them?i was struggling a bit with centering the main container and applying a max width
What specific areas of your project would you like help with?I would like to know how well i did in overall considering the fact that there was no figma file and i had to eye ball most of the measurements.
@asimsaeed353Great design and very clean and simple code. To center the main container, you can use
body{ display : grid; place-items : center; min-height : 100vh; }
And you did an amazing job. Keep up the good work!
- @Outstandinggirl13What are you most proud of, and what would you do differently next time?
Learning Progress:
- Worked with a high-quality Figma design file, which helped me achieve near pixel perfect accuracy.
- Improved coding skills and understanding of BEM methodology.
- Used meaningful names for elements.
Development Insights:
- Encountered and resolved issues styling the preview image.
- Used flexbox to center the image.
Responsive Design:
- Implemented a clamp() function for dynamic width adjustments between mobile and desktop views.
HTML Enhancement:
- Wrapped the publication date in a tag for better accessibility.
@asimsaeed353Very accurate and outstanding design!!
- @halovii@asimsaeed353
Impressive effort and yeah GitHub is confusing sometimes haha. I have a suggestion, add styles to your
<a>
for hover and focused state. That'll improve the design for sure. Keep up the good work!