The index page of any website is the face of that site. So it must be well designed and attractive.
It must contain the name, logo, GitHub link of the project. The page must be responsive. Feel free to add any other features.
The index.ejs page is present under views folder.
Don't get confused over .ejs extension. EJS is a simple templating language that is used to generate HTML markup with plain JavaScript. It also helps to embed JavaScript to HTML pages. When you open the file, you will notice that there is nothing but plain HTML code written on it.
Note:
- Be careful with the links of css, js or images.
For Example, if a css file is present under the css folder with the name style.css, your link href must contain
/css/style.css and not simply css/style.css
- Be careful with the links of anchor tag. The link must be a valid route or it will redirect to 404 page.
The index page of any website is the face of that site. So it must be well designed and attractive.
It must contain the name, logo, GitHub link of the project. The page must be responsive. Feel free to add any other features.
The
index.ejspage is present underviewsfolder.Don't get confused over .ejs extension. EJS is a simple templating language that is used to generate HTML markup with plain JavaScript. It also helps to embed JavaScript to HTML pages. When you open the file, you will notice that there is nothing but plain HTML code written on it.
Note:
For Example, if a css file is present under the
cssfolder with the namestyle.css, your link href must contain/css/style.cssand not simplycss/style.css