+ 12

How to upload my html code on GitHub?

Can i upload my html website code through mobile .

16th Mar 2020, 12:48 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
54 odpowiedzi
+ 6
Anyone .. Is GitHub is free? Is we can host any website on GitHub?
16th Mar 2020, 6:14 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 5
Can you find the Create New Files button?
16th Mar 2020, 1:46 PM
Gordon
Gordon - avatar
+ 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?
16th Mar 2020, 4:40 PM
Gordon
Gordon - avatar
+ 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
16th Mar 2020, 1:06 PM
Gordon
Gordon - avatar
+ 4
Yes
16th Mar 2020, 1:46 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
Then what i do after new file
16th Mar 2020, 1:47 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 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)
16th Mar 2020, 2:04 PM
Gordon
Gordon - avatar
+ 4
You are welcome. Look forward to seeing your website on the internet.
16th Mar 2020, 2:12 PM
Gordon
Gordon - avatar
+ 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 🤷‍♂️)
16th Mar 2020, 4:51 PM
Gordon
Gordon - avatar
+ 4
Thanks
16th Mar 2020, 6:31 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 4
Thanks 😊 you as well
16th Mar 2020, 6:39 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 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.
16th Mar 2020, 1:47 PM
Gordon
Gordon - avatar
+ 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.
16th Mar 2020, 2:00 PM
Gordon
Gordon - avatar
+ 3
Thnks a lot
16th Mar 2020, 2:05 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
16th Mar 2020, 2:22 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
When am opening my file i am seeing my code . How to show me website
16th Mar 2020, 3:13 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
16th Mar 2020, 6:24 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 3
Levente Balazs I will create a new account on GitHub
16th Mar 2020, 6:27 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 3
Coder thank you so much
17th Mar 2020, 2:15 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 2
Thnku sir
16th Mar 2020, 1:33 PM
A S Raghuvanshi
A S Raghuvanshi - avatar