Responsive product preview using CSS Grid and Flexbox
Design comparison
Solution retrospective
What I would do differently next time is be more patient. Most of my problems were because I wanted to fly through the project.
What challenges did you encounter, and how did you overcome them?Links weren't working (due to being inpatient) Currently my challenge is uploading this project correctly. The format changed on Vercel but if you download the files it does work I also have screenshots of my project being finished as well. If someone can help me with this it would be a tremendous help, thanks!
What specific areas of your project would you like help with?Same per usual refactoring my code. but also, and sorry for repeating myself but The format changed on Vercel but if you download the files it does work I also have screenshots of my project being finished as well. If someone can help me with this it would be a tremendous help, thanks!
Community feedback
- @KapteynUniversePosted 13 days ago
I think the problem caused by the naming and paths. Your css folder is uppercased but you used lowercased in the css and html
Try this
<link rel="stylesheet" href="./CSS/style.css">
@import url("/CSS/global/fonts.css"); @import url("/CSS/global/boilerplate.css");
With these changes i can see your page without an error.
Also:
Good job for using picture tag, css variables and uppercase for the "perfume" text instead of hard coded it.
Wrapping the content with a main landmark (and use others when necessary) is a good practise. Landmarks are essential for accesibility.
For the <div class="main_Container"> i think you can use article tag aswell.
Image alt texts needs to be meaningful, unless decorative. So you can leave it empty for the shopping cart icon.
Don't know if it is a design choice but sticking one type of class naming might be better. They are changing everywhere like; main_Container, container-Left, container-right,
I still couldn't get used to it but if you are getting hard time naming classes you can use class naming styles like BEM
Also i recommend a modern css reset or this one
1@KapteynUniversePosted 13 days agoOh also like @YacoubDweik said, for static pages like this one you can use Github too. Go settings on the repo, select pages, change branch to the branch you want to use (main) and save. After 30 secs or so it will give you the live link on top of the same page like https://wpittman06.github.io/repo-name/
1
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