0
What is wrong with this code?
html: <!DOCTYPE html> <html> <head> <meta charset=âUTF-8 <h1>a manufacture code </h1> <b>im looking for a student to help</b> <body> <html> css: #test { color: blue; js: addEventLister(â load â , fuction(e) { document.querySelector(â test â).innerHTML = âstudent coderâ; }); var counter=0; fuction button() {
4 Answers
+ 4
You didn't close the meta tag.
You didn't close the head tag.
You didn't correctly close the html tag.
You didn't open the body tag.
You didn't correctly close the body tag.
You didn't close #test style.
edit:
Al Sal Instead of incorrectly copying the code in piecemeal fashion, ***LINK THE COMPLETE CODE AS IT IS***
0
The 2nd <html> is suppose to be </html>
Meta tag isnt closed.
And it suppose to be
</head>
<body>
<h1>...........</h1>
<b>...........</b>
You know what go back to html course and start from there HTML->CSS-> JS