MacBook connects to wi-fi but has no internet connection
Other devices in the home are connected to wi-fi and also have internet connections. My MacBook indicates with green lights and bars that it is connecting to wi-fi but it won't open any websites from any browser or pull up my emails. I've tried 1. Forget your Wi-Fi network then reconnect, and 2. Make sure your time, date and location are correct, and 3. Update macOs 4. Change Mac's Domain name system (DNS), and 5. turned off modem and restarted it and 6 Renew the DHCP Lease. Nothing is working.
MacBook Air 13″, macOS 10.15