{"action":"created","issue":{"url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto/issues/1","repository_url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto","labels_url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto/issues/1/comments","events_url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto/issues/1/events","html_url":"https://github.com/CandiceJune/prj-rev-bwfs-dasmoto/issues/1","id":299968304,"number":1,"title":"Use relative paths when loading assets","user":{"login":"zannain","id":24375741,"avatar_url":"https://avatars3.githubusercontent.com/u/24375741?v=4","gravatar_id":"","url":"https://api.github.com/users/zannain","html_url":"https://github.com/zannain","followers_url":"https://api.github.com/users/zannain/followers","following_url":"https://api.github.com/users/zannain/following{/other_user}","gists_url":"https://api.github.com/users/zannain/gists{/gist_id}","starred_url":"https://api.github.com/users/zannain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zannain/subscriptions","organizations_url":"https://api.github.com/users/zannain/orgs","repos_url":"https://api.github.com/users/zannain/repos","events_url":"https://api.github.com/users/zannain/events{/privacy}","received_events_url":"https://api.github.com/users/zannain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-24T20:01:53Z","updated_at":"2018-02-26T15:15:32Z","closed_at":null,"author_association":"NONE","body":"Currently, you are connecting your stylesheet to the HTML page via a **absolute reference/path**. As a result that stylesheet will only work if I have that same path on my machine. Instead, you want to use a **relative reference/path**\r\n\r\n```html     \r\n<!-- absolute path -->\r\n<link href=\"C:\\PROJECTS\\Dasmotos_Arts_And_Crafts\\Resources\\style.css\" type=\"text/css\" rel=\"stylesheet\">\r\n\r\n<!-- relative path -->\r\n<link href=\"Resources\\style.css\" type=\"text/css\" rel=\"stylesheet\">\r\n```\r\nThe browser will know to look for a **Resources** directory inside your project directory to find the `style.css` stylesheet. \r\n\r\n# Using an absolute path\r\n____\r\n\r\n![image](https://user-images.githubusercontent.com/24375741/36634477-11942122-1973-11e8-88cb-e946e0022232.png)\r\n\r\n\r\n# Using a relative path\r\n____\r\n\r\n![image](https://user-images.githubusercontent.com/24375741/36634481-2562ffd4-1973-11e8-9639-4114c9610b02.png)\r\n\r\n\r\nOne way to check that all your assets are being loaded into a webpage is to go to a browsers developer tools (*Right Click ➡️ Inspect ➡️ Network *) and you will see that using an *absolute path* your stylesheet is not being loaded (indicated by the red)\r\n\r\n![image](https://user-images.githubusercontent.com/24375741/36634504-90b080fe-1973-11e8-8a9e-7ce445d71609.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto/issues/comments/368535826","html_url":"https://github.com/CandiceJune/prj-rev-bwfs-dasmoto/issues/1#issuecomment-368535826","issue_url":"https://api.github.com/repos/CandiceJune/prj-rev-bwfs-dasmoto/issues/1","id":368535826,"user":{"login":"CandiceJune","id":36304984,"avatar_url":"https://avatars0.githubusercontent.com/u/36304984?v=4","gravatar_id":"","url":"https://api.github.com/users/CandiceJune","html_url":"https://github.com/CandiceJune","followers_url":"https://api.github.com/users/CandiceJune/followers","following_url":"https://api.github.com/users/CandiceJune/following{/other_user}","gists_url":"https://api.github.com/users/CandiceJune/gists{/gist_id}","starred_url":"https://api.github.com/users/CandiceJune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CandiceJune/subscriptions","organizations_url":"https://api.github.com/users/CandiceJune/orgs","repos_url":"https://api.github.com/users/CandiceJune/repos","events_url":"https://api.github.com/users/CandiceJune/events{/privacy}","received_events_url":"https://api.github.com/users/CandiceJune/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T15:15:32Z","updated_at":"2018-02-26T15:15:32Z","author_association":"OWNER","body":"Hi there, I've figured this out, and I've changed this to a relative path, but for some reason it's still not loading. Can you please advise? Thanks so much "}}
{"actor":{"display_login":"CandiceJune"}}