Requesting data from the NASA API with JavaScript fetch. Displaying the received data, the user can choose the required data from the date input field. The site displays the photos of the day from the APOD server. If instead of image there is a video, the site displays it, and clicking on it the video starts.
In the HTML file there are only a div tag with root id without children when the page load in.