The television show is called "The Kids From Room 402" and the episode you're referencing is called "Mercury In Retrograde"
I saw the show when I was a kid and googled it a year ago when I remembered this episode.
Unfortunately I was only ever able to find the episode in French on YouTube or maybe torrents, let me know if you find it!
https://m.imdb.com/title/tt1797905/