Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Interactive-Rating-Component

bootstrap
Mark Halstead•10
@Mark-Halstead
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Practised some basic HTML, CSS, boostrap and javascript!

I am a beginner and I cannot get the Javascript file to work:

  1. I am trying to select the anchor tag with a particular class and change its href so I am redirected to the HTML file which returns the correct rating. I have tried using the Javascript DOM using statements such as querySelector and getElementbyID but with no luck. Could someone help me please?

  2. Does the visual layout using html css and bootstrap look ok?

  3. I cannot find how to make this suitable for mobile viewing. How do I do this?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Mark Halstead's solution.

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

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