Posts by Maurício Silva • 154 points
10 posts
-
0
votes1
answer38
viewsA: To make div appear is to disappear after a while
Hello, you can use the setTimeout() of javascript even within its function rollDice() with a time of 3 seconds would show, right after you would remove with css div, if I wasn’t very clear it’s just…
-
2
votes2
answers193
viewsA: change color of various elements with the same id with javascript
the selector ID it is unique, so you can not use it as attribute of various elements, for this has the class then it should be used. I made an example that can help you in your problem I hope it…
-
-1
votes2
answers57
viewsA: How do I randomly generate a name by clicking on the button?
Oops, I did this example on reactJS as a demonstration, but you can get the same idea of how to solve your problem, with the Math you may be generating this random number by picking the index of…
javascriptanswered Maurício Silva 154 -
0
votes2
answers46
viewsA: Vscode problem adding space in code
Oops, you can do it like this, on settings.json of vscode, you put these settings: "editor.formatOnSave": false, "editor.insertSpaces": false, Probably going to solve your problem, hugs!…
-
0
votes2
answers70
viewsA: Doubts about media query
Oops, good morning man, I believe your mistake is because you didn’t go to prop screen for canvases, you must do so: @media (min-width: 769px) and (max-width: 1024px) { .color { color: red; } }…
cssanswered Maurício Silva 154 -
3
votes2
answers44
viewsA: What is the "~*" operator for in a select in SQL?
The ~* is a Postgresql regex operator that does not differentiate case from case, as you can see in documentation. So, in your example, you’re looking for a name that doesn’t matter if it starts out…
-
2
votes1
answer71
viewsA: React-Hooks/exhaustive-deps | Error in an assync function when taking data from an API
Talk man, so you can’t be using the async within the useEffect you should call a function to run inside it and then call it, I made an example of how you can is solving your problem: import React,…
-
2
votes4
answers1271
viewsA: Error in setting Route Orange 8?
This problem occurs in question that the route() expects the name of the route and you may be solving in a few ways, a tip first of all, on the routes, in the file web.php, you can put only the name…
-
2
votes1
answer31
viewsA: How to put a small modal bootstrap on another larger modal with the fade working properly on the two backgrounds?
My dear, you may be solving your problem this way, in bootstrap, by including two functions that make the modification in modal css, in different events: function esconderModalFundo(){…
-
0
votes3
answers238
viewsA: Rendered content behind the Statusbar
Oops, good night. As far as I can tell, your question is about the header that cuts your Component, right? You can hide the same, but note that the implementation depends on the version of Navigator…