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

25th Jun 2022, 1:15 AM
CLARKE TJ
CLARKE TJ - avatar
11 Answers
+ 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')
25th Jun 2022, 1:34 AM
Junior
Junior - avatar
+ 1
Ok. Thanks
25th Jun 2022, 1:17 AM
CLARKE TJ
CLARKE TJ - avatar
+ 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.
25th Jun 2022, 1:37 AM
Junior
Junior - avatar
0
on the roll rn lemme see what i can find
25th Jun 2022, 1:16 AM
Junior
Junior - avatar
0
Also some syntax in your javascript might help, some things are missing ";"
25th Jun 2022, 1:34 AM
Junior
Junior - avatar
0
Also what are these pictures in html supposed to be? None of them work
25th Jun 2022, 1:46 AM
Junior
Junior - avatar
0
Never mind. I found active. My ctrl f just didnt want to work
25th Jun 2022, 1:52 AM
Junior
Junior - avatar
0
Ok. Thanks for sporting out my errors
25th Jun 2022, 2:03 AM
CLARKE TJ
CLARKE TJ - avatar
0
I'll put the syntax";"
25th Jun 2022, 2:04 AM
CLARKE TJ
CLARKE TJ - avatar
0
The pictures are on my desktop. It's been pictures. I put alt text to help with identification.
25th Jun 2022, 2:05 AM
CLARKE TJ
CLARKE TJ - avatar
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
25th Jun 2022, 2:08 AM
CLARKE TJ
CLARKE TJ - avatar