Files don’t import in vscode

I just started using vscode and my files in the same directory wont import to files in the same directory. For example when I link to css or javascript files from an html file, they aren’t read and the websits opens without the functions in the javascript file operating and same goes for the css file. When I imported flask forms from a file to my main flask application page in python, it wouldn’t work and I would get the error, ‘no module named ‘flaskform’.

What settings configurations am I missing for vscode?