Is it okay to have this feature in a portfolio project?

I built a React weather app and when the city is not found the app throws an alert with the message “City not found”. Is this acceptable or it is necessary to actually render something in this case? Here’s a demo

I’m just not sure what would be visually appealing, I always struggle with the design aspect of things. Do you think a custom modal instead of an alert box would be a better choice?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.