why is this element is getting fixed but not relative when scroll back? – Javascript
I was trying to make an element position : "fixed" after it scrolls to the end of the screen and whenever it comes back to the first screen it should again get the position as "relative" , but state is…