This is a part of the Js30 Challenges . But this was a special one for me . I first tried to do it without watching the tutorial and here all the learning process comes to play .
My approach was completely different & I learned a lot about how to target a psuedo element which is really not straigtforward.