Wi-Fi on my iphone 5 is not working although the same internet on my PC is?

It was all okay until this afternoon. The Wi-Fi on my iphone is somehow not connected to internet although it shows a strong signal. I thought it will be alright in a while but it has been hours. I have tried unplugging my internet (device/Modem) and have tried restarting my phone but it's the same. I posted this through my PC and it's working just fine here.

Remove the Wi-Fi and re-add it in settings

Remove the network and re-add it, if this still happens after you do that then you should contact Apple.