Like many kids, I learned about Krakatoa from William Pene du Bois' 1948 Newbery Award-winning YA novel "The Twenty-One Balloons" [0]. The story is about a fantastical steampunk civilization hidden on Krakatoa, which (spoiler) is eventually destroyed in the eruption. The book is an absolute trip , figuratively and literally - recommended for all ages!
[0] https://www.amazon.com/Twenty-One-Balloons-Puffin-Modern-Cla...