Question:
so i’ve encountered an issue while coding in HTML, and i can’t make sense of the issue.
for the record, i’m fairly new to HTML, and i’m coding this for a class assignment.
codepen link:
https://codepen.io/dillan-bowman/pen/qBKNwqb?editors=1011
screenshot of error
code
<body>
<div class="container">
<img id="background" src="https://physicsland.net/game1/Gameboard1.png" ; alt="background"></img>
<img id="farmer" src="https://physicsland.net/game1/farmer1.png" ; alt="farmer"></img>
<img id="hero" src="https://physicsland.net/game1/hero1.png" ; alt="hero"></img>
<img id="door" src="https://physicsland.net/game1/door1.png" ; alt="door"></img>
<img id="key" src="https://physicsland.net/game1/key1.png" ; alt="key"></img>
<div id="forestdark"></div>
<div id="text"></div>
</div>
<div class="inventory">
<img id="invCandle" src="https://physicsland.net/game1/candle.png" ; alt="candle"></img>
<img id="invKey" src="https://physicsland.net/game1/key1.png" ; alt="key"></img>
</div>
<p id="leftpixels">
<p id="toppixels"></p>
</p>
An everyday gamer, minecraft 1.0 veteran, and PVZ master
Dillan Bowman / Bowmand117
accounts:
Scratch - Bowmand117
Scratch - Bowmandalt
Scratch - Bowmand_test
Replit - DillanBowman
Github - Dillan bowman