Jason had the suggestion of utilizing more of the data pulled from AstronomyAPI by using a tooltip. He mentioned displaying data like degrees from the horizon, ascension, etc.
Kara and I discussed adding this info into the material box caption instead of a tooltip: https://materializecss.com/media.html (scroll down to the "caption" section).
We thought we could add a .attr() action to the displayInformation <img> tag. We could concatenate a string for the add the "data-caption" tag on each image. Ex: .attr("data-caption", "Degrees from horizon: " + (keyword from API))
Jason had the suggestion of utilizing more of the data pulled from AstronomyAPI by using a tooltip. He mentioned displaying data like degrees from the horizon, ascension, etc.
Kara and I discussed adding this info into the material box caption instead of a tooltip: https://materializecss.com/media.html (scroll down to the "caption" section).
We thought we could add a
.attr()
action to thedisplayInformation <img>
tag. We could concatenate a string for the add the "data-caption" tag on each image. Ex: .attr("data-caption", "Degrees from horizon: " + (keyword from API))Would this work, @benmcrae5 ?