For this Restaurant Reviews project for the Udacity Front-End Nanodegree program, I will convert a static webpage to a mobile-ready web application. I 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. I will also add a service worker to begin the process of creating a seamless offline experience for users.
Adapted from the original Udacity repo here -> https://github.com/udacity/mws-restaurant-stage-1
I was 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. I will update the code to resolve these issues while still maintaining the included functionality.
(After downloading or cloning this repo)
- In this folder, start up a simple HTTP server to serve up the site files on your local computer. Python has some simple tools to do this, and you don't even need to know Python. For most people, it's already installed on your computer.
In a terminal, check the version of Python you have: python -V
. If you have Python 2.x, spin up the server with python -m SimpleHTTPServer 8000
(or some other port, if port 8000 is already in use.) For Python 3.x, you can use python3 -m http.server 8000
. If you don't have Python installed, navigate to Python's website to download and install the software.
- With your server running, visit the site:
http://localhost:8000
This repository uses leafletjs with Mapbox. I already replaced <your MAPBOX API KEY HERE>
with a token from Mapbox.
As with most of my repos, since I am learning as a student, contributions will not be considered until after review. Thank you.