This is my E-Commerce challenge and I hope to discover it also any feedback will be appreciated
Nikolas Escobal
@nikoescobalAll comments
- @0GeNN0Submitted over 2 years ago@nikoescobalPosted over 2 years ago
Hello Omar! π
Congratulations on finishing your challenge! π Amazing job! Looks really close to the original!
Here's some feedback/suggestions on this solution:
- I recommend learning Sass as it helps keep code clean and easy to understand since there's the added ability to be able to nest classes. This enables you to mimic the structure of the HTML in your CSS.
- When clicking the add button, it seems the cart on the top right gets updated, but not the text with the price itself. You should make this dynamic rather than static.
- I'd recommend practicing building layouts without relying on absolute positioning unless necessary -- you can achieve much of the same results with just padding and margins. This would be especially helpful when it comes to adjusting the responsiveness of your website across any screen size
- Check the report to fix accessibility/HTML issues - you currently have 11 accessibility issues and 3 HTML issues listed
I hope this is helpful and all the best with your coding journey!
Marked as helpful0 - @JulienK94Submitted over 2 years ago
ALL FEEDBACK IS WELCOME
@nikoescobalPosted over 2 years agoHello Julien! π
Congratulations on finishing your challenge! π Unfortunately, you haven't properly gotten the site deployed, as you have a 404 error.
Here's some feedback/suggestions on approaching this solution:
- You should build mobile-first, meaning all your CSS classes should apply to the mobile viewport first, then add media queries to manage the other screen sizes
- Add padding to the text so it doesn't touch the sides of the card.
- Check the report to fix accessibility/HTML issues - you currently have 10 accessibility issues and 2 HTML issues listed
I hope this is helpful and all the best with your coding journey!
Marked as helpful0 - @dvbenthemSubmitted over 2 years ago
Hello Coders,
This is already my third design and this one was challenging but I had a lot of fun coding it.
What is the best way to approach the design? Is the best way mobile first or desktop first? I know that people now a days use their mobiles phones the most, so i would say, mobile first. But i find it harder to begin with mobile first.
In my css style.css at the bottom of al my code i have the code for de screen-size of 375px. Is that good practice to put it beneath my code or is it better to make a new file, name it screen-size-small.css and link it in the head of the html document like
<link rel="stylesheet href="screen-size-small.css">
?I am also struggling what to use to make a layout, flexbox or grid. First i started with flexbox but i ran into some problems that the left and right side of the card where not excatly the same size. And also when resizing with flexbox the image got squeezed instead of scaling down. Then i tried css grid that worked alot easier. When do you use flexbox or grid or is that just your own preference?
I would like to get some feedback. :)
Thanks in advance,
Danny
@nikoescobalPosted over 2 years agoHello Danny! π
Congratulations on finishing your challenge! π
One lesson that really stuck with me, which I got from Kevin Powell, is that the web is responsive by default, meaning that any time you build a project, as long as you don't mess with negative margins or absolute positioning, your content is by default, responsive. That said, it makes so much more sense to go with a mobile-first approach, then meaning all your CSS classes should apply to the mobile viewport first, after which you then add media queries to manage the other screen sizes. Doing it this way also makes it easier to scale and adjust in the future, even if you will add changes to your layout.
As for using flexbox vs grid, it's best to practice both. For anything that has to do with tables, you should use the grid approach, whereas flex can be used to manage layouts that are simpler. Given that you ran into the difficulty of trying to make the columns the same size, the only solution is to use grid-template-columns with the fractional (fr) value, which guarantees they will always be the same size. An example of this looks like this
grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));;
Try giving it a shot -- the best way to learn is by practicing and applying new things little by little.Here's some other feedback on this solution:
- It seems like the filtered image is a bit too dark. You could either adjust the opacity or instead use background-blend-mode or mix-blend-mode with the property set to multiply.
- For your text below the numbers, you're not using the correct font, font size, and font weight
I hope this is helpful and all the best with your coding journey!
Marked as helpful0 - @AgusSaMacSubmitted over 2 years ago
This is the first challenge I work in, any feedback would be welcomed.
@nikoescobalPosted over 2 years agoHello there! π
Congratulations on finishing your challenge! π
Here's some feedback on this solution:
- You should build mobile-first, meaning all your CSS classes should apply to the mobile viewport first, then add media queries to manage the other screen sizes
- It seems like you didn't resize the fonts for mobile view
- Add padding to the text so it doesn't touch the sides of the card.
- Check the report to fix accessibility issues - you currently have 1 listed
I hope this is helpful and all the best with your coding journey!
Marked as helpful1 - @binthrootSubmitted over 2 years ago
Built with tailwindcss. Mobile first. The mobile and tablet screens look fine but desktop could use revision. Would love to hear from anyone who was more successful so I can revise.
@nikoescobalPosted over 2 years agoHello there! π
Congratulations on finishing your challenge! π Feel free to check out my project here, and the source code here
Here's some other feedback on this solution:
- You can add min-height to the tables for each breakpoint. It looks quite small on desktop
- Your buttons lack padding, as they're considerably smaller compared to the original design
- You could do with increasing the grid gap for desktop
- It seems like you didn't apply the correct letter spacing, font colors, and padding for the 1200px breakpoint
- Check the report to fix accessibility issues - you currently have 1 listed
I hope this is helpful and all the best with your coding journey!
Marked as helpful0 - @aryandogra2003Submitted over 2 years ago
Hello guys
I am having trouble making this page responsive . Need some suggestions to make it responsive
@nikoescobalPosted over 2 years agoHello there! π
Congratulations on finishing your challenge! π
Here's some other feedback on this solution:
- Keep in mind that the web is responsive by default
- This is why it's suggested to always start with mobile-first, then use media queries to cover the other screens
- Check the report to fix html issues - you currently have 2 listed
I hope this is helpful and all the best with your coding journey!
Marked as helpful1 - @master8848Submitted over 2 years ago
I could not impliment those cuts in between counter how could have I done it.
@nikoescobalPosted over 2 years agoHello there! π
Congratulations on finishing your challenge! π
To answer your question, there are multiple ways to approach this. One way you could use is to create black circles that have the same color as the outside, then adjust the positioning using margin to create that "cut effect."
Here's some other feedback on this solution:
- you forgot the social media icons below
- add letter spacing for your title and text below
- the spacing in between your cards is too much - you should adjust the padding/gap
- check the report to fix accessibility issues - you currently have 3 listed
I hope this is helpful and all the best with your coding journey!
0 - @Khemmie-RaySubmitted over 2 years ago
Is the use of negative margin bad practice? What are the best alternatives to that?
@nikoescobalPosted over 2 years agoHello there! π
Congratulations on finishing your challenge! π
I think using negative margins is completely fine, although it should only be used when necessary. The alternative is to use absolute positioning -- keep in mind that if you do use absolute positioning, the parent container must have a position relative applied to it.
Here's some other feedback on this solution:
- you forgot to add the quotation marks
- You can add width to your content + text-align-center to make it look like the original design
- check the report to fix accessibility issues - you currently have 5 listed
I hope this is helpful and all the best with your coding journey!
Marked as helpful0 - @Sahitya2006Submitted over 2 years ago
Order summary component card HTML AND CSS #Likes and comments welcome
@nikoescobalPosted over 2 years agoHello there! π
Congratulations on finishing your challenge! π
I have some feedback on this solution:
- I suggest you build mobile-first moving forward, as your code currently breaks upon resizing to 375px
- The web is responsive by default, so just add media queries to cover bigger screens
- check the HTML report to fix accessibility issues
- Your button content is currently overflowing because the font size is too big.
- You can also set a max-width for your button so it doesn't stretch outside the container
I hope this is helpful and best of luck with your coding journey!
Marked as helpful0 - @Yglove11Submitted over 2 years ago
First time with everything - from writing a code from scratch, to setting up a github and publishing. I found it difficult to decide my starting point, went in circles and wanted to jump back and forth between writing a single html line and jumping to css right away. And wanting to get it perfectly right the first time. Eventually, my goal changed to just completing it. I made it more complicated than it was.
I'm unsure on the sizing, feel like I need A LOT more practice with the sizing and desktop vs mobile flexibilities and thought it would come a little more naturally. Can the code be simpler?
@nikoescobalPosted over 2 years agoHey! Good effort, but it seems like your project isn't compiling. The live link is broken. Do update it so that the community can provide feedback on your solution! Also, other than GitHub Pages, I suggest try exploring Netlify -- it's fairly straightforward to deploy projects from there. All you need to do is import the file then deploy.
Marked as helpful0 - @milinbhade1214Submitted over 2 years ago
Please give your valuable suggestions.
I was unable to give tint to the image, so please suggest the hint
@nikoescobalPosted over 2 years agoHey there! Great job with this first try. This video was helpful for me - https://www.youtube.com/watch?v=uLvhAJfx3T0&t=3s
Also, you seem to have too much letter-spacing for some of your text. It also looks like you haven't made this fully responsive. I'd recommend starting with mobile-first. You'll have to spend some time to grasp the fundamentals of flex-box and grid to be able, but the good thing is that this will definitely get better with more practice. I recommend checking out Kevin Powell's videos - he has tons of content on responsive layouts, and many of them are pretty short! All the best with improving!
0