has he also written travelogues?
Yes, some of them are  "Shadow Pictures of a Journey to the Harz, Swiss Saxony, "A Poet's Bazaar", etc.
Hans Christian Andersen
In 1851, he published "In Sweden", a volume of travel sketches. The publication received wide acclaims. A keen traveler, Andersen published several other long travelogues: "Shadow Pictures of a Journey to the Harz, Swiss Saxony, etc. etc. in the Summer of 1831", "A Poet's Bazaar", "In Spain" and "A Visit to Portugal in 1866". 
what is the moral of the story princess and the pea The story ends with the pea being placed in a museum, where according to the story it can still be seen today unless someone has removed it. who is the writer of this story? Hans Christian Andersen where is he from? Odense, Denmark has he written any other stories apart from former one? Yes,  "The Emperor's New Clothes," "The Little Mermaid," "The Nightingale," "The Steadfast Tin Soldier", "The Red Shoes", "The Princess and the Pea," "The Snow Queen," "The Ugly Duckling," "The Little Match Girl," and "Thumbelina."
wiki:7751509
Hans Christian Andersen [SEP] Travelogues
In 1851, he published "In Sweden", a volume of travel sketches. The publication received wide acclaims. A keen traveler, Andersen published several other long travelogues: "Shadow Pictures of a Journey to the Harz, Swiss Saxony, etc. etc. in the Summer of 1831", "A Poet's Bazaar", "In Spain" and "A Visit to Portugal in 1866". (The last describes his visit with his Portuguese friends Jorge and Jose O'Neill, who were his friends in the mid-1820s while he was living in Copenhagen.) In his travelogues, Andersen took heed of some of the contemporary conventions related to travel writing but he always developed the style to suit his own purpose.