
I’d recommend working on projects which force you to learn as you go along.
You can also read a bit of theory on both but don’t get trapped in the “being informed == learning” fallacy. Reading about bycicles is different from balancing on one and learning to do tricks on it.
Any theory you inform yourself about you need to combine with experience points or it’s not very useful.
UX theory:
The Design of Everyday Things and Don’t Make Me Think are good books on UX.
You can find a lot of articles on medium but know that many of are written by inexperienced designers and writers and can be quite convoluted and confusing. Much of the web writing is polluted by lists, tips and instructions which provide a false sense of learning. Memorizing a list does not give you experience.
Smashing Magazine has curated sections on both UX and UI.
UI wise I liked the Microinteractions book, the designing forms book from alistapart, and the web typography book by Jason Santa Maria.
Also this: http://webtypography.net/
And this: https://practicaltypography.com/
are good resources on typography.
Lastly, take a look at Kathy Sierra’s work, including her website and book. Both are very inspiring.
But don’t forget to go through a project where you make the ui and UX decisions and ideally get a chance to refine them in the presence of use data. The experience points are the multiplier to the theory.
http://www.amazon.com/Microinteractions-Full-Color-Designing...
They give examples of designers using sound to enhance interactions. For example, slot machine designers make sure there are sounds every time the user interacts with the machine. The sounds and music also get louder and louder as the game goes on - to heighten the excitement and get the person addicted to that rush. One of the reasons why slot machines bring in more money than the movie or video game industries.
Website designers should definitely utilize this more often!