The problem

We’re trying to build the booking aspect of the program. We need to be able to book free rooms during free periods based on the timetable. How can we accomplish this?

The solution

Let’s take a step-by-step approach to what we’re trying to do. Pen and paper will be much better to understand this, but here’s a recap:

Some tips to improve the code

I have noticed some stuff while going through the code, so I’ll leave this here if you want to make some small improvements!

Code editor suggestions

If you’re free to choose your code editor, I’ll leave here some suggestions for code editors that you can check out. They’re all free and really help with productivity.