The project took 22 hours to complete. I don't know if it's a lot or a little - noting the time will help predict future work.
Latest solutions
Rest Countries Api using React and Tailwind
#fetch#react#swr#tailwind-css#vitePSubmitted about 1 month agoAreas I'd like help with
-
Performance Optimization
- Best practices for reducing unnecessary re-renders
- Strategies for optimizing API calls and caching
-
State Management
- When to use Context vs. Props vs. State Management Libraries
- Better patterns for managing complex state
-
Accessibility
- Ensuring the application meets WCAG standards
- Improving keyboard navigation and screen reader support
-
Mortgage Repayment Calculator using React Tailwind
#accessibility#react#tailwind-css#vitePSubmitted 2 months agoI'm looking for input on further optimization of state management and performance, ways to boost accessibility compliance, and strategies to improve project scalability.
Feel free to share any additional thoughts or suggestions!
Product list Card using React and Tailwind
#accessibility#react#tailwind-css#vitePSubmitted 3 months agoI would appreciate feedback on several specific areas of my project. First and foremost, I am looking for insights into whether there are any issues with my state management or component structure. I want to ensure that my use of the
useState
hook is optimal and that my components are designed for maximum reusability and clarity. Additionally, I would like to receive feedback on the accessibility features I implemented, particularly the aria-live announcements for screen readers. It’s important to me that my application is accessible to all users, so any suggestions for improvement in this area would be valuable. Lastly, I am open to any general advice on how I can enhance my code quality, whether through better practices, performance optimizations, or improved styling techniques.Result Summary Component using react and tailwind
#accessibility#fetch#react#tailwind-cssPSubmitted 3 months agoI would appreciate help with optimizing the application's performance, particularly in terms of improving responsiveness. Additionally, any advice on best practices for structuring larger React applications would be valuable as I continue to scale this project and others in the future.
Pomodoro App using Astro, Sass, Tailwind and Vanilla JS
#accessibility#astro#sass/scss#tailwind-cssPSubmitted 4 months agoI would like help with optimizing the performance of the app, particularly in terms of reducing any potential layout shifts or flickers when loading user settings. Additionally, guidance on implementing a more robust state management solution would be beneficial, as it could improve the scalability and maintainability of the application. Lastly, any advice on further enhancing the app's accessibility features would be greatly appreciated.
Galleria Slideshow using Astro, Sass, Tailwind and Vanilla JS
#accessibility#astro#cube-css#sass/scss#tailwind-cssPSubmitted 4 months agoI used Astro to build this project, including dynamic routes. I’d like to know if my approach is correct for creating multiple pages within a folder. Specifically, I added a
[slug].astro
file and used adata.json
file to generate the pages.Regarding the CSS, is my implementation of the masonry layout correct?
If you notice any other issues in my HTML, Accessibility, or CSS, I would appreciate your feedback on those as well.
Latest comments
- @dar-juSubmitted about 1 month agoWhat are you most proud of, and what would you do differently next time?P@kaamiikPosted about 1 month ago
Congrats for doing this challenge. I think for the search input and the select you can wrap them inside a
form
element. It's more semantic.And for the load more button I really liked it. How did you implement it?
Marked as helpful0 - @subjectiverealityySubmitted about 2 months agoWhat challenges did you encounter, and how did you overcome them?
When I was pushing to Git, I kept making mistakes on the README.md file and had to keep repeating the process of git add, git commit and git push. I have now gotten it to read the way I want it to. The problems originated from using the wrong file paths for the README.md file and my project's screenshot initially.
P@kaamiikPosted about 2 months agoHi. Some notes for your code:
HTML
- A proper page structure inside
<body>
should look like this:
<body> <header>...</header> <main>...</main> <footer>...</footer> </body>
Since this is a card component, we only need the
<main>
element.
- For
<img>
tag you need alt text to describe the image. Although for decorative and avatar images You need to add an emptyalt=""
because there is no information in the photo. The point is you have to usealt
.
- Follow proper heading hierarchy:
- Each page should have one
<h1>
- For components that are part of a larger page, use
<h2>
instead - This maintains proper document structure while reflecting component hierarchy
- Each page should have one
- You do not need to wrap the person name into a
<span>
. Simply use ap
tag.
CSS Best Practices
- Start with a proper CSS reset (Andy Bell or Josh Comeau resets are recommended)
-
Use viewport height properly:
/* Instead of: */ body { height: 100vh; } /* Use: */ body { min-height: 100vh; }
This ensures content can expand beyond viewport height
- Avoid fixed widths and height for text containers:
- Remove
width: 384px
andheight: 522px
from.wrapper
- Use
max-width
for better text container adaptability
- Remove
- Use relative units:
rem
forfont-size
andmax-width
instead ofpx
- Learn more about this here
- Follow mobile-first approach:
- Start with mobile styles as the default
- Use
min-width
in media queries - Use
em
units for breakpoints
Example media query:
@media (min-width: 40em) { /* Desktop styles */ }
1 - A proper page structure inside
- @evitakatrinaSubmitted about 2 months agoP@kaamiikPosted about 2 months ago
Hi. I see some issues in your code I wanna mention:
HTML
- A proper page structure inside
<body>
should look like this:
<body> <header>...</header> <main>...</main> <footer>...</footer> </body>
Since this is a card component, we only need the
<main>
element.
- For decorative and avatar images, use empty alt text:
alt=""
- Avoid using words like image, picture, or photo in alt descriptions
- The "Learning" text should not be a
<span>
- it should be a<p>
tag. The person name is a<p>
tag too.
- Elements with hover effects are considered interactive
- If an element with hover effects navigates to a new page, wrap it in an
<a>
tag. Here yourh2
is interactive too. So you need to wrap it inside thea
tag:
<h2><a href="#">Title Text</a></h2>
CSS Best Practices
- Start with a proper CSS reset (Andy Bell or Josh Comeau resets are recommended)
-
Use viewport height properly:
/* Instead of: */ body { height: 100vh; } /* Use: */ body { min-height: 100vh; }
- Avoid fixed widths for text containers:
- Remove
width: 300px
from.card
- Use
max-width
for better text container adaptability
- Remove
- Use relative units:
rem
forfont-size
andmax-width
instead ofpx
- Learn more about this here
0 - A proper page structure inside
- P@YonerfySubmitted about 2 months agoP@kaamiikPosted about 2 months ago
I have some notes for your code which may help improve your code:
HTML
- For single-component pages, use a minimal semantic structure:
<body> <main>...</main> </body>
This provides proper document outline while keeping markup minimal. Remember the
main
tag is necessary.
-
Image descriptions should be meaningful and descriptive:
- Use alt text that explains the purpose:
alt="QR code to Frontend Mentor website"
- Use alt text that explains the purpose:
- Follow proper heading hierarchy:
- Each page should have one
<h1>
- For components that are part of a larger page, use
<h2>
instead - This maintains proper document structure while reflecting component hierarchy
- Each page should have one
CSS
- Start with a proper CSS reset (Andy Bell or Josh Comeau recommended)
- This ensures consistent styling across browsers
- You don't need
min-width
onbody
. Also no need formax-width
on#root
. You only need amax-width
on.card
withrem
unit.
- Keep image styling minimal and responsive:
img { max-width: 100%; display: block; }
This ensures:
- Images scale properly
- No unwanted whitespace below images
- Content adapts to different screen sizes
CSS Units Best Practices
- Use relative units for better accessibility and scaling:
- Convert
font-size
andmax-width
values frompx
torem
- This allows text and layout to scale with user preferences
- Read more about unit best practices here
- Convert
This improves:
- Accessibility for users who adjust browser text size
- Consistent scaling across devices and zoom levels
- Code maintainability and flexibility
1 - @Z3ra33Submitted about 2 months agoP@kaamiikPosted about 2 months ago
Hi. I have some notes for your code which may improve it.
GitHub
- Use one repo for each project. Adding all in one repo consider as a bad practice.
HTML
- For single-component pages, use a minimal semantic structure:
<body> <main>...</main> </body>
This provides proper document outline while keeping markup minimal.
- Follow proper heading hierarchy:
- Each page should have one
<h1>
- For components that are part of a larger page, use
<h2>
instead - This maintains proper document structure while reflecting component hierarchy
- Each page should have one
CSS
- Start with a proper CSS reset (Andy Bell or Josh Comeau recommended)
- This ensures consistent styling across browsers
- For
img
usemax-width: 100%;
This ensures:
- Images scale properly
- Content adapts to different screen sizes
CSS Units Best Practices
- Use relative units for better accessibility and scaling:
- Convert
font-size
andmax-width
values frompx
torem
- This allows text and layout to scale with user preferences
- Read more about unit best practices here
- Convert
This improves:
- Accessibility for users who adjust browser text size
- Consistent scaling across devices and zoom levels
- Code maintainability and flexibility
- Use
min-height
instead of fixedheight
for viewport-height elements
- You do not need media query for this challenge and also remember in most of the times It's better to code mobile first.
Marked as helpful0 - @rohit7318Submitted about 2 months agoP@kaamiikPosted about 2 months ago
Hi. Some notes for your code:
HTML
- The address is a
p
tag not aspan
- For social links, use semantic list tags like
ul
andli
:
<!-- Use: --> <ul class="social-links"> <li><a href="#">GitHub</a></li> <li><a href="#">Frontend Mentor</a></li> <li><a href="#">LinkedIn</a></li> </ul>
This provides better semantics and accessibility for related links
- Never nest two interactive elements in each other.
- For decorative and avatar images, use empty alt text:
alt=""
- Avoid using words like image, picture, or photo in alt descriptions
CSS
- Start with a proper CSS reset - both Andy Bell and Josh Comeau provide excellent options
- Using a CSS reset helps ensure consistent styling across browsers
- Use
rem
units instead ofpx
for better accessibility and scaling:- Use
rem
formax-width
- This allows text and containers to scale with user's browser settings
- Learn more about unit best practices here
- Use
- Use
min-height: 100vh
instead ofheight: 100vh
to prevent overflow issues:
This ensures your container will expand if content exceeds viewport height.
0 - The address is a