luminietos / P02a

Spring 2022 | A train station information app made using JavaScript, HTML and CSS for a JavaScript Uni course.

Home Page:https://luminietos.github.io/P02a/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Trainformation" - JS Train Schedule (Project 02A)

Description

This is a Finnish train station information app that that utilizes Live JSON API from Digitraffic. It is my second JS project and my first project using an API, made for my University's JavaScript course. On top of JS, it has CSS and HTML for the UI (layout & style). It was created in April 2022.

You can find the site here (GitHub) or here (Netlify).

Step-by-step guide - "How do I actually use this site?"

There are two green containers with two different text fields. In the first text field, the user types in a Finnish train station name's short-code (i.e. 'HKI' for 'Helsinki') text field. Once they've done this, they may click on the magnifying glass icon aka the search button, which will retrieve the search result for the user. Data regarding the station the user input will appear below.

Below this is the aforementioned second green container. It functions like the one above, only this one contains the raw, live data regarding the station the user types into the text field. The textarea expands on click, and will shrink back if the user clicks outside the text area (unless the text area already contains data from the user's input).

Status

The development of this project is complete for the foreseeable future. I may fix this at a later date, or I might not. Time will tell.

License

MIT

Credit & sources

The data is sourced from Digitraffic's API.

About

Spring 2022 | A train station information app made using JavaScript, HTML and CSS for a JavaScript Uni course.

https://luminietos.github.io/P02a/

License:MIT License


Languages

Language:CSS 50.1%Language:HTML 31.5%Language:JavaScript 18.4%