What is the best use of create client side framework?

What is the best use of create client side framework?
0.0 0

#1

Example,
css, javascripts, html code.
If there are a few of tabs in a website and using the same page which sharing same and some sharing different functions. What is the best practice to arrange the code and make it ease to read and support?