Vue Advice Generator API

Solution retrospective
Hi Frontend Community!
I really enjoyed this one! I know understand APIs and how to GET information from them ;)
one thing that I'd like to address is my advice card changes height whenever i resend a request. This is because the text length changes. Is there any way I could maintain the same height?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @kimagin
Hello, This looks great! I'm still looking for an answer to the question which you've posted. The best thing that comes to my mind is to give a
min-height
of at least two lines to a wrapper for the text.One other thing that I just learned is that instead of adding quotation marks manually, you can inject the text in a
<h1><q>advice</q></h1>
tag, and then the quotation marks will look like the one on the provided design images.Hope this will be helpful :)
Marked as helpful
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