Posts by Dominik • 55 points
6 posts
-
4
votes2
answers279
viewsQ: How to divide strings into equal parts
How to divide a texto with or more than 20,000 characters in equal parts and each part containing 5000 characters? (Nodejs) I have that function: textBreak = (data) => { const characterCounter =…
-
-1
votes1
answer153
viewsQ: Reactjs Components - Button/rendering problem
I have a Componente Button and the same is found within another componente Main. My purpose was that by clicking on this componente Button, it was alternating between other visual components inside…
-
0
votes2
answers104
viewsA: Glr, how do I leave the element that was created fixed on the page even if the page is loaded? When loading the page it disappears
Here the complete code. The html: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,…
-
-2
votes2
answers104
viewsQ: Glr, how do I leave the element that was created fixed on the page even if the page is loaded? When loading the page it disappears
var listagem = document.getElementById("listagem"); function createNewElement() { // Cria a div var div = document.createElement("div"); div.setAttribute("id",…
-
0
votes2
answers83
views -
0
votes2
answers83
views