Categories > WeAreDevs > Hangout >

[Question] Github Pages

hostedUser

Developer @ Xniper

Posts: 103

Threads: 26

Joined: Mar, 2023

Reputation: 1

Posted

so i want to make a website from github pagess since freenom is not working otherwise i would use google

and how to use github pages any ideas?

  • 0

                                                             #Road To 10 Rep

https://cdn.discordapp.com/attachments/1091702141871210517/1099702036041318450/WRDBanner_hostedUser_1.png siggy by B00M

Posts: 975

Threads: 34

Joined: Dec, 2016

Reputation: 108

Replied

Just create a repository called yourusername.github.io then drop your html, css, and js in there. Like usual, index.html would be the home page.

Comments

hostedUser 1 Reputation

Commented

i did it but how can i access it??

  • 0

  • 0

Zayn

.zayn0 (Previously B00M)

vip

Posts: 320

Threads: 16

Joined: Jul, 2022

Reputation: 9

Replied

@hostedUser just make a repository, place all your files and stuff. Make sure you have an HTML file named index.html. Then click settings at the top of your repository and click pages. Then change the source to deploy from branch and change None in branch to Main and save. That will work just wait a couple of minutes and it should say something on that page in settings like: 

Your site is live at https://YourGitHubUser.github.io/YourRepository/

Last deployed by @YourUser YourUser 1 minute ago

 

Comments

hostedUser 1 Reputation

Commented

thankks man it works

  • 0

  • 1

#Road to 15 Rep

https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png

PC Specs: RTX 4080 OC (16GB), 32 GB 3200MHz, i7-11700k

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )