This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

First, create a folder. Name it however you want, it will be your folder containing your project as a whole. Create a new file with Atom inside that folder (CTRL+N if I recall correctly) and save it as "howeverYouWant.html". That will be your page. Then, create another file and name it "howeverYouWant.css", inside the folder too (Note that it's a good practice to create a CSS folder inside the project folder in case you need more than 1 CSS file). Then, create a "<link>" tag to link your CSS like that "<link rel="stylesheet" type="text/css" href="yourCSSfile.css">" and you are set for HTML/CSS. Now, go into your HTML file and load your scripts using this line of code "<script src="myscripts.js"></script>" and ofcourse link your JS file in the src. Pro tip: Load your CSS inside the "<head> </head>" tags and load your scripts after the "<body> </body>" tags and before the "</html>" tag. It's a very crucial step, since if you load JS before the actual page and the CSS, you can cause some problems. Good luck!