Giter Site home page Giter Site logo

foodhub's Introduction

Foodhub

Here is our target for this project:

https://foodhub.matchthetarget.com

Standard asset links

I place these in the <head> of almost every HTML document I write:

<!-- Expand the number of characters we can use in the document beyond basic ASCII ๐ŸŽ‰ -->
<meta charset="utf-8">

<!-- Connect Font Awesome CSS -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css">

<!-- Connect Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">

<!-- Connect Bootstrap JavaScript and its dependencies -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>

<!-- Make it responsive to small screens -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

Standard Workflow

  1. Start the web server with bin/server.
  2. Navigate to your live application preview.
  3. As you work, remember to navigate to /git and Always Be Committing.
  4. Run rails grade as often as you like to see how you are doing, but make sure you test your app manually first to make sure it matches the target's behavior first.

Recommended steps

  1. Get as far as you can with Bootstrap alone.
  2. Then add your own external stylesheet and sprinkle in your own CSS as needed.
  3. Post questions on Piazza!

Images

All of the images you need to build the landing page are already uploaded to the /public/images/ folder.

Useful CSS properties

To set a background image that retains its aspect ratio no matter how an element gets resized,

.who-delivers {
  background: url("images/main-hero.jpg") no-repeat center center;
  background-size: cover;
}

Specs

  1. The landing page has only one nav tag.
  2. The landing page has a nav tag that contains the 'FOODHUB' link.
  3. The landing page has a nav tag that contains the 'Sign In' link.
  4. The landing page has a nav tag that contains the shopping icon link.
  5. The landing page has only one footer.
  6. The landing page has at least one label.
  7. The landing page has at least two label.
  8. The landing page has exactly 3 labels.
  9. The landing page has a label with the text 'Enter your address below.'.
  10. The landing page has a label with the text 'Email address'.
  11. The landing page has a label with the text 'Zip Code'.
  12. The landing page has a label 'Enter your address below.' with a for attribute that is not empty.
  13. The landing page has a label 'Enter your address below.' with a matching input tag.
  14. The landing page has a label 'Email address' with a for attribute that is not empty.
  15. The landing page has a label 'Email address' with a matching input tag.
  16. The landing page has a label 'Zip Code' with a for attribute that is not empty.
  17. The landing page has a label 'Zip Code' with a matching input tag.
  18. The landing page should have a nav element with a mostly red background color.
  19. The landing page should have a link in a nav with the text 'FOODHUB' in white text.
  20. The landing page should have a secondary heading with the text 'Who delivers in your neighborhood?' in white text.
  21. The landing page should have a label with the text 'Enter your address below.' in white text.
  22. The landing page should have a secondary heading with the text 'How to Foodhub' in non-white text.
  23. The landing page should have a fourth level heading with the text 'The where' in non-white text.
  24. The landing page should have a fourth level heading with the text 'The what' in non-white text.
  25. The landing page should have a fourth level heading with the text 'The delivery' in non-white text.
  26. The landing page should have a secondary heading with the text 'Download apps' in white text.
  27. The landing page should have a paragraph with the text 'Millions of users...' in white text.
  28. The landing page should have the 'app-store-badge.png' resized to be 200 pixels.
  29. The landing page should have the 'google-play-badge.png' resized to be 200 pixels.
  30. The landing page has the 'gem.jpg' reshaped to be a circle (has a border-radius of 50%.)
  31. The landing page has the 'like.jpg' reshaped to be a circle (has a border-radius of 50%.)
  32. The landing page has the 'bite.jpg' reshaped to be a circle (has a border-radius of 50%.)
  33. The landing page has a footer element that has a dark blue background color.
  34. The landing page should have a fourth level heading with the text 'Sign up for special offers' in white text.
  35. The landing page should have a fourth level heading with the text 'Get to know us' in white text.
  36. The landing page should have a fourth level heading with the text 'help' in white text.
  37. The landing page should have a fourth level heading with the text 'Connect with us' in white text.
  38. The landing page should have a fourth level heading with the text 'Partner with us' in white text.
  39. The landing page should have a list item with the text 'About Grubhub' in white text.
  40. The landing page should have a list item with the text 'Our apps' in white text.
  41. The landing page should have a list item with the text 'Our blog' in white text.
  42. The landing page should have a list item with the text 'Careers' in white text.
  43. The landing page should have a list item with the text 'Investor relations' in white text.
  44. The landing page should have a list item with the text 'News' in white text.
  45. The landing page has the images 'map.jpg' and 'menu.jpg' next to each other when browser width is >= 768px.
  46. The landing page should have the images 'menu.jpg' and 'delivery.jpg' next to each other when browser width is >= 768px.
  47. The landing page should have the images 'app-store-badge.png' and 'google-play-badge.png' next to each other.
  48. The landing page should have the images 'map.jpg' and 'menu.jpg' be on their own line when browser width is < 768px.
  49. The landing page should have the images 'menu.jpg' and 'delivery.jpg' be on their own line when browser width is < 768px.
  50. The landing page should have the images 'user-1.jpg', 'user-2.jpg' be next to each other when browser width is >= 768px.
  51. The landing page should have the images 'user-3.jpg', 'user-4.jpg' be next to each other when browser width is >= 768px.
  52. The landing page should have the images 'user-1.jpg' and 'user-4.jpg' be on separate lines when browser width is < 991px.
  53. The landing page should have the images 'user-1.jpg' and 'user-2.jpg' be on their own line when browser width is < 768px.
  54. The landing page should have the images 'user-3.jpg' and 'user-4.jpg' be on their own line when browser width is < 768px.
  55. The landing page should have the images 'user-1.jpg' and 'user-4.jpg' be on their own line when browser width is < 768px.
  56. The landing page has a secondary heading 'About Foodhub' next to 'Foodhub helps you find and order food' paragraph when browser width is >= 768px.
  57. The landing page has a secondary heading 'About Foodhub' 'Foodhub helps you find and order food' paragraph are on separate lines when browser width is < 768px.

foodhub's People

Contributors

jelaniwoods avatar raghubetina avatar

Watchers

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