Recently in the course, we have been built all the websites using codepen.io or codesanbox.io. But things are moving to local (your laptop), everything by now is built and tested locally. So, what if we want to share our work with our friends or our dear mentors? Netlify and Github are here to help.
In short, a web project is made of 2 parts : the codebase and the production of that code. With codepen.io or codesanbox.io, all of them are in one place which make it easier for beginners to start fast. But, we are no beginner, we want to utlize our machine power and indepent from internet hiccup to code locally ; then deploy (publish) our work later when neccessary.
The local codebase live in your machine, only you have the access. To push your code to Github is simply create an online version of your code availble in case of water spill on laptop. An online repository on Github will help you to :
Netlify is a web hosting infrastructure and automation technology company. Netlify simplifies the process of deploying your website. It does all the work for us that we probably don't want to spend too much time or effort on. Netlify works by connecting to your GitHub repository to pull your source code, then it typically runs a build process to pre-render all of your pages in static HTML. Hosting a website on Netlify means :
http://localhost
to your friends )world
to a different colorJks, you don't have to share your CV on Facebook. Just submit your assignment here 😉 Have fun deploying!