Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive E-Commerce site Audiophile built in React

#react#react-router
Ben Hensor 100

@benhensor

Desktop design screenshot for the Audiophile e-commerce website coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
5guru
View challenge

Design comparison


SolutionDesign

Solution retrospective


Thanks for checking out my solution to the Audiophile site challenge.

I am interested in any feedback or opinions on my approach to CSS. I've styled this project in the old skool method of importing css files. I am currently learning more efficient ways to style projects so I'd love to hear people's thoughts on what their preferrences are? Tailwind, styled components etc.

Thanks!

Community feedback

@LuisJimenez19

Posted

Hi Ben, congratulations on finishing this challenge, very good job.

In this case I see your website very well, you can add an overflow-x:hidden; so that there is no unnecessary horizontal scrolling.

body {
    background-color: #f2f2f2;
    background-color: var(--bodyBG);
    font-size: 1.5rem;
    font-weight: 400;
    font-weight: var(--fwRegular);
    line-height: 2.5rem;
    overflow-x: hidden;
}

In my case I prefer to use TailwindCss because if you know CSS it is very easy to bring it to this framework. It allows you to literally write any CSS rule and it is also very easy to customize it. The disadvantage is that in development it is sometimes very difficult to read the components because to customize An element must add many classes, however it also has directives that you can extend, that is my opinion.

Regarding the challenge, you could add certain animations between each page to make it a little more pleasant.

Well Ben, I hope I have helped you, don't hesitate to answer if you have questions, see you.👋🏽

0

Ben Hensor 100

@benhensor

Posted

@LuisJimenez19 Hi Luis! Thanks very much for taking the time to have a look and for your feedback on the project.

I'm keen to know where you're seeing the horizontal scrolling as I am not able to see that on my devices? I'll certainly review the code again.

I have used Tailwind a bit and found it really interesting. I guess I just have the habit of doing css the old-fashioned way. Thanks again!

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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