Code Monkey home page Code Monkey logo

poopee's Introduction

PooPee - Find Nearby Toilets with JavaScript and Leaflet

Welcome to PooPee, a simple web application that helps you find nearby toilets using JavaScript and the Leaflet library.

PooPee Logo

Table of Contents

Introduction

PooPee is a web application built using HTML, CSS, and vanilla JavaScript. It utilizes the Leaflet library to display a map interface and provides functionalities to find the closest toilet to the user's current location, view toilet details, and get directions using Waze.

Demo

You can check out the live demo of PooPee here: PooPee Demo

Features

  • Find the closest toilet to your current location.
  • View toilet details including accessibility, rating, and more.
  • Get directions to the nearest toilet using Waze.

Getting Started

Prerequisites

To run the project locally, you need to have a modern web browser and a text editor. No additional dependencies are required as the project uses Leaflet and vanilla JavaScript.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/Reem-Nosbaum/poopee.git
  2. Navigate to the project directory:

    cd poopee
  3. Open the index.html file in your preferred web browser to see the application in action.

Usage

  • Click the "Go to my location" button to center the map on your current location.
  • Click the "Find me a toilet near me!" button to find the closest toilet to your location. The map will display a line between your location and the closest toilet.
  • Click the "Directions" button to open Waze and get directions to the nearest toilet.
  • Click the "Details" button to view details about the nearest toilet, including accessibility and rating.

Contributing

Contributions to this project are welcome. If you find any issues or would like to enhance the application, feel free to submit a pull request. Please follow the existing coding style and guidelines.

poopee's People

Contributors

reem-nosbaum avatar

Watchers

 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.