r/code • u/-_-gllmmer • Sep 18 '23
Help Please Can i get some insight on what i’m doing wrong?
For class i have to make what is in the second slide. i am having issues with adding the image, but i feel as if i can figure that out. But the main issue i’m having is the code is not working. What am i doing wrong here? i was close to it work with a few bugs but i regretfully deleted it.
7
Upvotes


2
u/NickU252 Sep 18 '23
You saved it as xxxx.html.txt, so it thinks it's a text file I would imagine. Save as html.i don't know on apple products, but when you save, you might have to specify what type of file to save as.
3
u/lamaboyxx Sep 18 '23
Download the image and use this code <img src=“whatever you name the image.jpg” >
1
u/angryrancor Boss Sep 18 '23
Well, one thing missing is a `</body>` just above the `</html>`.
I'm not sure that's the "only" issue, though. What browser is this? Have you tried it in a different browser?
1
u/velid_1 Sep 19 '23
I think it's been a long while not seeing any code, especially html, in text editor. Just try to use Sublime Text or VS Code everything will be easier trust me.