RxJS Challenge #5: Making a countdown

Alexander Inkin
AngularWave
Published in
3 min readMar 29, 2021

--

Timer related tasks are perfect candidates for RxJS solution. Let’s assume we have a confirmation code page where we must enter some code that was sent to us. Those typically have a countdown and when it’s done we get a “Resend code” button. This is what we will try to do in Day 5 of our challenge. Don’t forget to try it yourself with this StackBlitz boilerplate before reading the solution!

--

--

Alexander Inkin
AngularWave

Passionate Angular dev, musician and OSS author 🌲 taiga-ui.dev ··· 🎹 jamigo.app