[Solved] PDF Viewer with TextInput

I am having a problem to make a pdf viewer,
I have a text input which asks you to post the url of your pdf and it can be viewed and downloaded using a web viewer


Edit : It works I just modified the code a bit
This is the file