Saving code in GitHub

I’ve been experiencing issues with code saved to my local browser storage. Sometimes it saves and sometimes it doesn’t. I’ve read it may be due to a browser setting but, which 1? Also, I keep coming across this statement by @JeremyLT "
This is a good opportunity to learn the ins and outs of your GitHub account, but you can also just save locally or use a service like repl.it which allows for versioning."

Can someone elaborate on what I should become more familiar with on GitHub exactly. I do have a GitHub with repositories from other stuff I’ve done but, only because, I’ve manually copy and pasted my code there.

Not sure I understand. Are you talking about using local storage?


Can’t really speak to your other question. But you should learn Git and GitHub well enough that you can create and push your code to a repo.

When I save my code in the browser and it says the code has been saved to your local browser it’s sometimes saves and other times not. I know this because when I go back into the browser next day or sometimes minutes later the code that I just inputted and saved isn’t there anymore. Hope that helps.

Why don’t you use GitHub to save code and projects ? It is very easy to make repo and manage code there. Learn about the commands or use GitHub Desktop.
git-and-github

fun fact about github.
you dont have to even be so tech savy anymore to use it.

I for example code something on my pc, and when it’s time to show it,
I simply go to github, create new repository, and drag all files in browser in that folder.
It immediately figures out I wanna upload, and with a click of the button, code is in repository.

And what’s best, that code can also be made visible as a public webpage.

So, after I complete some course that I really liked, I’ve been either clicking “downloaded solution” and saving file in my VS code folder for organization purposes or copy pasting to new file in VS code. Then I will open GitHub site, create new repo and drag and drop files and now it’s in Github. If there’s an easier more seamless way to do this, I’m all ears.

Also, the reason behind this discussion is because the code doesn’t seem to save to my browser storage and a setting that I’m unaware of might be preventing the code from saving. I.e., when I reopen the course page, idk if it’s going to be there whether I’ve saved the code to my browser storage via CTRL+S. Getting this to work properly as sometimes, I just need to close out what I’m doing in a hurry (dealing with toddler issues lol) because I don’t always have time to download and save properly.

I actually already do this but, want to know if there’s a more seamless or easier way of doing it.

Try Git code space it is easy

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.