Everything above this is a single planet-summary
component.
It does no data retrieval but simply renders the data it is passed.
It contains:
- scoped styles (the sans-serif font)
-
styles passed from the host page to the Shadow DOM of the component
(blue color of the planet name)
-
implicit casting of data (parsing the stringified planet details into a
JSON object)
- computed properties (the visibility text)
View the source for the planet-summary