Design is not about the final product but like the blueprint for your site and consists of two items: 

Both are crucial in web design, as a beautiful site (UI) that’s difficult to navigate (poor UX) will not engage users, and a functional site (good UX) that’s unattractive (poor UI) may not captivate users either.