Azyrum
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
When you give a class via javascript, you only give the name of the class without the "."
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
There is no .visible in the css.
If the class does not exist, nothing's going to happen
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
Ok so first
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
I'll comment inside the jsfiddle
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
Here you have a nav wrapping the button and the links div.
I store the ".links" div inside a variable.
I add an eventlistener to the button, when i click the button it gives the links div a class
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
the .links is a div
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
change the getElementsByClassName to querySelector(".links")
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
provide a snippet of your code
38 replies
KPCKevin Powell - Community
•Created by FES001 on 1/3/2024 in #front-end
JavaScript.
https://jsfiddle.net/jphc39bf/1/
you can do something like this
38 replies
KPCKevin Powell - Community
•Created by M@HeR on 12/21/2023 in #front-end
css problem grid
can you provide the code
39 replies
KPCKevin Powell - Community
•Created by M@HeR on 12/21/2023 in #front-end
css problem grid
So you dont want the last (in this example) 3 items to display, only when you scroll down?
39 replies
KPCKevin Powell - Community
•Created by M@HeR on 12/21/2023 in #front-end
css problem grid
#how-to-ask-good-questions
39 replies
KPCKevin Powell - Community
•Created by fisha on 12/8/2023 in #front-end
Full screen image zoomed mobile
Make the rest of the website mobile and your problem should go away
7 replies