# Node Express question

**URL:** <https://forum.freecodecamp.org/t/node-express-question/388128>\
**Category:** General\
**Created:** [May 13, 2020, 10:50am UTC](https://forum.freecodecamp.org/t/node-express-question/388128 "2020-05-13T10:50:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justingeluzz](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/justingeluzz/32/147941_2.png) [@justingeluzz](https://forum.freecodecamp.org/u/justingeluzz)\
**Post date:** [May 13, 2020, 10:50am UTC](https://forum.freecodecamp.org/t/node-express-question/388128/1 "2020-05-13T10:50:59Z")

</div>

Hi Guys,

Quick question. Do i always need to use .ejs file when working with nodejs express? or i can use .html file also.

---

<div class="post-metadata">

**Author:** ![aoc386](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@aoc386](https://forum.freecodecamp.org/u/aoc386)\
**Post date:** [May 13, 2020, 1:48pm UTC](https://forum.freecodecamp.org/t/node-express-question/388128/2 "2020-05-13T13:48:44Z")

</div>

Hi,  
I’m not quite sure what your asking but will try to answer 🙂  
express is a javascript framework so it must be written in a js or ts however you can use your html to gather payload body data from a user.

I’m not sure but i cant see how nodeJS and express would work with a html file using script tags i believe they can only be read by browsers so nodeJS would not know what to do with it but i might be wrong . imo best practice would be to setup nodeJS with express and use npm to run the express ‘server’

hope that helps

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:53pm UTC](https://forum.freecodecamp.org/t/node-express-question/388128/3 "2021-06-01T18:53:53Z")

</div>

Closed on June 1, 2021, 6:53pm UTC


