GithubHelp home page GithubHelp logo

ivanthewonderful / project-resraurant_review Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gadgetcrawford/project-3

0.0 1.0 0.0 22.28 MB

Restaurant Review Site

HTML 15.90% JavaScript 50.01% CSS 34.09%

project-resraurant_review's Introduction

Project-3

Restaurant Reviews Website
This website acts as a conduit for reading and posting reviews, ratings, and atrributes of your favourite restaurants.

Week 2 Timeline

Monday:

AM:

Project Management
OOP Lesson

PM:

Project Work

Tuesday

AM:

OOP Coding Workshop

PM:

Project Work

Wednesday

AM:

1/2 way Milestones Completed

  • Fix current bugs (Ivan)
  • Get JS form to work (Kevin)
  • CSS layouts completed incl. MQ (Jordan)
    OOP Coding Workshop
PM:

Project Work

Thursday

AM:

Ethics & Legals cross-session

PM:

Project Work

Friday

AM:

Project Tasks Completed

  • Page layouts for all Media Queries
  • Can post reviews
  • All current JS Functions completed
    CSS Animation class
PM:

Project wrap-up

  • Complete README
  • Tidy root directory
  • Merge all git branches

Reflective Keypoints

  • Higher detail timelines
  • Set more concise milestones
  • Decompose problems further
  • Split labour more evenly across disciplines
  • Start JS early to remain on same page
  • Understand the data structure
  • Manipulate the application data
  • Get the data into the structure
  • Take responsible, effective breaks
  • Getting frustrated happens, refer to above
  • .then statements!!!!
  • Stay motivated

Working Log

Ivan:

2020-02-24

  1. wrote sudo code for potentially necessary functions;
  2. researched how to make ranking system with JS, wrote sudo code and examples for reference;
  3. researched where to get weather info, no REALLY FREE api yet...

2020-02-25

  1. made a test.html in scripts folder for function testing only;
  2. made a function to show names of all restaurants. It's working but need improvements;
  3. made a function to screen all restaurants with patios.

2020-02-26

  1. made the names into buttons with on click functions;
  2. wrote the functions to show restaurant details.

2020-02-27

  1. rewrote the fetch functions into async for readability;
  2. rewrote all the other functions in callback function;
  3. gave the buttons onclick functions that can only add info in a div (should replace info instead of adding).

2020-02-28

  1. wrote a function to calculate the average score of a restaurant;
  2. things to do over the weekend:
        a. post request for user comment;
        b. link the score to the restaurant, ie. when I click the button, the score of the restaurant should pop up.

2020-02-29

  1. wrote the function to properly display score when a restaurant is clicked;
  2. wrote the function to show 3 restaurants with highest score.

2020-03-02

  1. fixed bug for displaying reviews;
  2. added a function to show 3 reviews of this restaurant when the name button is clicked;
  3. minor refactor in the function showRestaurantInfoAnd3Reviews.

2020-03-03

  1. added "active" state for restaurant buttons, ie. the clicked button will change style untill another button is clicked.
  2. researched how to post user comments with javascript fetch-post.

2020-03-04

  1. continued researching and testing, can make new entry in server, but the entry is empty.

2020-03-05

  1. set an "initial state" to show one restaurant info & reviews without clicking any buttons;
  2. gave the generated contents different tags for better CSS styling.

To-do List

  1. post user comment.
  2. weather api, show restaurants with patios according to weather.
  3. change restaurant names in the reviews into links. When a link is clicked, page should jump to the restaurant info section and display related info.

Most/Least Proud Moments

  Most: Putting pieces of code together can make some of the functions work!
  Least: Having errors in my console and could not figure out why...

Kevin:

2020-02-24

  1. I created the repo and sent a collaboration to Ivan and Jordan.
  2. I created a few branches through the day.
  3. I downloaded several images, placed them in the images folder, and added them to index.
  4. Researched how to add comments and score, which we most likely do with patch.
  5. Researched how to add total number of reviews and restaurants. This will be dependent on the content of the API, when we receive it.

2020-02-25

  1. UPdated more images
  2. Studied Scrapi
  3. Did footer structure and style
  4. Did grid on page 2

2020-02-26

  1. Finished grid on page 2
  2. Started on switching pictures with JS

2020-02-27

  1. Finished picture switching functionality
  2. Started working on Combining scores for
  overall average

2020-02-28

  1. FInished combining scores with Ivans help

2020-02-29

  1. Fixed the footer

2020-03-01

 1. Finished Forms

2020-03-02

 1. Fixed footer as it broke
 2. Continued work on forms

2020-03-03

 1. Fine tuned layout
 2. Added tablet media query

Most Proudest

 Getting Picture replace working with JavaScript

Least Proudest

  Not getting Promises and code. It is really disheartening.  

Jordan:

2020-02-24

  1. Built initial structure of HTML
  2. Linked google fonts
  3. Base styles begun
  4. Icons linked and made available

2020-02-25

  1. Media Query
  2. Fine-tuned layouts for mobile/desktop
  3. Styles applied
  4. Created img grid for reviews section

2020-02-26

  1. Completed Mobile layout/styles
  2. Desktop layout/styles applied, near completion
  3. Fonts/Colors applied
  4. Re-classed html elements for clarity

2020-02-27

  1. Created async functions to show total restaurants and reviews
  2. Inserted promise results into DOM

2020-02-28

  1. Created function to pull reviews based on recent updates
  2. Began Re-structuring layout for optimization
  3. Adjusting site brand colors for accessibility

2020-03-02

  1. Adjusted button styles
  2. Adjusted styles for generated information
  3. Corrected img layout for mobile

2020-03-03

  1. De-bugged css to remove layout breakages
  2. Completed optimized layouts for mobile and desktop media queries
  3. Re-structured elements for increased usability
  4. Re-styled search input
  5. Made iframes responsive to media breaks

2020-03-04

  1. De-bugged HTML
  2. De-bugged CSS
  3. Researched POST to API
  4. Replaced all placeholder text

2020-03-05

  1. De-bugged HTML
  2. De-bugged CSS
  3. Added MQ for responsiveness
  4. Formatted review areas
  5. Adjusted form input sizes
  6. Re-formatted page layouts

Highs/Lows

  Most Proud: Getting live information from API on to the page
  Least Proud: Overall lack of contribution to JS files both timewise and knowledgewise

project-resraurant_review's People

Contributors

jordanhofer92 avatar ivanthewonderful avatar gadgetcrawford 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.