Skip to content

thepixelsmith/nycctPortTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nycctPortTemplate

Template for portfolio projects for the NYCCT Web 1 class
The purpose of this repository is to contain the template for use in the web design 1 classes.
The template is responsive. Currently it possess three media queries, though only the largest and smallest are currently populated.

Main Folder

Templates

This folder contains all of the HTML, CSS, Javascript and PHP files that are custom made for this project. The project also makes use of the JQuery library hosted by google.

Working Test Site

livetest
This folder contains a live, testable, linked version of the template files. An online, live version can be viewed at http://samples.pixeltao.com/ (right-click open in new tab)

How to Use These Files

HTML

The HTML in this templates uses semantic tags almost exclusively.
The heirarchy used on each page assumes main>section>article. The main tag hold the majority of the content on each page. When necessary content inside of the main tag is divided using section tags and the content inside of section tags is held inside of article tags.
The Media Box:
On the portfolio page the images are displayed inside a component that I have named the "media box". The media box is a figure with a image and figcaption tags inside of it. The figcaption is set to be hidden until mouse over at which point it slides up from the bottom of the frame.

CSS

Grid System:
This template is based on a 12 column grid. The naming convention for the grids is col1 through col12. You can pick any combination of columns that add up to 12, so you could have col6 side by side with another col6 or a col5 next to a col7, or three col4s side by side.

Javascript

PHP

This folder contains the PHP file named feedback.php to make the contact form functional. To use this file with the contact form you have two choices;

  1. You can either open the feedback.php file in a code editor and edit the urls of the contact form, success page and error page.
  2. Recreate the PHP file using the wizard that created it in the first place. The contact form was created using the free feedback form wizard from www.sitewizard.com. You can find the wizard here: https://www.thesitewizard.com/wizards/feedbackform.shtml (right-click open in new tab)

Responsive Template

This template is responsive.
This means that it is built using flexible grids and media queries to adjust to a range of screen sizes well.
This template uses a 12 column grid system which uses percent as the main unit of measure.
Using media queries, the pages will shift layouts by adjusting css to adjust the layout of the content. Instead of chasing specific phone sizes (which will inevitably change) this template's media queries shift whenever the content requires it. In this way the content drives the design, not the need to fit arbitrary phone screen sizes.
The smaller media query switches the layout to a hamburger (☰) menu.

About

Template for portfolio projects for the NYCCT Web 1 class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published