Html tags are broken

image

1 Like

Welcome back, @CarolOatway! That’s because you’re using a .js file, not an .html or .htm one.
EDIT: This was not actually the case, check out @wh0’s answer bellow

1 Like

you can terminate it as requested with </body>. thanks for asking!

are you learning react?

2 Likes

You are trying to put HTML (*.htm/*.html) code into a javascript (*.js) file.

Hi @Earth-And-Moon, that would be the solution, but looks like @CarolOatway’s coding in React. :hugs:
In this case, a solution would be trying to close the <body> tag

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.