@Vueko1
Posted
Also ! I wonder why on mobile rolling the dice gets new advice instantly and on pc ( chrome in my case ) it seems to have a cooldown of few seconds ( like after clicking you have to wait a while before next one can be get )
Looking to hire developers?
Hello ! Could you please take a look at my code to make sure there are no mistakes ? Also I would like to know how to control the color and ratio of svg images you provided using css ( I found filter property but it turned out to be troublesome for me :P )
@Vueko1
Posted
Also ! I wonder why on mobile rolling the dice gets new advice instantly and on pc ( chrome in my case ) it seems to have a cooldown of few seconds ( like after clicking you have to wait a while before next one can be get )
@emestabillo
Posted
Hi @Vueko1, looks good. Can't tell if there's an issue with the svgs because it seems ok! Just a few thoughts:
rem
in place of px
.dice-frame
requires user interaction, and thus should be an interactive element button
in this case, rather than a div..wrapper
can do away with all the flex properties. Its contents would still look centered and would likely just need padding in between. Less code, if you will.transition
Hope this helps!
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord