Posts by Antonio Junior • 113 points
3 posts
-
0
votes1
answer33
viewsQ: Function turning empty object when sent as props (React)
I’m having trouble sending a function from one component to another. The function: const plus = () => { setQuantity(quantity + 1); } Send as a prop in the "Cart" <Cart chosen={productDataObj}…
-
4
votes1
answer878
viewsQ: Contact Form does not send a message - UOL Host
The form even picks up the data after clicking on Ubmit, sends the user to a thank you page but the message does not reach the destination, which is my email. HTML: <section id="contato">…
-
6
votes5
answers4944
viewsQ: Function to check palindrome
I have the challenge of writing a code to check if a text is a palindrome or not. I haven’t finished the code, at the moment, it’s like this: function checkPalindrome(str) { var direita = [];…