jonemerytech / Project

My First Website
0 stars 0 forks source link

Hot linking #2

Open ChadPunk opened 6 years ago

ChadPunk commented 6 years ago

It's never recommended to hotlink any files. You should always have an internal resource file with your CSS and pictures. So, create a new folder named resources in that make separate folders for your CSS and images and then link to those like this.

`

Instagram
        </a>`
ChadPunk commented 6 years ago

Same with your HTML page. <li><a href="/Users/UST/Desktop/Project/My First Website/Contact Page">Contact</a></li> Replace that with <li><a href="./contact.html">Contact</a></li>

ChadPunk commented 6 years ago

Same thing with linking your stylesheet. Change <link href="css" rel="stylesheet"> to <link href="./resources/css/style.css" rel="stylesheet">

jonemerytech commented 6 years ago

I will give it a try later and if i cant figure it out ill let you know 👍