Design comparison
Solution retrospective
The links section at the bottom doesn't look great with long urls. Any suggestions on how to tighten that up?
When there is no user found, what should I display in the profile container?
Community feedback
- @vanzasetiaPosted over 2 years ago
Hi, Matt Seidel! 👋
Good effort on this challenge! 👍
Regarding the long URL, I also experienced the same thing. I suggest reading my README where I explain the issue and how to solve the issue. But, to give your an overview of the answer, you can use some CSS properties to solve the issue (
text-overflow
,overflow
, andwhite-space
).If the user doesn't exist then I would recommend only showing the "No results" message without wiping out the content inside the container. I can't give you a guide on how to do it since I am not a React developer. 😅
One small suggestion I have is to fix the issues that have been reported by Frontend Mentor. Also, one bug that I noticed in your app is that I have to click the search button to search the user. I can't just use the
Enter
key to search for a user. It might be because theinput
and the search button is not wrapped by theform
element.That's it! I hope this helps! 🙂
1
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