Yeah but is there a button to view the files in action on github website?
What text editor do you use? I only have brackets, anything better?
→ <link rel="stylesheet" href="css/second.css"> also doesn’t work.
Yeah but is there a button to view the files in action on github website?
What text editor do you use? I only have brackets, anything better?
→ <link rel="stylesheet" href="css/second.css"> also doesn’t work.
You can maybe think of Git as equivalent to using “save” in a program like Word, except it keeps a record of every save you’ve ever made. GitHub is just a place where you can keep that stuff you’ve saved outside of your computer.
There isn’t a button to run the code on GitHub for the same reason that looking at the place you saved that Word document to on your computer is not that same as looking at the document itself in Word.
You already have the application you need to run your program - it’s your browser.
(Note that you can host the files live on GitHub, via an application they have called GitHub Pages, but that is something different and it is likely to seriously complicate things for you at this stage)
For the CSS: it would only work if the second.css file is in the css folder and css folder is in the same directory as your html file. So if it’s not working then one of those things is wrong.
You don’t run files on github. You open the HTML file in your browser, or upload them to a web server, or run them on a service like MAMP or load them into a community runner like codepen. Github is for version control and to allow others to work on your code.
Finally I use Atom, but it’s up to you, everyone has their preference.
@Tirjasdyn Thanks for that explanation, i eventually got it from fooling around with it but i didn’t understand why.
@ArielLeslie
@DanCouper
I would like to thank you guys for the help you have given me, i have a better understanding on how GitHub works and how to edit projects on my computer.
I learned a lot, and from the best too.
Thanks again
~Michael