Posts by João Divino • 183 points
7 posts
-
1
votes1
answer62
viewsQ: Create a Div Element dynamically in pure JS and assign a random Bg color to it
I’m solving an exercise that consists of generating a div100px X 100px and when the user clicks on one of these squares the color of the BG should change to a randomly generated color, I was able to…
javascriptasked João Divino 183 -
8
votes2
answers144
viewsQ: Print the result of a for JS inside a <p>
I’m doing a college paper that consists of making a tabuada generator. It’s working perfectly when I use it console.log to show the result, but when I use .innerHTML = resultado to display in a tag…
-
2
votes1
answer35
viewsQ: Navbar with higher margin when adding position:Bsolute; in a text
Good morning, everyone. When I change the position of the text to the top of the site to position:absolute; My Nav bar gets a slight margin at the top. how can I fix this ? var TxtType =…
-
1
votes1
answer41
viewsQ: Nav-bar logo moves when website and placed in full screen
I developed a Nav-bar Fixed with an image in the center also Fixed, but when I put the site in full screen I realize that the logo also moves, how can I leave the logo fixed regardless of the height…
-
2
votes1
answer39
viewsQ: Image on top of links
Good afternoon, you guys. I made a navbar and in the center put an image, only that in that image is on top of the links in the navbar, already tried some things like z-index but no objective…
-
2
votes2
answers7788
viewsQ: Chronometer in JS
Guys I made a stopwatch on JS but it "Treme" when I run it, is there any way to fix it ? var centesimas = 0; var segundos = 0; var minutos = 0; var horas = 0; function inicio () { control =…
-
1
votes2
answers112
viewsQ: How to avoid that page click when I click Calculate in the form with Javascript
I’m doing this program for a college job with HTML CSS and JS. But whenever I click to calculate the page reload and the result consequently we are. I’ve looked at other questions here and in other…