Posts by Éverton Toffanetto • 87 points
5 posts
-
2
votes1
answer36
viewsQ: How to set the scrolling time of the page by clicking on the menu link and it redirects to a specific section? (with pure js)
I made this js code for when click on the menu go to the section of the corresponding page (using the call by id). As the menu is fixed, in the script I discounted its height and its distance from…
javascriptasked Éverton Toffanetto 87 -
1
votes0
answers31
viewsQ: Why does jQuery code not work as it should with slideToggle?
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
jqueryasked Éverton Toffanetto 87 -
2
votes1
answer118
viewsA: Grid varying size according to text
I solved your problem: https://codepen.io/querocriarsite/pen/BaNyVbB <ul class="prais-lista" data-tab="menu"> <li> </li> <li> </li> <li> </li> </ul>…
cssanswered Éverton Toffanetto 87 -
1
votes1
answer54
viewsQ: How to write the following jQuery code in pure Javascript?
I’m trying to convert the following code jQuery unsuccessful for javascript pure: $.each($("p"), function(i, el) { var el = $(el); el.html(el.html() + " - " + i); }); <script…
-
-1
votes1
answer128
viewsA: Position element in the middle of the screen
In the parent container that is the slide put the property css margin: 0 auto! Mportant; if n resolve remove and put display:flex! Mportant; Justify-content: center! Mportant;
cssanswered Éverton Toffanetto 87