Giter Site home page Giter Site logo

sarah27h / fend-restaurant-stage-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from udacity/mws-restaurant-stage-1

0.0 1.0 0.0 11.09 MB

Restaurant Reviews: Stage 1

Home Page: https://sarah27h.github.io/FEND-restaurant-stage-1/

CSS 23.11% HTML 16.64% JavaScript 60.25%

fend-restaurant-stage-1's Introduction

Restaurant Reviews: Stage 1 (frontend-nanodegree)

Table of Contents

Live Link

https://sarah27h.github.io/FEND-restaurant-stage-1/

About the Project

Users can use Filter Results to filter neighborhoods and cuisines and then choose the restaurant he wants and uses maps to know the location of the restaurant.

Project Overview

In this project is a restaurant reviews website provide a response for a range of screen sizes, have a responsive images size to the viewport and accessible for screen reader users and uses service worker to cache website visited pages letting users view those pages and give users a better experience in cases lie-fi, low connection, offline faster loading for pages in low and high connection cases.

Instructions

Download project folder or clone it.
To open project:
    - locally on your machine you need to use server
        1- check python version in the terminal `python -V`
            - If you have Python 2.x -> spin up the server with `python -m SimpleHTTPServer 8000`.
            -  If you have PythonPython 3.x, you can use `python -m http.server 8000`.
            (or some other port, if port 8000 is already in use.)
            - If you don't have Python installed, navigate to Python's [website](https://www.python.org/) to download and install the software.
        2- open `index.html` in your browser.
    - Online use live version https://sarah27h.github.io/FEND-restaurant-stage-1/

Test Caching

- Make sure you are in online mode (offline not selected)
- Use live version https://sarah27h.github.io/FEND-restaurant-stage-1/
- Click on any restaurant button to open restaurant page and to make sure it added to our caches array.
- click on home link.
- Open dev tools -> Network tab -> check offline only.
- Open restaurant page you have visited
- Reload page you should see it :)
note: only the visited pages online mode by user will be cached and the not visited ones will not be cached.

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.

Sources

- https://webaim.org/techniques/skipnav/
- https://www.w3.org/TR/wai-aria-1.1/
- https://developer.mozilla.org/en-US/
- w3schools.com
- stackoverflow
- https://developers.google.com/web/fundamentals/primers/service-workers/
- https://developers.google.com/web/fundamentals/codelabs/offline/
- Map from https://www.mapbox.com/

License

This project is licensed under the terms of the MIT license.

fend-restaurant-stage-1's People

Contributors

sarah27h avatar forbiddenvoid avatar focus3d avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.