Wifi is connect but there is no internet

In this recent thread here I described how to do it
(changing the DNS server used)
via NetworkManager Gui.

Editing /etc/resolv.conf will not work (at least not permanently) as it is overwritten each time by NetworkManager. The file is controlled by it.

… or change it in your router’s admin interface - if you can
then no local changes are necessary
and it applies to all devices connected through it …