How enricomerckaert/trainschedule works
Project type and purpose
• This is a purely front-end, single-page "Train Scheduler" application.
• It provides a form where users enter Origin, Destination, Date, and Time, then displays train departure/arrival info in a table.
File structure
• Root files:
• index.html – the entry point and UI skeleton
• README.md – project description and technology list
• assets/css – styling (reset.css, style.css)
• assets/js – custom script.js (contains form handling, AJAX calls, DOM updates)
• assets/resources – third-party libraries (jQuery, jQuery DateTimePicker, Moment.js)
README for additional insights
• Tech stack: HTML5, CSS3, JavaScript, jQuery, Moment.js, datepicker.js
• No in-project backend; likely it calls an external train-schedule API or static JSON.
Detail without overthinking
• Exactly where Moment.js and DateTimePicker plug into the form-handling flow.