First, I apologize if this question is too vague or stupid, but I really do not know enough to formulate otherwise.
My idea is simple, create a site where, through JavaScript, the visitor can, for example, drag and change the position of an element on the screen. But that this new position that the element assumed is permanent, including for the next page visitors, not just the client side. I imagine then a script that changes placement parameters in a css file on the server permanently.
Is it possible to do this with just JavaScript? I imagine it is not possible for JavaScript to be a client-side language. What other direction can I take then?