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 trial

HTML HTML Basics Structuring Your Content Marking Up a Blog Post

What's wrong with my code? It's not linking to pics.html

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="koko.css"> </head> <body>

<nav> <h1>PELUCHE MIADOS</h1> <div class="left"> <ul> <li><a href="index.html">Home</a></li> <li><a href="pics.html">Photos</a></li> <li><a href="">videos</a></li> <li><a href="">Contact</a></li> </ul> </div> </nav>

<h2> Who is PELUCHE MIADOS?</h2>
    <p class="class">Peluche is a French Poodle who was born in the 1800's. He has been around for history's most imprtant events.<br>
        This website is dedicated to celebrating Peluche's life and legacy.<br>
        For more infrmation on Peluche click the links provided.
    </p>

    <div class="divs">  
    <h2 class="h2-divs">HUMBLE BEGINNINGS</h2>
        <p class="pdivs">Peluche Miados (born in july 17, 1885 in La Rochelle, France.)<br> 
        is a french adventurer, alchemist, artist and many more professions.<br>
        He achieved prominence in European high society when he was able to<br>
        transform simple iron into gold. Peluche has used a variety of names and titles,<br>
        throughtout his life. Here you will learn all the fact myths and legends attributed<br>
        to Peluche Miados.

        </p>


</div>

<div class="divsx">   
    <article>
        <h2>WHAT IS A POODLE?</h2>
        <p>The Poodle is a dog breed that comes in three varieties: Standard Poodle, Miniature Poodle, and Toy Poodle. The breed’s origin is disputed: whether it descends from Germany as a type of water dog, or from the French Barbet<p>
        <a href="https://en.wikipedia.org/wiki/Poodle">Read More</a>
        <aside>
            <h4>10 Interesting Facts About Poodles</h4>
            <a href="https://www.lucypetproducts.com/blog/10-interesting-facts-about-poodles/">Read More</a>
        </aside>
    </article>
</div>  

<nav> <footer> <p>Β©2021 TMB blogs</p> </footer> </nav>

</body> </html>

<!DOCTYPE html> <html> <head> <title>Photos of Peluche</title> <link rel="stylesheet" href="koko.css"> </head> <body>

<nav> <h1>PELUCHE MIADOS</h1> <div class="left"> <ul> <li><a href="index.html">Home</a></li> <li><a href="pics.html">Photos</a></li> <li><a href="">videos</a></li> <li><a href="">Contact</a></li> </ul> </div> </nav>

<nav> <footer> <p>Β©2021 TMB blogs</p> </footer> </nav>

</body> </html>

Its working now. I didn't change anything it just works now. Anyways thank you very much angie

1 Answer

Angie Berg
Angie Berg
5,624 Points

Where is pics.html stored in? Is it in the same place as index.html or do you need to go up the directory then back down? For example: If your whole project was in in folder Website then index.html was in Main but pics.html was in Pics then the link would need to be ../Pics/pics.html (../ is to indicate going up a folder, then you have to go back down). Not sure if this is the problem but I thought I would cover it just in case.