I just recently learn DOM manipulation and tried to create a rgb color game.
This is my project link:
https://codepen.io/ankit-ghosh/pen/RXjPJE
Please someone check it out is it good or not and where I need to improve.
I just recently learn DOM manipulation and tried to create a rgb color game.
This is my project link:
https://codepen.io/ankit-ghosh/pen/RXjPJE
Please someone check it out is it good or not and where I need to improve.
It works very smoothly and I like the way you added easy and hard modes. Iām still at beggingerās level in DOM manipulation, so I canāt really comment on the code, but at least there were no bugs when I played it Great!
Just a tiny note on styling: remember to add overflow: hidden;
to the container element with rounded corners. Otherwise the child elementās sharp corners are going to stick out.
And maybe the āPlay again?ā button could be a bit more visible. It was a good (and āeconomicalā) thinking to just use the reset-button for this since they both do the same, but it took me a little while to notice the change and realize I could take another round.
Anyways, this is a very nice project and there is plenty of room to improve it while learning new things (e.g. adding timers, count scoresā¦)
thank you for your comment. Well in codepen I saw many people create rgb color games. So, I thought create one by myself. It was a good practice for my dom manipulation . Thank you for your nice comment. I will improve it.