This is a template repository to help you get started on your own portfolio. To use it:
- Click Use this template > Create a new repository.
- Name the repository
<your github username>.github.io. For example, mine would be named ngjunsiang.github.io. - Click Create repository.
To view your page at <your github username>.github.io, you need to enable Github Pages. Do the following:
- Go to Settings > Pages.
- Under Build and deployment > Branch, select
mainbranch. - Click Save.
- It may take 10-15 seconds for your Github Page to be deployed. When it is successful, you should be able to view it at
<your github username>.github.io.
Before you start on writing the HTML and CSS:
- Decide the headings your portfolio is going to have. See
ABOUT.mdif you need help with getting started. - Write your content first. What do you want to display?
- Less is more: don't list things you are no longer doing or following.
- Organise the content under the appropriate headings.
When you have your content, start by converting the content into HTML. Don't worry about styling yet; you need content on the page before you can style it.
- Edit
index.html, inserting content into appopriate HTML elements to give your page some structure. - Use Google / ChatGPT to discover what are the appropriate elements to use.
- You can remove the comments if you wish.
Note: The default styling applied by your browser to each element is not going to be what you actually want. Ignore this for now; we will work on styling separately.
When you have some content to style, you can edit styles.css, which is linked in index.html to apply its styles.
- Use CSS selectors to style the elements of the page. You can ask ChatGPT to help you with this, but be sure to ask it to explain if you don't understand what the selector does.
- If you want, you can apply a baseline CSS stylesheet by linking it before
styles.cssinindex.html. A baseline stylesheet defines a nicer set of styles that you can then build on top of. - Commit and push your changes, wait a few seconds, then preview the changes in your browser.
- You should use DevTools in your browser to preview the effects of CSS changes, then make the changes in your stylesheet when you are happy with them.