If you choose to go to training, you need to quit your present job and have a lot of free time, so you may go to other cities. After all, the training institutions in first-tier cities are definitely different from those in small cities, which means that not only the training fee is tens of thousands of yuan, but also the accommodation fee for four months is at least tens of thousands, and the cost is very high. But the advantage is that you have a clearer direction in your study. Someone takes you to study systematically, and professional teachers will always answer questions you don't understand, so that you can not only learn more knowledge and skills, but also learn more efficiently than self-study.
If you choose to study by yourself, you have to find out a lot of things. For example, first of all, you have to find out who the enterprise needs now, what technology is popular now and what you need to learn. How to learn not to waste time? Where should I look for a job after studying? Where to find practical projects to practice after learning the theory ... These are all things that you should consider in advance when you start learning, especially how to learn. I have such an example around me. I don't want anything, just go to school. As a result, the more I learn, the more confused I am, the less I have a goal, and I have to give up. The reason is that I didn't seriously think about how to learn the front end at first. In fact, there are too many such novices. That is, if you choose to teach yourself, almost all the problems will be solved by yourself, which is really difficult.