So, short fix. Finally learned to put my actual work on github pages, now you can actually try it. Due to this being (originally) intended for hosting locally rather than on github pages, i had to make a couple tweaks, primarily regarding how it works in page mode. Due to my lack of knowledge in JS, i (unfortunately) had to use AI to make my code either function through pages mode (when txt mode is toggled off in the javascript file, its a variable) or local mode (the way it was intended to work, when the variable is toggled to true). the full website is better viewed in fullscreen.
this was originally intended as a fun project to tes tout whether I know how to use an API and HTML to make a simple design, so the HTML structure is mainly ripped from a previous side-project of mine and the API part is written entirely by me. the javascript portion is a whole nother can of worms so i won’t get into it that much.
tl;dr: ill be learning JS later, learn more python and HTML either way (making a personal site + python is hella useful generally) but for this simple bus stop website doohickey i had to generate JS code. bummer!
visually not much changed aside from inner functionality, really
now it works wherever you are in the world! welcome to the exciting world of a single bus stop in kaunas, lithuania! (you can, obviously, fork and change the bus stop ID, the API is free also but this was made for my use case and it’s not likely i plan to expand on it much)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.