use css classes instead of ids
restructure the code to use div container upon adding html tags
style sidebar section
add separate function to style sidebar in js