Restaurant Reviews App Stage 1


How to run the Project

  1. Clone the repo: git clone https://github.com/bestii/Restaurant-Reviews-App-Stage-1.git.
  2. Replace <ADD_YOUR_MAPBOX_API_KEY_HERE> in js/config.js with your Mapbox API key.
  3. Install Web Server for Chrome plugin.
  4. Choose the cloned folder to serve and navigate to localhost URL shown in the plugin.
  5. Done.

Project Overview

For the Restaurant Reviews projects, you will incrementally convert a static webpage to a mobile-ready web application. In Stage One, you will take a static design that lacks accessibility and convert the design to be responsive on different sized displays and accessible for screen reader use. You will also begin converting this to a Progressive Web Application by caching some assets for offline use.

Specification

You will be provided code for a restaurant reviews website. The code has a lot of issues. It’s barely usable on a desktop browser, much less a mobile device. It also doesn’t include any standard accessibility features, and it doesn’t work offline at all. Your job is to update the code to resolve these issues while still maintaining the included functionality.

Requirements

Make the provided site fully responsive. All of the page elements should be usable and visible in any viewport, including desktop, tablet, and mobile displays. Images shouldn't overlap, and page elements should wrap when the viewport is too small to display them side by side.

Leaflet.js and Mapbox:

This repository uses leafletjs with Mapbox. You need to replace <ADD_YOUR_MAPBOX_API_KEY_HERE> with a token from Mapbox. Mapbox is free to use, and does not require any payment information.

Note about ES6

Most of the code in this project has been written to the ES6 JavaScript specification for compatibility with modern web browsers and future proofing JavaScript code. As much as possible, try to maintain use of ES6 in any additional JavaScript you write.