Posts by Riberox • 77 points
3 posts
-
1
votes1
answer20
viewsQ: Create an on-screen alert when a specific time is reached
I have the following function: function time() { let today = new Date(); today.setMinutes(today.getMinutes() + 30); let h = today.getHours().toString().padStart(2, '0'); let m =…
javascriptasked Riberox 77 -
4
votes1
answer85
viewsQ: How to take system time and add minutes to it in Javascript?
I am making a basic "calculator" for a game, and I need a function that takes the system date and adds 30 minutes when the button is pressed. Follow the script I’m trying to use and it doesn’t work:…
-
0
votes2
answers217
viewsQ: How to make a random choice without repeating PHP
I am doing a back end course with PHP and I am not able to solve the following exercise <?php $animais_detalhes = [ 'cachorro' => [ 'nome' => 'Cachorro', 'caracteristicas' => [ ['mora…