Design comparison
SolutionDesign
Community feedback
- @Prithvi12890Posted over 2 years ago
Hello Chaitanya!
If you want to remove the errors in the preview we can do it quickly as follows:
Since your images folder is in the same directory as index.html, you need not specify a '/' at the start, i.e., you should modify
<img src="/images/icon-suvs.svg" alt="sedans image" class="icon">
to<img src="images/icon-suvs.svg" alt="sedans image" class="icon">
or<img src="./images/icon-suvs.svg" alt="sedans image" class="icon">
Similarly for the other image tags.Everything else looks amazing!! Even the mobile view.
Good Styling!
Marked as helpful1
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