Coder Social home page Coder Social logo

twincasper / 2-1-0-lab_product-page-justin-watson Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-marcy-lab-school/2-1-0-lab_product-page

0.0 0.0 0.0 603 KB

2.1.0 Lab: Responsive Design with Product Landing Page

HTML 47.97% CSS 52.03%

2-1-0-lab_product-page-justin-watson's Introduction

2.1.0 Lab: Product Landing Page

Objective

The objective of this project is to build a landing page for a product using the principles of responsive design. To complete this project, you will have to use CSS Flexbox and/or Grid along with media queries to create appropriate breakpoints to ensure that your landing page looks great on mobile and desktop browsers.

Mockups or wire frames?

In the first lab of this module, we used wire frames. This time we're going to use mockups. See below for the mockups:

Here is the desktop version of the site Desktop Layout

Here is the mobile version of the site (notice there are no logos in the center) Mobile Layout

Requirements

You do not have to sell trombones of course, again, you can choose the topic! Here are some of the requirements you must have that may not be super clear with these mockups:

  • The header is fixed to the top of the page on scroll
  • The logo icons disappear when on mobile

Here are more specific requirements for each type of page. REMEMBER TO USE SEMANTIC ELEMENTS (header, nav, section, form, footer, main).

  • Desktop Layout (if the screen width is greater than 720px):

    1. Header (fixed)
      • Logo
      • Navbar-style menu with three links in a row
        • nav is arial labelled 'primary'
    2. Email sign-up form
    3. Three product talking points with font-awesome icons and text right aligned on the page
    4. Embedded YouTube Video
    5. Three pricing cards in a row
    6. Footer with three links and a copyright
      • this nav is labelled 'footer'
  • Mobile requirements (if the screen width is less than 720px)

    1. Header (fixed)
      • Logo image
      • Menu with three links stacked in a column
        • nav is arial labelled 'primary'
    2. Email sign-up form
    3. Three product talking points centered on the page with no icons.
    4. Embedded YouTube Video
    5. Three pricing cards advertising three different pricing points in a column
    6. Footer with three links and a copyright
      • this nav is labelled 'footer'

Tips

  • Experiment with the position:sticky property to achieve a header that stays in place when you scroll.
  • The icons that you see in the desktop display are available for free at Font Awesome. These come in handy quite often so now is a good time to learn how to use them ๐Ÿ˜.
  • Your buttons on your card should respond when they are moused over. Explore the :hover psuedo-selector to achieve this effect.
  • YouTube videos are simple to embed. However, do not set width and height inline as they do in the live site. Use CSS to give your <iframe> a relative width (in percentages) and a max-width.
  • The navbar links direct the user to different sections on the page (click on "Features", "How It Works", and "Pricing" to test it out). This can be done by assigning the different sections of your page an id and linking to that id in your anchor tag. More about that here

Submission

Like last lab, make your own github repo and push up your code to that. Call it 2-1-0-lab_product-page-YOUR-NAME. Then, submit the link to your instructor however they specified (probably on Canvas). Good luck and have fun! We hope you pick a cool product.

2-1-0-lab_product-page-justin-watson's People

Contributors

twincasper avatar mostlyfocusedmike avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.