Posts by Cyb3rz • 91 points
5 posts
-
0
votes1
answer13
viewsA: Navigation error with jQuery
I discovered the error. I had set a overflow-x: hidden in my css, to make disappear the horizontal scroll bar in the mobile version. Unfortunately this ended up harming the function.…
-
1
votes1
answer13
viewsQ: Navigation error with jQuery
I’m making a site to use portfolio and decided to make a menu for navigation. I also decided to implement a Feature to change the color of li always when scrolling the scroll. It was even working,…
-
1
votes1
answer82
viewsQ: .then() in Async/Await
How I would transform the following function using async/await? const delay = () => new Promise(resolve => setTimetout(resolve, 1000); function umPorSegundo() { delay().then(() => {…
-
2
votes1
answer100
viewsQ: How to make a upload message while a Promisse loads?
I created a js file with the following code: function buscarRepos(){ lista.innerHTML = ''; var nomeUser = document.querySelector('div#app input').value; var resultado = minhaPromise(nomeUser)…
-
2
votes1
answer69
viewsQ: Use of fadein and fadeOut on click() with jQuery
I wanted to make a certain element disappear with the fadeOut() command when clicking on a button, and when clicking again, it appeared with fadein(). I tried to do something like: $('nav.mobile…