this is correct and uses parallel structure. ... An incorrect version of this sentence would read: Joe likes singing, walking and to dive. ... In each of these different examples, words of equal importance caneither be written in the same format (which is ... Parallel structure errors can make your writing sound strange to listeners.
i really hope this helps