Skip to content

NUS School of Computing Freshman Starter Kit for freshman coming in NUS in August 2021. Created in collaboration with NUS Computing Club and NUS Freshman Orientation Week 2021

Notifications You must be signed in to change notification settings

jeremycte/nuscomputingfreshmankit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to NUS SOC Freshman Starter Kit Codebase

NUS SOC FRESHMAN STARTER KIT Website Screenshot

At a Glance 🔥

Welcome to NUS SOC Freshman starter kit codebase for managing nuscomputingfreshmankit.surge.sh which is coded in HTML, CSS, Jquery and Javascript.

Getting Started 🙌

  1. To start off this project, first download the zip file of the entire repo into your computer (by clicking the green download code icon shown below). Store the folder in a desired location where you'll access it often.

    Download Code Green Btn

  2. Extract the zip and open the folder using your preferred editor. I personally use Visual Code. Any editor works fine as long as it supports HTML, CSS and Javascript.

  3. Next, ensure your computer has git built into your computer. If not visit this link and download it, https://git-scm.com/downloads

Learn more ahout Git in this link for beginners.

This ensure you can use git and perform pull, push and commit changes to the Github Repository

  1. Connect the entire downloaded folder to the Github Repo. Inside your preferred editor, open Git Bash Terminal (e.g. shown below) You should not have any (main) blue colour wording yet

    Gitbash Terminal Example

  2. Type in git init. Ensure your bash terminal is in the right folder, it should be in the main directory. Eg. for mine is /code/nuscomputingfreshman folder where the index.html, 404.html, favicon.ico files and images and css folder can be found.

  • this is to intialize the git command into the folder.
  • initialising in the wrong folder can lead to the git not working properly :)
  1. Next, enter git remote add origin https://github.com/jeremycte/nuscomputingfreshmankit.git

  2. Next, enter git branch -M main

  3. This time, you should have the (main) blue colour logo shown Gitbash Terminal Example

  4. You have completed linking the repo to your code editor.

  5. Some commands you can try include git status, git branch which allows you to view the status of unsynced files from the repo and the branch allows you to view all the branches that exists in the repo. git pull allows you to pull the latest code from the repo to your computer everytime someone edits and publishes his/her code to the repository.

Below is an example after typing git branch

Git Branches

Folder Structure 📂

Each folder is organised to keep the workspace clean and simple to use. Every file is organised into folders accordingly and only the html, favicon and readme files are located in the root (main directory).

js - Javascript

  • Where all the javascript file are located

css - Cascading Style Sheet

  • umm, I think the word is quite straightforward LMAO

images

  • where all image assests can be found

favicon

  • where all the favicon images can be found

Creating a new page 📃

If you ever need to create a new html page (I think it's unlikely), please ensure you duplicate the skeleton-file.html code to start off coding :)

Ask @jeremycte for more infomation on this :)

Publishing the changes to the live website 🖥🖥

For publishing the updated changes, please ask help from Jeremy to upload the changes.

Jeremy will have to download your changes from Github via Git and review it before manually publishing the updated changes live on site :D

The site is hosted on Surge.sh a free front-end dev platform :)

Creating Consistent Styles for the Webpage 👗

Please open styles.html to see what are the available styles that you can use for coding the website 😃 This ensure consistency and also utilise the existing code that can help you code this site to be even better!

styles.html screenshot page

404.html Error Page 📄

There's an error page dedicated to ensure that any incorrect link or subdirectory that do not exists will immediately direct the user to this error page shown below.

NUS SOC FRESHMAN STARTER KIT Error Page

Miscellaneous 🕵️‍♀️

I've used the following resources as listed.

Fonts:

Icons:

Stock Photos and Graphics:

Javascript Files:

HAVE AN AMAZZZING TIME CODING! LET'S GIVE THE FRESHMAN THE UNFORGETTABLE CAMP EXPERIENCE 🔥✌🙌😎

About

NUS School of Computing Freshman Starter Kit for freshman coming in NUS in August 2021. Created in collaboration with NUS Computing Club and NUS Freshman Orientation Week 2021

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published