Aleksandrs KarevsPro Student 11,178 Points
Isn't it a bad practice to insert scripts directly into the HTML?
What are your thoughts on this subject?
Josselin Cuette2,672 Points
You are right, it is bad practice, but I think that this kind of course intends to simplify things for the sake of demonstration. :)
Great course! But I agree, best practices should be taught alongside the course content. Newer programmers may assume this is ok when it isn't.
Jeremy Castanza12,075 Points
Good observation. Typically, there's a pattern to follow and best practices dictate separating structure, design, and behavior in a web page.
- HTML Files - Used for structure
- CSS Files - Used for design/layout