Posts by Valdenirson PEREIRA • 1 point
4 posts
-
-2
votes1
answer228
viewsQ: What is the difference between using classname, classList.toggle() and classList.add()?
I tested and the result was the same using the property className and the method classList.toggle: So what is the advantage and disadvantage of using? Using the className: var btnSignin =…
-
0
votes1
answer88
viewsQ: How to increase border-bottom width?
How to increase the border-bottom where the arrow points : Code: .container__transacoes > h3{ border-bottom: 1px solid #bbb; /*Ver como aumentar as bordas*/ padding-bottom: 10px; margin: 30px 0px…
-
0
votes1
answer46
viewsQ: When I put the class in the first <Section> it works , but in the second <Section> (with the same class) the effect does not work - Javascript
When I click on any of these cans the background would change color and the main can too : Only that the background of the second Section is not changing color(And it has the same class) : Obs : I…
-
2
votes2
answers57
viewsQ: How to get all <ul> elements using Document.querySelectorAll() - Javascript
I want to get these li within the ul using Document.querySelectorAll() I tried that way, but Nodelist didn’t come from li , only appeared to ul function TrocaLataPrincipal(){ let pepsiPrincipal =…