Created function to add completed courses; moved CSS from js file to css file