Linking scripts and style. Codepen has done too much for me

I just started playing with cloud 9. so far i have done everything in codepen, which takes care of linking all of your css and js to the index. now i can’t figure out how to link my them manually, which i thought should be a piece of cake.

    <link rel='stylesheet' type='txt/css' href='./style.css'>


 <script type="text/javascript" src=""></script>
    <script type="text/javascript" src="./index.js"></script>

are not working. all three files are in the same directory right next to each other. the ‘./filename’ is working for this same setup on git pages. what am i doing wrong?? thanks.

Try using quotes for your CSS.

If it’s in the same directory you can just do


so it will be 

<link rel="stylesheet" type="txt/css" href="style.css">

it still doesn’t work. idk if its something with cloud 9.

can you link to cloud 9?
i just started here so i don’t know what u will see when u click

I don’t use Cloud 9, I work locally using my own editor and virtual server.

PS: I saw your thread were you asking about Chromebook or PC/Mac… yes, definitely get a real PC/Mac desktop or laptop.

right on. thanks for advice. this file path stuff is so basic its ridiculous that i can make a web page but don t understand paths…thanks codepen!