In this project, I incrementally converted a static webpage to a mobile-ready web application. I took a static design that lacked accessibility and converted the design to be responsive on different sized displays and accessible for screen reader use. I also added a service worker to begin the process of creating a seamless offline experience for the users.
I was provided with the code for a restaurant reviews website. This code had a lot of issues. It was barely usable on a desktop browser, much less a mobile device. It also didn’t include any standard accessibility features, and it didn't work offline at all. My job was to update the code to resolve these issues while still maintaining the included functionality.
To run the project, download or clone the repository in your computer then follow the instructions below:
-
In the repository 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 (like Git Bash, Cygwin or the Windows terminal), check the version of Python you have:
python -V
. If you have Python 2.x, spin up the server withpython -m SimpleHTTPServer 8000
(or some other port, if port 8000 is already in use.) For Python 3.x, you can usepython3 -m http.server 8000
orpython -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
. You can now see the live site.
- Starter code by Udacity.
- Leafletjs, an open-source JavaScript library for mobile-friendly interactive maps, & Mapbox, an open source mapping platform for custom designed maps.
Copyright (c) 2018 Basil Jarjawi