JSFiddle - React, Tailwind, and code Playground

JavaScript

var APIurl = "https://api.themoviedb.org/3/movie/5"+(Math.floor(Math.random() * 520271) + 1) +"?language=en-US&api_key=45ddf563ac3fb845f2d5c363190d1a33"

fetch(APIurl)
/*Original method: fetch("https://api.themoviedb.org/3/movie/24?language=en-US&api_key=45ddf563ac3fb845f2d5c363190d1a33")*/
.then(res => res.json())
.then(console.log);