Change get_html_element to get_slides and add a new function: prettify()