just use the github website, you can upload files there. Or actually properly install git through homebrew
Finally all the files have been uploaded. Now what?!
give us the repository so we can have a look at all the files
you can give me the username so that i add u as a collaborator
i use the same username here as on github.
I have sent you the request
here:
<script type="text/javascript" src="scripts/main.js"></script>
are you sure you uploaded files and directories correctly? Because you use scripts/main.js
but there is no scripts
directory, the JS file is in the same directory as html file, so then, src
should be main.js
i pushed the change to github
for @dave.n if he is still reading: https://github.com/mehul08/Testing
Actually I have a folder called scripts in my Testing folder which contains main.js and the jQuery file but when i uploaded the folder yesterday, it was showing error so i uploaded individual files.
How i am suppose to fix anything if you donāt upload things the way they are?
Okay, i added a local jquery library, and everything still works fine
I uploaded the jQuery file yesterday it kept showing error. I tried putting the jQuery file again and it has been successfully uploaded. the main.js file and the jQuery file are in the scripts folder.
The things have been uploaded the way they are i think. GitHub was having problems yesterday
i just updated the repository, everything is working on my end
Checking it out rn
You have used a CDN right? so that means i can delete the useless jQuery file?
He hasnāt used a CDN your jquery file is in the scripts folder.
I donāt know manā¦
Maybe I donāt know how to use github . I will delete brackets and reinstall it because I copied the code and pasted it in the editor but againā¦
Iā ll keep trying and get back to you. Thanks for your help guys specially @stetim94 he/she has helped me out so many times before also.
NEVER GIVE UP!
i used CDN first, then i switched back to jquery as you original had it.
Both worked perfectly, you can see commits, allowing you to see the changes i made
Yes, github is difficult, but it allows you to keep track of changes i made to your code
On which code editor did u test the code?
Because I reinstalled brackets latest version. Copied the edited code but it is still running the jQuery code i wrote earlier. Itās still running the old code when I change the jQuery a little bit.
Code editor is not relevant? I used VIM, donāt use it, it will drive you crazy
You run the output in the browser right? Not directly in text-editor? Refresh page after making changes to jquery
I copied the html code in the index.html. Wrote jQuery in main.js which is contained within the scripts folder. The jQuery file is also in the scripts folder. And the live preview works in Chrome.
I will keep tryingā¦