My internet will only allow me to connect to certain websites

This is my final call for help before I give up and go back to windows. I hav e been trying for 6 hours to fix this. I can connect to websites like youtube and google but I cannot go to twitter for example it just tells me “connection times out”. I have reset my DNS, I have removed the firewall, I have removed all my brave addons (which dosent matter because it does it on mozilla firefox too) I have deleted cookies, reinstalled my drivers, removed temp folders, i have been at this for 6 hours please I am begging for help I just want to use my pc. im about to switch back to windows because everyday on linux it catastrophically breaks.

sorry I was super heated in the post above. when I said the whole youtube thing I meant I can connect to youtube and Google but not twitter. it just says connection timed out. and its not like it only does it on twitter but I would also say like 30% of webpages and it is completely random. for example I can connect to www.yahoo.com but www.discord.com is unreachable but once it decides its unreacheable it just wont load it ever again. I have tried pretty much everything I have found on forums and google everything short of reinstalling the kernel which at that point I might as well just go back to tiny11

my question is had anyone ever had this problem and if so how did you fix it

Can you boot into a live Fedora iso with a usb stick and test? That will determine if this is a Fedora problem with your hardware.