Directorys and folders - Basic Question that is tripping me up


#1

I am having an issue with putting the files in the proper directories and then linking them back to the original HTML file - I know this sounds really basic, and I thought it would be, but more than the coding itself this part is tripping me up. I am using Chrome and Atom and could really use some help on how to make this smooth and efficient going forward. Thanks, David


#2

Working with HTML means simulating a site server environment starting with a site root folder that houses the Home page, index.html. All other folders should be housed in the same directory as that page (along with any other pages associated with the site).

site root >
  + images
  + js
  + css
  + media
  - index.html

The path to those folders can be relative…

<link href="css/styles.css" rel="stylesheet">

<img src="images/picture.png">

<script src="js/script.js"></script>