From d9669cbb0f668fbb957ebf2a1df1a6457350be82 Mon Sep 17 00:00:00 2001 From: Nishant Mishra <59792198+Nishant2907@users.noreply.github.com> Date: Mon, 14 Dec 2020 15:36:26 +0530 Subject: [PATCH 1/6] Added Readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..789b093 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# hashcode_web +This project is build to make coding knowledge available to every places through app and web. This is an online platform to learn different languages from the best hand-picked courses. + +## Community +**[Code of Conduct](https://github.com/inaxia/attendance_using_face_recognition/blob/master/CODE_OF_CONDUCT.md)**
+**[Contributing to Inaxia](https://github.com/inaxia/attendance_using_face_recognition/blob/master/CONTRIBUTING.md)** + +## Steps to run + +1. Fork this repo +2. Clone the forked repo +3. Create a branch + +## For running the web + +Run the following command:
+1. `npm install nodemon`
+2. `nodemon app.js` + +You will get your local server hosted at port 3000. +You can change the port address in the app.js + + +If this doesn't work for you, then check if you have express installed in your system. From 5b90abb2f07a2e702d10f2f26b1b79b7e154decc Mon Sep 17 00:00:00 2001 From: Nishant Mishra <59792198+Nishant2907@users.noreply.github.com> Date: Mon, 14 Dec 2020 16:37:56 +0530 Subject: [PATCH 2/6] update Readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 789b093..fd7bbd4 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,6 @@ You can change the port address in the app.js If this doesn't work for you, then check if you have express installed in your system. + +Join us on Gitter:
+[![Gitter](https://badges.gitter.im/inaxia-group/hashcode-web.svg)](https://gitter.im/inaxia-group/hashcode-web?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) From 73e69727ee8bc4c8a2808cc8389809678c0ac3a3 Mon Sep 17 00:00:00 2001 From: Arbaz Date: Sat, 19 Dec 2020 17:17:14 +0530 Subject: [PATCH 3/6] adding javascript lecture --- app.js | 11 ++--- list.js | 108 +++++++++++++++++++++++++++++++++++++++++++++--- views/index.ejs | 12 +++--- 3 files changed, 115 insertions(+), 16 deletions(-) diff --git a/app.js b/app.js index 25b2a6f..16bf370 100644 --- a/app.js +++ b/app.js @@ -12,25 +12,26 @@ app.use(bodyParser.urlencoded({extended: true})); app.set('view engine', 'ejs'); -const { listData, videolinklist, hreftag } = require('./list.js') - +const { listData, videolinklist, hreftag, listDatajavascript, videolinklistjavascript} = require('./list.js') +c let count = 0; app.get("/", function(req ,res){ - res.render("index",{videoListData: listData, hrefTag: hreftag, videoList: videolinklist, Count: count}); + res.render("index",{videoListData: listData, hrefTag: hreftag, videoList: videolinklist, videoListDatajavascript: listDatajavascript, videoListjavascript: videolinklistjavascript, Count: count}); }); + app.get("/video",function(req, res){ const { cppvideolink } = require('./list.js') // for( var i=0;i @@ -266,12 +266,12 @@ ...

Javascript

-