You can prevent results from W3Schools from appearing in your search results by using the -site: prefix along with the domain,
But this is quite annoying to type it every time in your Google-search along with your search-query..
..luckily there is a better way.

via Remove W3Schools Results From Google-Search Result Page