Coder Social home page Coder Social logo

galvanize-delivers's Introduction

Galvanize Delivers

In this exercise, you're tasked with creating a website for a fine dining delivery service with two pages—a landing page and an ordering page. To get started, fork and clone this repository.

The landing page

Though you're free to style the page however you want, the page should look something like this.

index

More specifically, the page should allow a user to do the following.

  1. Click links to both the landing and ordering pages that are left and right aligned respectively in a fixed navbar.
  2. Read the service's tagline and click a call-to-action that's roughly centered over a hero image in the header.
  3. Read the service's marketing copy in a three-column main section.
  4. Read the service's name and tagline as well as click links to both pages in a two-column footer.
  5. Read the copyright information in the footer.

Here's the marketing copy for the landing page.

Shop Online

Using our convenient web app, you'll get all the power of gFood without having to call your order in. Order in your pajamas, order 24 hours a day, order on Christmas, we're here to serve you.

Fast Delivery

You've never seen ordering this quick. Our proprietary ordering rocket ship delivery team allows you to spend less time being hungry, and more time doing what matters most to you. We'd ask what that is, but gFood respects your privacy.

Great Deals

Money: You've got it, we want it. But let it never be said we're not incredibly fair! Burger sales? Check. Pizza sales? Check. Burger and pizza sales?? Check, check, check! We seriously can't stop making deals.

TIP: The shopping, shipping, and ATM icons are Material Icons.

Bonus

Tweak the landing page so it's responsive under medium and small viewports.

  1. Ensure that the viewport's width and initial scale are appropriately set.
  2. Ensure that right aligned link in the navbar collapses into a hamburger icon on medium viewports. When the hamburger icon is clicked, a sidebar with the link is displayed.
  3. Ensure the main section's marketing copy collapses into one-column on small viewports.
  4. Read the footer's name, tagline, and links collapse into one-column on small viewports.

The ordering page

Though you're free to style the page however you want, the page should look something like this.

order

More specifically, the page should allow a user to do the following.

  1. Click links to both the landing and ordering pages that are left and right aligned respectively in a fixed navbar.
  2. See that the ordering page is the active item in the navbar.
  3. See the menu on the left side of roughly half the page in a two-column card layout.
  4. See the order on the right side of roughly half the page with a receipt table at the top and a delivery form below.
  5. Read the service's name and tagline as well as click links to both pages in a two-column footer.
  6. Read the copyright information in the footer.

Using custom JavaScript, the page should also allow a user to do the following.

  1. Add menu items to the receipt which updates the subtotal, tax, and total.
  2. Type their information into each required textfield of the delivery form.
  3. Click the button to place the order.
  • If the receipt has no menu items or any of the textfields are blank, they should see a validation message in a toast.
  • Otherwise, they should see a success message in a toast.

Bonus

Tweak the ordering page so it's responsive under medium and small viewports.

  1. Ensure that the viewport's width and initial scale are appropriately set.
  2. Ensure that right aligned link in the navbar collapses into a hamburger icon on medium viewports. When the hamburger icon is clicked, a sidebar with the link is displayed.
  3. Ensure the menu's cards collapse into one-column on medium viewports.
  4. Ensure the main section's menu and order collapse into one-column on small viewports.
  5. Read the footer's name, tagline, and links collapse into one-column on small viewports.

Deployment

Review the following articles on the Surge platform and then deploy your website to production.

A good domain name for this project is USERNAME-galvanize-delivers.surge.sh where USERNAME is your GitHub username in all lowercase letters. Once deployed and everything works as you expect, copy the URL to your site and paste it below.

PASTE YOUR PRODUCTION URL HERE

galvanize-delivers's People

Contributors

ryansobol avatar psithanant avatar

Watchers

James Cloos avatar  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.