Posts by Júnior Santos • 51 points
3 posts
-
0
votes1
answer156
viewsA: What are the differences between Thread and Promise
Thread and Promise are completely different things. The engine that runs js in the browser is single-thread, as javascript is event-driven we usually don’t work directly with the thread but with the…
-
0
votes2
answers72
viewsA: Save form data
You can put the action in the tag <form>, and inside it will put an input with the type submit. This input will be the send form button As in the case of w3school…
-
2
votes1
answer63
viewsA: Problems with displaying values in Javascript
Its problem is at the very beginning of the calculating function, as it takes the field as string "1,000.00" and replaces "," with "." then its cost value becomes a string "1,000.00" in parseFloat…