Posts by gXh • 20 points
4 posts
-
-1
votes2
answers419
viewsA: Doubt with a countdown in JS and HTML
Well, to make the stopwatch would need to use the setInterval(), and you used the setTimeout(). The setTimeout() runs once after set time, while the setInterval() performs infinitely (or at least…
-
-1
votes2
answers34
viewsA: How do you drill a hole in the parent elements until you see the body?
You can achieve this by setting the same background color for body and class screwHole, thus: body, .screwHole { background-color: blue; } There won’t be a hole in it, but visually, it’ll be the…
-
0
votes1
answer47
viewsA: How do I color an icon with degrade, I want to color only the image and not its background, thanks
I managed to make the gradient with this code: .fa { color: #9c47fc; margin-left: 12px; background: -webkit-linear-gradient(#9c47fc, #356ad2); -webkit-background-clip: text; -webkit-text-fill-color:…
-
0
votes1
answer33
viewsA: String changing previous list names (Struct + String + Function)
Without strcpy you will have to loop and store letter by letter: for (int i = 0; i < nome.length; i++) novoValor->nome[i] = nome[i]; However, for this method to work, you cannot use the name…