Chris• 520
@9CB5
Posted
Very cool solution. The UI responds well and almost matches the design perfectly. However, I have some suggestions that could improve your solution:
- Remove API call per keystroke. While it may feel more responsive, it is very wasteful. It's good practice to minimise the number of requests you do to reduce stress on the server. You also only have 1000 free requests on IPify API which isn't a lot.
- Add some feedback to the user when the API call errors. When I searched for "1" it took me some time to figure out what to do next because I wasn't sure whether there was an error or the server was just being slow.
0