---
title: "Discussion on \"Passing Data to EJS Template\" | Hashnode"
description: "Discussion on \"Passing Data to EJS Template\". When using an EJS (embedded JavaScript) template, you must note it differs from using vanilla JavaScript in certain ways. The most important differences is the execution of a variable that isn't defined in the index.js file before being passed to the..."
url: "https://hashnode.com/posts/passing-data-to-ejs-template/6504560f9479cdf9a28fae8d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Passing Data to EJS Template](https://legarcee.hashnode.dev/passing-data-to-ejs-template?utm_source=hashnode&utm_medium=feed)

When using an EJS (embedded JavaScript) template, you must note it differs from using vanilla JavaScript in certain ways. The most important differences is the execution of a variable that isn't defined in the index.js file before being passed to the...

Sep 14, 2023 · 2 min read · legarcee.hashnode.dev  
Read the article

-   [#ejs](https://hashnode.com/tag/ejs)
-   [#express](https://hashnode.com/tag/express)

## Written by

[Chibuike Maduechesi](https://hashnode.com/@Legarcee)

@Legarcee

  
[View profile](https://hashnode.com/@Legarcee)

I am a frontend developer with JavaScript and react

## Responses

Comments are turned off for this post.
