+ 6
How to serve files using express?
So i have the following file which is in public folder which is being served by express static method and according to it the div element with id inputType should have textContent set to placeholder attribute value but when I see the output it is blank ,so what am I missing here ? any help is appreciated Edit:but when I comment out all those require statements it works fine ,like content is editable and element is having textContent set as placeholder value,so is browser not able to understand what is require or am i importing modules the wrong way? https://code.sololearn.com/Wxk2jqZllXoq/?ref=app
1 Réponse