Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

interactive-rating-component-main

Mudasir Nadeem•430
@mudasirNadeem
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I’m proud of completing the project successfully and implementing a responsive design that works well across devices. Additionally, I improved accessibility by adding clear navigation and text contrasts.

What would you do differently next time? Next time, I would focus more on optimizing my code for performance and ensuring better cross-browser compatibility. I’d also spend more time testing for edge cases and user feedback before launch.

What challenges did you encounter, and how did you overcome them?

One challenge I faced was ensuring the layout was responsive on all devices. To overcome this, I researched media queries and used a mobile-first approach, which made the design adaptable to different screen sizes. I also encountered issues with some JavaScript functionality, which I solved by debugging the code step by step and seeking help from online communities.

What specific areas of your project would you like help with?

I would appreciate feedback on the following areas:

Code Optimization: Are there parts of my code that could be more efficient or simplified? Accessibility: Does the project meet accessibility standards, especially for users with disabilities? Cross-Browser Compatibility: Are there any issues with how my project works across different browsers or devices? Being specific in these areas will help me improve and refine my project further.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Mudasir Nadeem•430
    @mudasirNadeem
    Posted 8 months ago

    Semantic HTML: Great job using semantic HTML elements! This enhances accessibility and SEO. Ensure all sections use appropriate tags to convey meaning effectively.

    Accessibility: The solution is generally accessible, but consider these improvements:

    Add alt attributes to images for better screen reader support. Ensure all interactive elements, like buttons and links, have visible focus states to improve navigation for keyboard users. Responsive Layout: The layout looks good on various screen sizes. It’s essential to test on smaller devices to ensure there are no issues with overflow or alignment.

    Code Structure: The code is well-organized and easy to read. Consider breaking larger functions into smaller, reusable components for better maintainability.

    Design Consistency: The solution closely follows the original design, with only minor deviations that don’t impact usability.

    Overall, this is a solid solution with just a few areas for improvement. Keep up the great work!

  • Mudasir Nadeem•430
    @mudasirNadeem
    Posted 8 months ago

    Semantic HTML: The solution effectively uses semantic HTML elements, which helps with accessibility and SEO. Consider using more specific tags (like <article>, <aside>, or <nav>) where appropriate to enhance clarity.

    Accessibility: Overall, the solution is accessible, but here are some improvements:

    Ensure all images have alt attributes for screen readers. Check that interactive elements (like buttons and links) have clear focus states. Responsive Layout: The layout adapts well across different screen sizes. It would be helpful to test on various devices, especially mobile, to ensure there are no overflow issues or misalignments.

    Code Structure: The code is well-structured and readable, making it easy to follow. Consider breaking larger functions into smaller, reusable components to improve maintainability.

    Design Consistency: The solution closely aligns with the original design. If there are any differences, they are minor and do not detract from the overall user experience.

    Overall, this is a strong solution with minor areas for improvement. Great job, and keep up the excellent work!

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit 1st-party linked stylesheets, and styles within <style> tags.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub