You can use sidebar to make your website more beautiful and professional. Side bars also work well in a variety of sizes. In this code, there is a button in the website header that clicking on it opens the sidebar we want. Each submenu in this sidebar opens and closes in the form of collapses.