I have been trying to achieve this during my learning process. I just started with javascript but everything is very blurry for me. How could i achieve this?[enter image description here](https://i.stack.imgur.com/pgqaF.png)

[here is the html](https://i.stack.imgur.com/pgqaF.png)

[here is the css](https://i.stack.imgur.com/tXlJH.png)