0
Pls I need some assistance with executing some functions in Javascript.My Code is in the description.
I asked for help before and some person's helped me before and am grateful. But am stuck again. Have been trying to execute some functions with javascript but it's not just working. The only one that was able to work was the hamburger menu, expect from that nothing else. And also I Have to create an auto slider with javascript and have not done one before and I don't know how. Pls if there's anyway you'll be of assistance I'll appreciate, if it's a link to a video or write up or something for me to read, I love to learn it so that I'll be able to complete my project. Thanks. Here's what have done so far 👇 Chris Coder , Your Mom , Shobhit :) https://codepen.io/ClarkeTeejay77/pen/MWQROGK
11 odpowiedzi
+ 1
Okay, well i found that u need ur .active in css which im not seeing. Also in the first few lines in ur javascript ur not using a varibale.
your code:
mobileExitBtn = document.querySelector('.drawer-nav-close-btn')
what is should look like:
let mobileExitBtn = docum
ent.querySelector('.drawer-nav-close-btn')
+ 1
Ok. Thanks
+ 1
To make ur project more neater i recommend using that arrow at the top right of those boxes above ur code. click it then select Format HTML and do the same with CSS and javascript it will help to make ur code neater and shortens it.
0
on the roll rn lemme see what i can find
0
Also some syntax in your javascript might help, some things are missing ";"
0
Also what are these pictures in html supposed to be? None of them work
0
Never mind. I found active. My ctrl f just didnt want to work
0
Ok. Thanks for sporting out my errors
0
I'll put the syntax";"
0
The pictures are on my desktop. It's been pictures. I put alt text to help with identification.
0
For the active. It's supposed to display the features drop down items but it isn't. It's only rotating the arrow. Your Mom