Side Projects

Countdown to Nationalisation

Visit the websight here

See the code here

The Stack

Front end
React
Tailwinds
Next Js
Back End

Why do this?

It's May 2025, and I am working on a large project that is dragging on a bit (coming soon!). South Western Railway has just been nationalised by the British government. I wonder to myself: how many companies have been nationalised? And how long until they all are? After a Google and a trawl through Wikipedia, I decided—why not build something that will give you the answer? So I did!

The Process

The aim of this website was to build something simple, quickly. First, I drew a quick design of what I wanted, then built a skeleton of it. After this, I worked out the time element of the countdown. Once I had worked this out, I imported the train operating company info into a separate file.

Once the countdown was working, I created the element showing companies that had already been nationalised. This process was a copy-and-paste job from the first element, with small changes for style. Finally, I made sure the companies were ordered by time, rather than the order they were stored in.

After the page was built, I spent some time making sure it worked on mobile devices. I found a suitable image for the tab. Once everything was built and tested, I bought the domain I wanted for the website and linked the domain provider to Vercel, launching the website.

What I learned

My aim with this website was to build something quickly and efficiently. I did this, and I’m happy with how the website looks and functions. I also wanted to get more practice with domains and hosting. It worked first time, and I am now much more confident in my understanding of setting up domains.

Future Ideas

I am happy with where the website is now. I may continue to tinker with the site and add more features in the future, but for now, I'm content to leave the website as it is.