+ 12
How to upload my html code on GitHub?
Can i upload my html website code through mobile .
51 Antworten
+ 6
Anyone ..
Is GitHub is free?
Is we can host any website on GitHub?
+ 5
Can you find the Create New Files button?
+ 5
It is near the bottom.
https://www.sololearn.com/post/244043/?ref=app
Can you see this?
If not, What do you see there?
+ 4
There are several ways, one of it will be using the Code Editor at Github Repo page.
Use the Create New File button next to repo name.
Copy and paste your code, then commit to master branch.
I heard that the button is available in mobile mode too, though I am sure it can be found easily at Desktop Mode of browser.
If you want to use terminal on mobile, install Termix.
Here you can find an Indian language speaking tutorial provided by another sololearner who had asked this same question about a month ago:
https://www.sololearn.com/discuss/2168539/?ref=app
https://www.sololearn.com/discuss/2150907/?ref=app
+ 4
Yes
+ 4
Then what i do after new file
+ 4
Oh I have that screen capture actually, the button to that repository setting, is at https://www.sololearn.com/post/244041/?ref=app
at desktop mode of browser (in mobile phone browser, choose desktop mode option)
+ 4
You are welcome. Look forward to seeing your website on the internet.
+ 4
Isn't it here? 😅
https://www.sololearn.com/post/267435/?ref=app
You need to make your repository public.
When your website is public, people can see source code, so it is same as public repo, for simple webpages.
For backend Node.js process, it is different though. But for this simple project, public is no problem.
Otherwise you have to pay $ for Github Pro to make private repo a Github Page (But then if you pay Github, why don't you register a domain name at a web host 🤷♂️)
+ 4
Thanks
+ 4
Thanks 😊 you as well
+ 3
If you want to create new folder, it is the same button, type
folderName/
and the slash will automatically becomes a folder, and then you continue to type file name.
you can't create empty folder in a repo, a folder can only be created when you want to create a file in that folder.
Show me screenshot if you have problems, I'll point it out for you in that case.
+ 3
in the name your file part, name it as index.html
in the code part, you can leave it as it is now.
Then, scroll down, choose commit to master branch.
After that go to repo page, choose repo setting, scroll down, choose Github Page, choose enable, it will give you your website link.
It takes some time for Github server to actually create the subdomain, so wait for about 15 minutes at most.
Then you should your website at that link.
If you cannot find the repo setting, screen cap and i will point to you.
+ 3
Thnks a lot
+ 3
https://www.sololearn.com/post/267328/?ref=app
I uploaded code then
+ 3
When am opening my file i am seeing my code . How to show me website
+ 3
Levente Balazs thanks
+ 3
Levente Balazs I will create a new account on GitHub
+ 3
Coder thank you so much
+ 2
Thnku sir