This is why when you search for a solution you get pages of people's blogs who rarely know what they're doing.
Moreover, it's good to be exposed to scenarios where the code is technically correct, but the attitude of the author ought to raise red flags - for example, unnecessarily representing a solution as authoritative, discounting other approaches for dumbass reasons (such as preferring fewer lines for its own sake), saying that a problem is "simple" to solve, you "just" have to do this, etc. They tend to have the effect of shutting down critical inquiry, and that's a good thing to learn how to recognize.
In other words, you can learn a lot from hamfisted tutorials and toxic teachers.
And share their findings.