DEV Community

Discussion on: How to use inline JavaScript with HTML? You definitely like really bad code

Collapse
 
codefinity profile image
Manav Misra

As a JS instructor, this is one of the biggest pet peeves that I have with student solutions. No matter what I show in the class, there are always a handful of students that try this out because of Googling, I guess.
Then, it's even hard to argue against it b/c with some of our simple assignments, they just say, 'But, it works!' 😞😠

Collapse
 
chiefoleka profile image
Valentine

I totally understand you 🤣🤣
I face this challenge when I'm code reviewing and people are trying to explain away things like this. It can be exhausting but pressing further a little helps them get better and makes my work easy.

You are doing a great job!