The ideal Way to get started on Understanding UI5 should be to adhere to underneath video series on Anubhav Trainings. You usually get started with HTML5, CSS, JS, and jQuery and after that go to SAP UI5 Framework and Fiori Enhancement with MVC. In the last period master OData Solutions about the Gateway server. All this without copy-paste of code