I wrote my HTML and Bootstrap codes in Notepad++ and moved the html file to my Raspberry Pi because I am running the codes by using Flask and Python. Initially when I ran the html and bootstrap codes on my Raspberry Pi, they worked. And then I again wrote the codes on NotePad++ after making some edits in it and I sent the file to Raspberry Pi, none of the buttons or dropdown are clickable. And the HTML page initially shows the old data on reload and then after I refresh it, it shows the updated data. I had encountered this problem before as well when the buttons were working though. I don't know what I am doing wrong because the codes look right to me and the page is loading when I run on my Pi.
Here are parts of the codes: