I am building a movie search website in which when the user clicks on the movie card it redirects it to another page named "movie.html" which has info about the movie.
but when I am at the "movie.html" page I need the name of the movie to fetch data from OMDB API to apply changes dynamically in the "movie.html" page.
for that, I need access to variables from the original script file in the script file of "movie.html".