I am finding that my students are typing the correct code, but in the wrong places. For example, placing <h1 tags inside the <head tags. The problem is that it is showing correctly on the right hand side. In fact it shows correctly in a regular browser.
Since the code is correctly typed there are no “pink” tags to show up, but it is in the wrong place. I have students that put the navigation bar in the <head tags because it talks about it being like a header. And the code works.
How do you teach them correct coding practices, when the wrong thing works? Students don’t know it is wrong unless it doesn’t work.
Any suggestions on what you do in your classroom are greatly welcomed!! Thanks in advance.