Design comparison
Solution retrospective
It was my first front-end project getting hosted on internet so I had to face difficulties in managing the files on Github. I'm unsure about the responsiveness of the webpage, I'll be working more on the it and use more advanced technologies like JS to improve the function of the webpage.
Community feedback
- @danielmrz-devPosted 11 months ago
Hello @ashutoshverma23!
Your project looks great!
I suggest you also try Vercel to deploy your projects, I always use Github Pages and Vercel as a backup.
Also, don't worry about responsiveness in this project. Since the mobile and desktop version are the same, you don't need to make it responsive.
I took a look at your code and saw that you tried to center the card using flex, but you used it inside the container. Here are are two ways to center elements, no matter the size of the screen:
You can apply this to the body (in order to work properly, you can't use position or margins):
body { height: 100vh; display: flex; justify-content: center; align-items: center; }
Or you can apply this to the element you wanna center:
.element { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
I hope it helps!
Other than those details, you did an excelent job!
Marked as helpful1@ashutoshverma23Posted 11 months ago@danielmrz-dev Thanks a lot the changes you suggested are great, it made things easier for me. I'll definitely use them from my next projects.
1 - @EONRaiderPosted 11 months ago
Hello. I suggest you to use netlify.com when deploying projects if you feel you’re having difficulties right now. It’s extremely easy to use. The way your project is structured right now you only need to inform to Netlify the URL of your GitHub repo and you’re done.
Marked as helpful0
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