link to my code: https://codepen.io/zsami/pen/eYrLObR
Hi @sami8 and welcome to the community
Congratulations! You correctly solved the task.
As a general note: When using CodePen it would improve readability to put CSS and JS in their own panels.
Have a nice day,
Michael
1 Like