Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 28 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
# 📊 Project: Simple API 2

### Goal: Display data returned from an api

### How to submit your code for review:

- Fork and clone this repo
- Create a new branch called answer
- Checkout answer branch
- Push to your fork
- Issue a pull request
- Your pull request description should contain the following:
- (1 to 5 no 3) I completed the challenge
- (1 to 5 no 3) I feel good about my code
- Anything specific on which you want feedback!

Example:
```
I completed the challenge: 5
I feel good about my code: 4
I'm not sure if my constructors are setup cleanly...
```
# MBTA Alerts API

> View the MBTA's active alerts for all modes of transit.

> <img src="./images/screenshot.png" alt="Screenshot of completed MBTA Alerts API App" width="500">

## Table of Contents

1. [Tech Stack](#tech-stack)
1. [Development](#development)
1. [MBTA API](#mbta-api)
1. [Notes](#notes)

## Tech Stack

- **HTML**
- **CSS**
- **JavaScript**

## Development

### MBTA API

- No API key required. Open the app in your browser and instantly see active MBTA alerts!

### Notes

Visit the official documentation at https://www.mbta.com/developers/v3-api and https://api-v3.mbta.com/docs/swagger/index.html#/Alert/ApiWeb_AlertController_index for more information on API use, copyright, and rate limitations.
1 change: 1 addition & 0 deletions images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="View the MBTA's active Alerts for all modes of transit"
/>
<meta name="keywords" content="mbta, alerts, train, bus, subway, rail" />

<title>MBTA Alerts</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1><img src="images/logo.svg" alt="MBTA Logo" />MBTA Alerts</h1>

<main id="container"></main>

<script type="text/javascript" src="main.js"></script>
</body>
</html>
Loading