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 add a service worker to begin the process of creating a seamless offline experience for your users.
You have been provided the 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.
-
Go to Udacity's mws-restaurant-stage-3 repository and follow the intructions in order to get the API Server up and running.
-
Clone this repository, enter the directory and install the dependencies executing:
npm i
- Once the dependencies has been installed, run:
npm start
-
With your server running, visit the site:
http://localhost:8000
, and look around for a bit to see what the current experience looks like. -
Explore the provided code, and make start making a plan to implement the required features in three areas: responsive design, accessibility and offline use.
-
Write code to implement the updates to get this site on its way to being a mobile-ready website.
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.
Here you can see the results: