Join Our Telegram Group to connect with bigger community. Join Now!

Table of Content

How to Host Javascript, CSS and HTML on Github? Peak Fiction

Github is a service provider website that functions to store software projects for free. Github is the most popular website in cyberspace for hosting and software collaboration. Github is also a favorite website for developers to store their projects or works. In fact, most blog designers also use Github to store or host Javascript js, CSS and even HTML files with free services.
How to Host Javascript, CSS and HTML on Github

How to deploy HTML, CSS, JS website

If we talk about web service providers for storing, uploading or hosting JS, CSS and even HTML files, you can do it in yourjavascript, GoogleDrive and many more. However, Github is the main choice for bloggers to do this. Besides ease of access, GitHub can also be said to be very fast to access. You can also see how to optimise on page seo.
The speed of access from a web service provider for storing js, css and html files also greatly influences the loading of a blog, as well as js, css and even html files that are uploaded or more popularly hosted on various web storage service providers and these files are used in a The template will produce a low blog speed score and even the blog loading will feel slow. Therefore, I recommend hosting the js and css files used on your blog on Github, and to host Javascript, CSS and HTML on Github, you can follow the following short tutorial:

How to Host Javascript, CSS and HTML on Github

Follow these steps:
Step 1: Please create an account on Github via the link https://github.com/join
Step 2: Fill in the required form such as username, email and password > scroll down and click Create an account.
Step 3: Please select Free and click Continue.
Step 4: Please select what you need to include or you can click Skip this step.
Step 5: You will be taken to the Github dashboard, and on the Github dashboard, please click New repository. But before that, please verify your GitHub account by clicking the link sent to the email you used to register on Github.
Step 6: Please fill in the name of the Repository > Check Initialize this repository with a README > Then click Create Repository.
Step 7:  To upload js, css and html files, please click Upload files.
Step 8: After that, please drag or click Choose your files and after the file has been successfully uploaded, please click Commit Changes.
Step 9: To call the file that was uploaded to Github, please right click and select Copy link Address
Step 10: After that, please open https://rawgit.com/ and paste the copy of the GitHub link into rwagit. Then copy the URL with cdn.rawgit.com as shown below.

The following is an example of a js file that has been hosted on GitHub and is ready to be installed on your blog, of course.
https://cdn.rawgit.com/pehawe/file/1c2db1fc/test.js
Apart from Rawgit, you can also use Staicaly as the fastest and most reliable alternative CDN source.

That's the tutorial on how to host Javascript ( js ), CSS and HTML on Github which you can apply to your blog. Hopefully this is useful and great greetings.

Post a Comment