Skip to content
Udacity Front End Web Developer - Final Project - Restaurant Reviews
JavaScript CSS HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
data
img
js
.gitignore
CODEOWNERS
README.md
index.html
registersw.js
restaurant.html
sw.js

README.md

Udacity - Restaurant Reviews Final Project

Udacity Front End Web Development Final Project - Restaurant Reviews Application

Programs:

  • index.html
  • restaurant.html
  • css/style.css
  • js/main.js
  • js/restaurant_info.js
  • js/dbhelper.js
  • registersw.js
  • sw.js

Author

  • Author: Perry Brandiezs
  • Date: October 4, 2019

Overview

  • This project is a demonstration of several Front End Web Development skills: working with Service Workers / Offline web design, A11Y accessibility, responsive web design, and using map API's, html, javascript, and CSS.
  • Initial starter code has been provided.
  • The project consists of modifying the starter code extensively (including resolving issues), implementing a service worker, A11Y accesibility implementation, and modifying the layout for a responsive design, supporting mobile devices through desktop.
  • The service worker implementation provides for a more responsive site during poor or offline connections.

Summary of third-party resources used:

Hosting / Deployment

  • Copy the entire directory contents to the hosting server, including the css, data, img, and js folders.
  • A test server using python3 may be spun up with: python3 -m http.server 8000, point the browser to http://localhost:8000

The original Udacity readme for the assignment is below


Mobile Web Specialist Certification Course


Three Stage Course Material Project - Restaurant Reviews

Project Overview: Stage 1

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.

Specification

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.

Project Rubric

Your project will be evaluated by a Udacity code reviewer according to the Restaurant Reviews project rubric. Please review for detailed project requirements. The rubric should be a resource you refer to periodically to make sure your project meets specifications.

What do I do from here?

  1. 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.
    • Note - For Windows systems, Python 3.x is installed as python by default. To start a Python 3.x server, you can simply enter python -m http.server 8000.
  2. With your server running, visit the site: http://localhost:8000, and look around for a bit to see what the current experience looks like.

  3. Explore the provided code, and start making a plan to implement the required features in three areas: responsive design, accessibility and offline use.

  4. Write code to implement the updates to get this site on its way to being a mobile-ready website.

Leaflet.js and Mapbox:

This repository uses leafletjs with Mapbox. You need to replace <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.

You can’t perform that action at this time.