I’m trying to combine two codes.
A style code and a script.
The sticky code is in the -inside head tag- area. That is supposed to make the black square follow the screen down.
the script is inside the -before body tag- area and makes the window jump to next section when you scroll.
If I remove this script, the sticky works. When its there, it doesn’t.
Do I have to do anything special to the style code when I have a script code on the same page?
I appreciate all the help I can get