It is important to note that UX and be completely separated. A visually appealing interface but with a poor user experience can be frustrating for users. Similarly, a smooth experience but with an unattractive interface might not capture the attention of the target audience.
Generally speaking, it is advisable to start studying UX before UI. This is because a solid understanding of User Experience lays the foundation for good visual design. By cyprus business directory understanding user needs and behaviors, you can create a more effective User Interface that is focused on real needs.
In short, if you're looking to enter the world of web design as an all-round professional, having a solid understanding of both UX and UI is a must. However, early in the training process, spending time understanding User Experience can lay the groundwork for excellent work in visual design later on.