Saturday, 2 June 2018

I am unable to change text in HTML with data from FS

As the title says, I seem to have run into an issue. Im fairly a beginner in Node and can't find a solution to this :/ .What I am trying to do is take data from a file locally, and display it in a html file. It works when I use any other variable, but not with the one from fs.readfile.I can see that the variables are initialized, and I can see their value in the consoleHere is the codeThank you :)

Submitted June 02, 2018 at 08:43AM by panzerox123

No comments:

Post a Comment