Posts by Arthur Nunes • 23 points
4 posts
-
0
votes2
answers167
viewsA: Reactjs Toggle onClick variable
For consultation of people with a similar problem, I solved as follows: In the previous I created a toggle const [toggle, setToggle] = useState(false); In the component, I created a state to store…
-
2
votes2
answers167
viewsQ: Reactjs Toggle onClick variable
I’m trying to come up with a logic of a toggle, which activates/disables a kind of filter, but now I need to implement a new functionality in it, it works like this, if I click on a category button,…
-
-1
votes1
answer40
viewsQ: Disable button in React via validation
Hey, good night, fellas, what’s up? I’m having trouble with the validation of a button, it should be disabled if the validation did not pass, but as I am a student yet, I can’t tell for sure where I…
-
-2
votes1
answer60
viewsQ: jQuery Add class to dynamically generated element with click, but only on one of them and click on another, remove from the other elements
Hello, good evening friends, all good? I am studying and developing an All list,after adding an item(<li>) my <ol>, created an eventListener so that when you click on one of the items on…