JS how to hide registration links after user authorization?
You request the authorization state on the server via ajax and, based on the response result, draw the version of the interface that corresponds to each state. How to draw and where to request this state from the server depends specifically on the implementation of the frontend and backend parts of the site.Anonymous
To place the code, please use CodePen or similar tool. Thanks you!