This project consists of three stages, and the goal is to incrementally convert a static webpage to a mobile-ready web application.
Visit: https://ozana-buljan.github.io/Foodness/
- Download the repository: click download ZIP on the right of the screen and extract the zip file to your computer or clone the repository using Git.
- Navigate to where you unzipped the file or cloned the repository.
- 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. However, if you don't have Python installed, navigate to Python's website to download and install the software.
-
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
- This project uses port 8000.
-
For Python 3.x, you can use
python3 -m http.server 8000
orpy -m http.server 8000
-
With your server running, in your browser, navigate to the site:
http://localhost:8000
-
Check out the website! For bonus points: in Dev Tools, disconnect the internet or set the throttling to a low Internet speed to check out the offline experience of the app!
In Stage One, we took a static design that lacks accessibility and convert the design to be responsive on different sized displays and accessible for screen reader use.
I tried my best to follow best practices of A11Y, implementing ARIA and semantic HTML. Audit shows at 92%.
I also redesigend a the page a bit - giving it a new UI. Here are the mockups:
However, under the hood, functionality is the same as the original.
We had a choice to use Leaflet with Mapbox or Google Maps. I picked Google Maps because I have never worked with them before and wanted to learn it. Google recently (June 11, 2018) changed their API policies so it was a bit of a challenge, but I made it! It works!
The other important part of this task was to add a service worker to begin the process of creating a seamless offline experience for the users.
Results of the last audit conducted (on localhost:8000)
View full audit here
There is (obviosly) still some place for improvement - but I hope this would be enough to pass this stage.
- Original repo: MWS Restaurant Stage 1 by Udacity
- Ozana Buljan
- Initial work - Udacity
- Codeowners: @forbiddenvoid @hbkwong
This project is licensed under the MIT License - see the LICENSE.md file for details
Thanks to Udacity, my mentor and my classmates for this opportunity and all the support!