Design comparison
Solution retrospective
Practised some basic HTML, CSS, boostrap and javascript!
I am a beginner and I cannot get the Javascript file to work:
-
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?
-
Does the visual layout using html css and bootstrap look ok?
-
I cannot find how to make this suitable for mobile viewing. How do I do this?
Community feedback
- @liamchivers23Posted over 2 years ago
Hi Mark.
To answer some of your questions:
1 - more info needed, are you trying to change the image when the submit button is clicked? you could create a seperate card then put a display of none on the current card when its clicked. Hope this solved your issue.
-
Yes, it looks fine :)
-
Media queries will help with mobile viewing :)
Hope this helps!
Marked as helpful0 -
Please log in to post a comment
Log in with GitHubJoin 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