From 8fadb117db4c58998220e34da4b36f3f2f865bfe Mon Sep 17 00:00:00 2001 From: markn Date: Mon, 10 Oct 2022 12:21:53 -0700 Subject: [PATCH 1/2] modified: public/README.md --- public/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/public/README.md b/public/README.md index db9875d..42334b6 100644 --- a/public/README.md +++ b/public/README.md @@ -156,7 +156,6 @@ Partial files are pieces of reusable code segment that typically appear again an - ``` 4. Create a partial file `footer.ejs` From 9368a60213d0bfb558c6cb3596868736421d3b83 Mon Sep 17 00:00:00 2001 From: markn Date: Mon, 10 Oct 2022 12:28:00 -0700 Subject: [PATCH 2/2] modified: public/README.md --- public/README.md | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/public/README.md b/public/README.md index 42334b6..1c47584 100644 --- a/public/README.md +++ b/public/README.md @@ -91,25 +91,26 @@ Let's introduce the Embedded Javascript ([EJS](https://www.npmjs.com/package/ejs Partial files are pieces of reusable code segment that typically appear again and again throughout your project. - The project tree structure will look as follow: - ```c - + public - + css - - style.css - + views - + partials - - head.ejs - - header.ejs - - footer.ejs - - about.ejs - - index.ejs - README.md - - Dockerfile - - index.js - - package-lock.json - - package.json - - README.md - ``` +The project tree structure will look as follow: + +```c + + public + + css + - style.css + + views + + partials + - head.ejs + - header.ejs + - footer.ejs + - about.ejs + - index.ejs + README.md + - Dockerfile + - index.js + - package-lock.json + - package.json + - README.md +``` 2. Create partial file `head.ejs` @@ -124,6 +125,7 @@ Partial files are pieces of reusable code segment that typically appear again an ``` 3. Create partial file `header.ejs` for responsive navbar display. + ```c @@ -159,6 +161,7 @@ Partial files are pieces of reusable code segment that typically appear again an ``` 4. Create a partial file `footer.ejs` + ```c