Advice Generator App using VueJs + SASS

Solution retrospective
I'm rather proud that I've built my first project using Vue JS. It's a junior challenge, so it was perfect for taking baby steps. I first built the entire solution in the main App.vue component, and once I had finished everything, I started refactoring into smaller components by passing props and handling the click event. It was definitely a good approach for me to first build something working and afterwards refactoring. I'm glad I didn't start declaring components first, because then I would have had to switch files all the time.
What challenges did you encounter, and how did you overcome them?The width of the card challenged me. The design mock-up helped to style everything with static data, but as soon as you start using the API, the data (and width) become dynamic and make everything look all wonky. I worked with width and max-width to solve this.
What specific areas of your project would you like help with?I thought about implementing a spinner or placeholder of some kind when the fetching the data is in a loading state. Do you think it would have added value?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Simon'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