Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Responsive Country Guide app using JavaScript, Sass and Vite

node, sass/scss, vite, bootstrap
Emma•100
@Ssaava
A solution to the REST Countries API with color theme switcher challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Questions for the Community

I'd appreciate your feedback on a Frontend Mentor project (Country Guide app) I've completed. Please consider the following questions:

  1. Function Names and Class Naming:

    • I found difficulties in finding the best names for the functions used in the project. Can anyone suggest best practices for naming JavaScript functions?
    • I found difficulties in finding the best CSS classes to use for the project. What are some naming conventions or best practices for naming CSS classes?
  2. Adding Content with JavaScript Modules:

    • I found difficulties in adding contents to the web page using JavaScript modules. Are there any resources or tips you could recommend for working with JavaScript modules effectively?
  3. Navigation for Border Countries:

    • I am not sure of the code that navigates the border countries to display the details for a specific country when clicked. Could someone review my code and provide insights on how to improve this feature?
  4. Best Practices for Naming CSS Classes:

    • What are the best practices for naming CSS classes to ensure maintainability and clarity in a project like this?
  5. Layout of Card Details:

    • What's the best approach to laying out details for each card in the web page: using CSS Grid or Flexbox? Are there specific use cases where one is preferred over the other?

Your feedback on these specific questions will be greatly appreciated. Thank you!

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 Emma'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