Posts by Saulo Felipe • 118 points
8 posts
-
0
votes1
answer39
viewsA: Responsivel layout with image
You can use the @media Rules css for responsiveness. And basically use display flex to align the image with the text whenever the device screen is greater than 500px (or as you want to use).…
-
1
votes3
answers117
viewsA: Limit HTML content in Divs and distribute in the following dynamically?
you can, before entering the Ivs, calculate how many would be created. After that, dynamically insert the div into the html with its text position. let texto = `Lorem consectetur adipisicing elit.…
javascriptanswered Saulo Felipe 118 -
-2
votes1
answer25
viewsA: Code in Browser async/await
As you said, Function start is async, however, the command agente = await verifyAgente() is within setTimeout which is not an asynchronous function, to solve you can do this: promises = await…
javascriptanswered Saulo Felipe 118 -
1
votes1
answer27
viewsA: How to replace a word in javascript?
You can use replace together with Element.innerText Thus: var text = document.querySelector(".info-box") text = text.innerText.replace("Minutes", "Minutos")…
javascriptanswered Saulo Felipe 118 -
0
votes1
answer36
viewsA: Display: None is erasing where it shouldn’t
The problem was that you were giving a transforme: translate(-400%) in ul Follow your corrected code: (I put @media to 991px to test here) /*Reset*/ body, p, h1, h2, input, textarea { margin: 0;…
-
1
votes2
answers47
viewsA: How to print the mathematical values one below the other?
Taking into account that the values will only be used to be displayed on the console, you can insert a line break in this way: function plusMinus(arr) { // Write your code here let len = arr.length;…
javascriptanswered Saulo Felipe 118 -
0
votes2
answers51
viewsQ: Align Divs, with or without Bootstrap
Hello, I need a centralized grid using bootstrap, I managed to do this using flex and justify-content-center: .item { border: dashed 1px blue; padding: 5px; } .container { border: solid 1px black;…
-
1
votes1
answer89
viewsQ: "Building Javascript Bundle" very slow to start Expo on Android
In React Native, following the official documentation (step by step) I was able to install the dependencies and everything I needed to run my first project. I created the directory using expo init…