Posts by Thiago • 31 points
7 posts
-
0
votes0
answers8
viewsQ: How do I use ng-bootstrap and move the banner manually?
I have a problem, I want to use the carousel component of the bootstrap https://ng-bootstrap.github.io/#/Components/Carousel/examples But I saw here that we can only change the banner by the…
bootstrap-3asked Thiago 31 -
-1
votes1
answer132
viewsQ: How to view the "id" in Json (api)
I am developing a project in React and I came across a problem, I made a map in a list that works correctly, IE, if I add the objects in the api it appears on the screen, but I would like to create…
-
0
votes1
answer116
viewsQ: How to associate an Array in a textarea?
As I put the value of const links to pull from my "textarea" tag, the code works as expected, runs on the right console, but I want that instead of putting the information in the const links, the…
javascriptasked Thiago 31 -
0
votes2
answers460
viewsQ: Take the 2 position of a string in an array
I’m having a hard time picking up only the "second position" of each string in an array set. Example: when playing the urls below: https://www.devs.com/produto/chave1,…
javascriptasked Thiago 31 -
-2
votes1
answer583
viewsQ: Incomplete Function
I need to know where the error is in the following function: function quantidadeDeMesesComLucro(umPeriodo) { let quantidade= ????; for (let mes=0; mes< umPeriodo.length; mes++) { ???? } return…
javascriptasked Thiago 31 -
2
votes2
answers1779
viewsQ: Function to calculate calories
Create a function called caloriasDeTrote(), which receives per parameter the number of turns represented by a numerical value and returns the amount of calories that will be consumed. For example:…
-
-3
votes1
answer79
viewsQ: JS to manipulate dates
how do I create a js that displays the contents of the array according to the days of the week, type I have the following array: { "days": { "monday": [ {"message": "Olá"} ], "tuesday": […
javascriptasked Thiago 31