-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alishka-react-w1 #9
base: main
Are you sure you want to change the base?
Alishka-react-w1 #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work so far @Alishka-Space ! 👏 I do have a few comments about how it looks and works. Also, please for next time deploy it on Netlify (as per requirements) so I can also check it live 😄 This is the live example btw that you can use to make sure it looks as expected: https://hyf-react-w2-example.netlify.app.
- The page is not responsive enough. When I resize at some point there is not enough space and parts of the product are visible only when scrolling to the right. Please see if you can fix this with CSS.
- The categories are just pieces of text right now and it is not super clear they can be clicked (for example by making it a button). Please see if you can fix this as well by looking at the example.
- The layout keeps shifting when I select different categories. Ideally the title and categories are at the top of the page and the categories below, like the example.
<div className="categories"> | ||
{categories.map((category) => ( | ||
<div key={category} className={'category-item ' + (category === selectedCategory ? 'category-selected' : '')}> | ||
<h3 onClick={() => handleCategoryChange(category)}>{category}</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚒️
This will only trigger a category change if you click exactly on the title/text/h3. Please see if you can fix this that the whole div works 🙂
No description provided.