These phrases follow the pattern Verb + 'ing' + Noun
Visiting my hometown.
Doing my homework.
They are titles of things and don't have any other written context. I can provide some context from the places I saw them.
This is a title of a video of Pewdiepie.
10 things to know before visiting Tokyo.
Doing my homework is the thing I like.
What are the meanings of these sentences(or phrases)?