winnab / ga-psd-html-engine-labs-contact

Convert the Contact page PSD into a functional page, complete with jQuery interactions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PSD-to-HTML: Engine Labs Contact page

Technologies/skills used: HTML, CSS

Task

Download assets from here:

  • Turn the blank contact.html file into the site's contact us page.
  • Look at the mockups PNG in the root directory: enging_labs_contact.png
  • You will notice that there are several different mockups of the top section of this page.
  • Once you have finished the layout of the page, you can get to work turning this into a functional contact form/Twitter/Instagram feed.
  • Feel free to use any transition effect you like between sections. Also, do not worry about the contact form working, but you should update that section to simulate confirmation of the mail sending when someone submits the form.

Structure

  • Sections
    • spans the width of the page (100%)
    • have a more narrow (960px), centered subsection where the content goes
  • Images
    • Design assets are all saved in the img folder.
    • The small design assets you will need are in sprite.png.
    • The background and logo files are also in the folder.
  • Font is Google's Source Sans Pro. It should already be listed in the header of your document. Take a look at all the weight and style options.
  • Colors:
    • dark blue #003047
    • light gray #EDEDED
    • medium blue #01527D
    • white #FFFFFF
    • black #000000

Tips

  • If you completed the index.html or about.html files, start off by copying the entire file from your last project into the contact.html.
  • Go through and remove sections that aren't relevant to the contact page. See if there are any sections in the new page design that use a similar structure to existing pieces of the old page, and leave those sections of the old HTML in place.
  • Don't forget to declare your site's CSS and any additional required resources in the header of the document

Keep it simple

  • Try this without using a grid framework like Skeleton or Bootstrap.
  • Once you feel confident hand-coding, investigate a grid framework and see how much time it saves you.

Create structure systematically

  • Work top to bottom
  • Break the page into vertically-stacking sections
    for example, create header, hero image, quote, features, etc

Use classes effectively

  • Name classes by function of a particular element rather than content inside it
  • Lets you style elements quickly when they need to serve a common purpose.
    For instance, for a div that needs to be noticable, naming it .callout rather than .side-of-story-color-background-designer-quote means you don't have to restrict the content inside to quotations from designers--and you can easily use the class name elsewhere in the site.
  • Want to use SCSS rather than CSS? Using SASS with this assignment is pretty easy. With a single file, go to the folder where you're saving your style files. Create a scss and css files with the same name (ie, style.css and style.scss. In the terminal sass --watch style.scss:style.css. More help sass --help

Resources

Tutorails

About

Convert the Contact page PSD into a functional page, complete with jQuery interactions


Languages

Language:CSS 100.0%