1.3.1 Get Local Copy Styled webpage
- Run the following to create a new empty branch
git switch --orphan gh-pages-styled git commit --allow-empty -m "New orphan branch" git push --set-upstream origin gh-pages-styled
- Pull styled code
git pull https://github.com/blackcodecamp/CloudWebDevelopment.git gh-pages-styled --rebase
-
Open the file called
initial.html
in VS CodeNote: VS Code Menu > File > Open Folder > Documents/resume-app
- In the Explorer Menu to the right, Right click or Two finger click
initial.html
, clickOpen with Live Server
Your browser window should open showing exactly what your webpage looks like!
- We will go together to add the necessary styles to replicate the demo by making
initial.html
look likecomplete.html
Note: To make this the code that is displayed on your GitHub Paes website follow the steps at 1.2 Create a Public Webpage with GitHub Pages: Deploy To GitHub Pages and at step 5 set the Branch to gh-pages-styled
.