Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialShadiya Marshall-Sessoms
1,517 PointsMy Logo isn't showing when I Reload the page
Can someone help me and tell me what I have to do for the Smells Like Bakin' Logo to show on the webpage. I know it has to do something with me saving the logo in the folder....Alittle confused.. Help....
5 Answers
Timothy Crandall
4,354 Points<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Smells Like Bakin' Cupcake Company</title>
</head>
<body>
<div id="featured-cupcake">
<h2> Cupcake of the Week</h2>
<img src="img/featured-cupcake.jpg">
</div>
</body>
</html>```
Timothy Crandall
4,354 PointsI am sure if you copy and paste you will get an error message, so be sure to type it in yourself.
Shadiya Marshall-Sessoms
1,517 Points<img src="img logo.gif" alt="Smells Like Bakin">, im trying to do it, to go along with this class, yes on my own computer..do i need to save to files that have the logo? or something?
Timothy Crandall
4,354 PointsOnly if you are coding along with the video in your own text editor and displaying the website from your "localhost". If you are only doing this through the objective then your code should look something like this:
Timothy Crandall
4,354 PointsIf you are doing it on your own computer, you will need to download the files from the lesson. Then in the folder where you have your index.html file you need to create a folder called img. You need to then make sure that the image you are putting in your website is inside the img folder, and that everything is spelled exactly the same way that is in your code. From there, the coding from the video to your own computer should be the same.
Shadiya Marshall-Sessoms
1,517 PointsDo I have to save the images to my hard drive in order for my logos to show, when I reload the page?
Timothy Crandall
4,354 PointsYes, sorry I posted a comment right under my previous comment explaining that process.
Shadiya Marshall-Sessoms
1,517 PointsOk let me do that. thx.
Timothy Crandall
4,354 PointsI hope it helps, you're welcome.
Shadiya Marshall-Sessoms
1,517 PointsI have one more question...is the supposed to be 2 files for one website... one text editor /htim file called index.html and the a website file save as smell like bakin as the site we reload to see our code turn to a website?
Timothy Crandall
4,354 PointsNope, all you need is index.html. You can create a folder and name it Smells like bakin website, or whatever, but you need an index.html file for your website. Eventually you will have several files in your websites' folder, like assets (images) CSS, Javascript, and other files you include with your website. But all you need to load a webpage on the browser is an index.html file. :)
Timothy Crandall
4,354 PointsTimothy Crandall
4,354 PointsHi, what is your line of code you are putting in, and are you just trying to do this through the objective, or on your own computer with your own browser?