├── .gitignore ├── Autumn2017 ├── AmartyaBiswas │ ├── Animation │ │ ├── .idea │ │ │ ├── Animation.iml │ │ │ ├── modules.xml │ │ │ └── workspace.xml │ │ ├── car1.png │ │ ├── car2.png │ │ ├── cloud1.png │ │ ├── index.html │ │ ├── moon.png │ │ ├── mountain.png │ │ ├── road.jpg │ │ ├── styling.css │ │ └── sun.png │ ├── Responsive Portfolio │ │ ├── .idea │ │ │ ├── Material Portfolio.iml │ │ │ ├── Materialize Portfolio.iml │ │ │ ├── jsLibraryMappings.xml │ │ │ ├── modules.xml │ │ │ └── workspace.xml │ │ ├── Home.jpg │ │ ├── dps.jpg │ │ ├── flower.jpg │ │ ├── forest.jpg │ │ ├── hel.jpg │ │ ├── html5css3.png │ │ ├── image2.jpg │ │ ├── index.html │ │ ├── leaf.jpg │ │ ├── node.png │ │ ├── nsit.jpg │ │ ├── sql.png │ │ ├── toucan.jpg │ │ └── wolfy.jpg │ └── myToDoList │ │ ├── Styling.css │ │ ├── ToDoList.js │ │ └── index.html ├── Ankit │ └── ToDo list │ │ ├── index.html │ │ └── list.js ├── Kawal Preet │ ├── Portfolio │ │ ├── bg3.jpg │ │ ├── bg6.jpg │ │ ├── foot.jpg │ │ ├── porfolio.html │ │ ├── porfolio.txt │ │ ├── portfolio.css │ │ └── portimg.jpg │ ├── ToDolist │ │ ├── index.html │ │ ├── todolist.css │ │ └── todolist2.js │ └── WeatherReport │ │ ├── index.html │ │ ├── skyicons.js │ │ ├── weather.js │ │ └── wether.css ├── Nilay │ └── README.md ├── NupurBaghel │ ├── portfolio-bootstrap │ │ ├── .gitignore │ │ ├── README.md │ │ ├── css │ │ │ ├── access.html │ │ │ ├── access.js │ │ │ └── stylish-portfolio.css │ │ ├── img │ │ │ ├── awards2.jpg │ │ │ ├── balloon1.png │ │ │ ├── balloon2.png │ │ │ ├── balloon3.png │ │ │ ├── balloon4.png │ │ │ ├── balloon5.png │ │ │ ├── bgblue.jpeg │ │ │ ├── callout.jpg │ │ │ ├── cplus1.png │ │ │ ├── cplus2.png │ │ │ ├── cplus3.png │ │ │ ├── csi.jpg │ │ │ ├── dance.jpg │ │ │ ├── dance1.jpg │ │ │ ├── dance2.jpg │ │ │ ├── dance3.jpg │ │ │ ├── dance4.jpg │ │ │ ├── dps.jpg │ │ │ ├── girl.png │ │ │ ├── kvpy.png │ │ │ ├── nsit.jpg │ │ │ ├── ntse.jpg │ │ │ ├── projects.jpg │ │ │ ├── shop1.png │ │ │ ├── shop2.png │ │ │ ├── shop3.png │ │ │ ├── shop4.png │ │ │ └── shop5.png │ │ ├── index.html │ │ └── js │ │ │ └── stylish-portfolio.js │ └── todolist │ │ ├── index.html │ │ ├── todo.css │ │ └── todo.js ├── PaaviniNanda │ ├── Calculator │ │ ├── calculator.css │ │ ├── calculator.js │ │ └── index.html │ ├── Portfolio │ │ ├── bg2.jpg │ │ ├── index.html │ │ └── styling.css │ └── ToDoList │ │ ├── index.html │ │ └── toDoList.js ├── Parul │ └── Todo List │ │ ├── Todo2.js │ │ └── index.html ├── RajatSharma │ ├── index.html │ ├── js.js │ └── style.css ├── Shaily │ ├── Animation │ │ └── index.html │ ├── ToDoList │ │ ├── index.html │ │ └── todo.js │ └── portfolio │ │ ├── .idea │ │ ├── modules.xml │ │ ├── portfolio.iml │ │ └── workspace.xml │ │ └── index.html └── Tanuj │ └── Portfolio │ ├── .gitignore │ └── index.html ├── README.md ├── Sarthak Goel ├── Portfolio │ ├── images │ │ ├── arrow.jpg │ │ ├── cd-arrows.svg │ │ ├── fabian-irsara-92113-unsplash.jpg │ │ ├── modified.jpg │ │ └── original.jpg │ ├── index.html │ ├── landing_page.css │ ├── landing_page.js │ ├── main.js │ ├── modernizr.js │ ├── portfolio.css │ ├── portfolio.html │ ├── portfolio.js │ ├── reset.css │ ├── resume.css │ ├── resume.html │ ├── style.css │ ├── thankyou.html │ ├── thankyou.js │ └── typewriter-1.mp3 ├── Resume │ ├── index.html │ └── resume.css └── Todolist │ ├── index.html │ ├── todolist.css │ ├── todolist.jpg │ └── todolist.js ├── Summer2017 ├── .gitignore ├── Avani │ └── Blogify │ │ ├── README.md │ │ ├── Red.png │ │ ├── Silver.png │ │ ├── Turquoise.png │ │ ├── addImage.png │ │ ├── background.jpeg │ │ ├── firebase.png │ │ ├── google sign in.png │ │ ├── homePAge.html │ │ ├── imageAdd.png │ │ ├── index.html │ │ ├── javascript.js │ │ ├── jquery.autocomplete.min.js │ │ ├── jquery.min.js │ │ ├── jsFile.js │ │ ├── logInOrNot.js │ │ ├── loggedIn.html │ │ ├── profile.html │ │ ├── profile.js │ │ ├── style.css │ │ └── userLoggedIn.js └── Sandeep Ranjan │ └── Expenso │ ├── .idea │ ├── Expenso.iml │ ├── modules.xml │ └── workspace.xml │ ├── contactIndex.txt │ ├── database.js │ ├── files.js │ ├── mysql.js │ ├── package-lock.json │ ├── package.json │ ├── public_static │ ├── app.html │ ├── css │ │ ├── grid.css │ │ └── media.css │ ├── header-s.jpeg │ ├── header.jpeg │ ├── img │ │ ├── face-1.jpg │ │ ├── face-2.jpg │ │ ├── face-3.jpg │ │ ├── face-4.jpg │ │ ├── face-5.jpeg │ │ ├── face-6.jpg │ │ ├── face-7.png │ │ ├── face-8.jpg │ │ └── mac.jpg │ ├── index.html │ ├── js │ │ ├── jquery.js │ │ ├── script.js │ │ ├── some1.js │ │ └── typed.js │ ├── login │ │ ├── back.jpeg │ │ ├── index.html │ │ └── pexels-photo-531360.jpeg │ ├── send │ │ └── index.html │ ├── signup │ │ ├── back.jpeg │ │ └── index.html │ ├── try.html │ ├── uploads │ │ ├── 0a2f1897832ac80547d3306f8dd327db │ │ ├── Screen Shot 2017-05-11 at 10.09.35 AM.png │ │ ├── e7c257231040e85cc7370b6e9053d3fd │ │ ├── imgonline-com-ua-compressed-uc3aBFE34kU.jpg │ │ └── p26u5Rf.jpg │ └── vendors │ │ ├── animate.min.css │ │ ├── animatedModal.min.js │ │ ├── grid.css │ │ ├── intro.min.js │ │ ├── introjs.min.css │ │ ├── jquery.waypoints.min.js │ │ ├── slick │ │ ├── ajax-loader.gif │ │ ├── config.rb │ │ ├── fonts │ │ │ ├── slick.eot │ │ │ ├── slick.svg │ │ │ ├── slick.ttf │ │ │ └── slick.woff │ │ ├── slick-theme.css │ │ ├── slick-theme.less │ │ ├── slick-theme.scss │ │ ├── slick.css │ │ ├── slick.js │ │ ├── slick.less │ │ ├── slick.min.js │ │ └── slick.scss │ │ └── typed.js │ └── server.js ├── Summer2018 └── Ayush Poddar │ └── Mr-Magnificent.github.io │ ├── README.md │ ├── index.html │ ├── js.js │ ├── style-lg.css │ ├── style-md.css │ └── style.css ├── Winter2018 ├── Dhruva │ ├── Guardian-API │ │ ├── index.html │ │ ├── script.js │ │ └── style.css │ ├── Resume │ │ ├── index.html │ │ └── style.css │ └── TODO │ │ ├── index.html │ │ ├── style.css │ │ └── todo.js ├── Nikita Rai │ ├── Animation │ │ ├── CLOCK.png │ │ ├── index.html │ │ ├── minute.png │ │ ├── second.png │ │ └── wall.jpg │ ├── Portfolio │ │ ├── Nikki.jpeg │ │ ├── abc.js │ │ ├── index.html │ │ ├── radialIndicator.min.js │ │ └── stylin.css │ ├── Resume │ │ ├── Nikki.jpeg │ │ ├── css │ │ │ ├── animate.css │ │ │ ├── animate.min.css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.css │ │ │ ├── font-awesome.min.css │ │ │ └── style.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── index.html │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery.js │ │ │ ├── masonry.js │ │ │ ├── menustick.js │ │ │ ├── modernizr.js │ │ │ └── wow.js │ ├── ToDo List │ │ ├── ToDo.css │ │ ├── ToDo.js │ │ └── index.html │ └── Weather │ │ ├── gm.css │ │ ├── gn.js │ │ └── index.html ├── Praveen │ ├── Resume │ │ ├── .idea │ │ │ ├── Resume.iml │ │ │ ├── modules.xml │ │ │ └── workspace.xml │ │ ├── img.jpg │ │ └── index.html │ └── ToDoList │ │ ├── .idea │ │ ├── ToDoList.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── watcherTasks.xml │ │ └── workspace.xml │ │ ├── background-websites-web.jpg │ │ ├── index.html │ │ ├── style.css │ │ ├── todo.css │ │ └── todoo.js ├── Riya │ ├── ChatBotAPI │ │ ├── index.html │ │ ├── new.js │ │ └── style.css │ ├── ToDoList │ │ ├── index.html │ │ ├── to.css │ │ └── to.js │ └── resume │ │ └── index.html ├── Saksham │ ├── Animation │ │ └── PendulumAnimation.html │ ├── Portfolio and Resume │ │ ├── Portfolio.html │ │ ├── Resume.html │ │ └── portfoliostyle.css │ ├── SakshamTodoList │ │ ├── myToDoList.html │ │ └── myTodoList.js │ └── UniversityApi │ │ ├── UniversityApi.html │ │ └── api.js ├── reads.txt └── shruti │ ├── API │ ├── index.html │ ├── xmlrequest.css │ └── xmlrequest.js │ ├── resume │ ├── index.html │ └── resume.css │ └── todo │ ├── index.html │ ├── new.css │ └── todoup.js └── test └── test.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/.idea/Animation.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/car1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/car1.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/car2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/car2.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/cloud1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/cloud1.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Animation 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/moon.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/mountain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/mountain.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/road.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/road.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Animation/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Animation/sun.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/.idea/Material Portfolio.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/.idea/Materialize Portfolio.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/Home.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/Home.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/dps.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/dps.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/flower.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/flower.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/forest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/forest.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/hel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/hel.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/html5css3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/html5css3.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/image2.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/leaf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/leaf.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/node.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/nsit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/nsit.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/sql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/sql.png -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/toucan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/toucan.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/Responsive Portfolio/wolfy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/AmartyaBiswas/Responsive Portfolio/wolfy.jpg -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/myToDoList/Styling.css: -------------------------------------------------------------------------------- 1 | #long input{ 2 | font-family: "Times New Roman" ; 3 | background: beige; 4 | letter-spacing: 2px; 5 | height: 50px; 6 | width:80%; 7 | margin-bottom: 24px; 8 | font-size: 20px; 9 | padding-left: 10px; 10 | 11 | 12 | border: dotted; 13 | border-color: cyan; 14 | border-bottom-left-radius: 12px; 15 | border-bottom-right-radius: 12px; 16 | border-top-left-radius: 12px; 17 | border-top-right-radius: 12px; 18 | } 19 | 20 | .text{ 21 | display: flex; 22 | font-family: "Times New Roman" ; 23 | letter-spacing: 2px; 24 | height: 50px; 25 | width:60%; 26 | font-size: 38px; 27 | 28 | } 29 | 30 | .checker{ 31 | position: fixed; 32 | width: 30px; 33 | height: 30px; 34 | margin-top: 1rem; 35 | } 36 | 37 | .fa.fa-ban{ 38 | position: fixed; 39 | font-size: 45px; 40 | float: left; 41 | margin-left: 300px; 42 | margin-top: -47px; 43 | } -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/myToDoList/ToDoList.js: -------------------------------------------------------------------------------- 1 | window.onload=function() { 2 | 3 | var inputvalue=document.getElementById('getValue'); 4 | var addtodo=document.getElementById('done'); 5 | var outputvalue=document.getElementById('output'); 6 | 7 | refreshlist(); 8 | 9 | addtodo.onclick=function(){ 10 | 11 | var value=inputvalue.value; 12 | 13 | inputvalue.value=""; 14 | 15 | if(value.length==0)return; 16 | 17 | var obj={ 18 | "task":value, 19 | "done":false 20 | }; 21 | 22 | var todolist=JSON.parse(localStorage.getItem("List")); 23 | if(todolist!=null) 24 | todolist.push(obj); 25 | else 26 | { 27 | todolist=[obj]; 28 | } 29 | 30 | localStorage.setItem("List",JSON.stringify(todolist)); 31 | 32 | refreshlist(); 33 | }; 34 | 35 | } 36 | function strikethrough(el){ 37 | var todolist=JSON.parse(localStorage.getItem("List")); 38 | if(todolist[el.id].done==false){ 39 | todolist[el.id].done=true; 40 | localStorage.setItem("List",JSON.stringify(todolist)); 41 | document.getElementById(el.id).checked=true; 42 | } 43 | else{ 44 | todolist[el.id].done=false; 45 | localStorage.setItem("List",JSON.stringify(todolist)); 46 | document.getElementById(el.id).checked=false; 47 | } 48 | }; 49 | 50 | function delet(el){ 51 | var index=el.id-1000; 52 | var stdata=JSON.parse(localStorage.getItem("List")); 53 | stdata.splice(index,1); 54 | localStorage.setItem("List",JSON.stringify(stdata)); 55 | refreshlist(); 56 | 57 | } 58 | 59 | function refreshlist(){ 60 | var stdata=JSON.parse(localStorage.getItem("List")); 61 | var outputvalue=document.getElementById('output'); 62 | 63 | outputvalue.innerHTML=""; 64 | 65 | if(stdata!=null) 66 | for(var t=0;t" + 73 | "" + 74 | "      "+stdata[t].task+"" + 75 | "" + 76 | "
"; 77 | } 78 | else{ 79 | outputvalue.innerHTML+= 80 | "
" + 81 | "" + 82 | "      "+stdata[t].task+"
" + 83 | "" + 84 | "
"; 85 | 86 | } 87 | 88 | } 89 | } -------------------------------------------------------------------------------- /Autumn2017/AmartyaBiswas/myToDoList/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | List It Down 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | 17 |
18 |
19 |

  To Do List  

20 |
21 |
22 |


23 |
24 |
25 | 26 |
27 |
28 |
29 | 30 |
31 |


32 | 33 |
34 |
35 |
36 | 37 |
38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /Autumn2017/Ankit/ToDo list/list.js: -------------------------------------------------------------------------------- 1 | var taskarray = JSON.parse(localStorage.getItem('data'))||[]; 2 | 3 | window.onload = function () 4 | { 5 | 6 | var taskvalue = document.getElementById('task'); 7 | var btn = document.getElementById('add'); 8 | var list = document.getElementById('list'); 9 | display(); 10 | btn.onclick = function () 11 | { 12 | var task = { 13 | "taskvalue":taskvalue.value, 14 | "done":false, 15 | "displayy" : true, 16 | }; 17 | taskarray.push(task); 18 | localStorage.setItem('data',JSON.stringify(taskarray)); 19 | display(); 20 | }; 21 | 22 | function display() 23 | { 24 | var data =""; 25 | for(var i=0;i' + taskarray[i].taskvalue + '\u00D7 '+ ''; 30 | } 31 | else if(taskarray[i].done === false && taskarray[i].displayy===true) 32 | { 33 | data += '
  • ' + taskarray[i].taskvalue + '\u00D7 '+ '
  • '; 34 | } 35 | taskvalue.value=""; 36 | } 37 | list.innerHTML = data; 38 | 39 | } 40 | 41 | 42 | } 43 | 44 | function check(el) 45 | { 46 | if(taskarray[el.id].done === true) 47 | { 48 | el.style.textDecoration = 'none'; 49 | el.style.color = 'black'; 50 | } 51 | else 52 | { 53 | el.style.textDecoration = 'line-through'; 54 | el.style.color = 'red'; 55 | 56 | } 57 | taskarray[el.id].done = !taskarray[el.id].done; 58 | localStorage.setItem('data' ,JSON.stringify(taskarray)); 59 | } 60 | 61 | 62 | function closee(ee) 63 | { 64 | console.log(taskarray); 65 | taskarray[ee.className].displayy = ! taskarray[ee.className].displayy; 66 | var div = ee.parentElement; 67 | div.style.display = "none"; 68 | localStorage.setItem('data' ,JSON.stringify(taskarray)); 69 | } -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/Portfolio/bg3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/Kawal Preet/Portfolio/bg3.jpg -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/Portfolio/bg6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/Kawal Preet/Portfolio/bg6.jpg -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/Portfolio/foot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/Kawal Preet/Portfolio/foot.jpg -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/Portfolio/porfolio.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Portfolio 5 | 6 | 7 | 8 | 9 | 10 | 11 |
    12 |
    13 |
    14 |

    < Hello/>

    15 |
    16 |
    17 |
    18 |
    19 |
    20 |

    Kawal Preet Kaur

    21 |
    22 |
    23 | 24 |
    25 |
    26 |
    27 |
    Skills :
    28 |
    Web Developer
    29 |
    Coder
    30 |
    Languages :
    31 |
    Java
    32 |
    33 |
    34 |
    35 |
    36 |
    37 |
    38 |

    Project 1

    39 |

    Write something about your project

    40 |
    41 |
    42 |

    Project 2

    43 |

    Write something about your project

    44 |
    45 |
    46 |

    Project 3

    47 |

    Write something about your project

    48 |
    49 |
    50 |

    Project 4

    51 |

    Write something about your project

    52 |
    53 |
    54 |

    Project 5

    55 |

    Write something about your project

    56 |
    57 |
    58 |

    Project 6

    59 |

    Write something about your project

    60 |
    61 |
    62 |
    63 |
    64 |

    Let's Work Together ;-)

    65 |
    66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 |
    79 |
    80 | 81 |
    82 |
    83 |
    84 |
    85 |
    86 | 87 | -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/Portfolio/porfolio.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Portfolio 5 | 6 | 7 | 8 | 9 |
    10 |
    11 |
    12 |
    13 |
    14 |
    15 |
    16 |
    17 | 18 | -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/Portfolio/portimg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/Kawal Preet/Portfolio/portimg.jpg -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/ToDolist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TodoList 6 | 7 | 8 | 9 | 10 | 11 |
    12 |
    13 |

    To-Do List

    14 | 15 | 16 |
    17 |
    18 |
      19 |
      20 |
      21 | 22 | 23 | -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/ToDolist/todolist.css: -------------------------------------------------------------------------------- 1 | 2 | .container 3 | { 4 | height: 100vh; 5 | width:100%; 6 | background-image:url('https://images.pexels.com/photos/159621/open-book-library-education-read-159621.jpeg?h=350&auto=compress&cs=tinysrgb'); 7 | background-repeat: no-repeat; 8 | background-position:contain; 9 | background-size:cover; 10 | } 11 | h1 12 | { 13 | display:block; 14 | font-family:Bell MT; 15 | font-size:400%; 16 | color:white; 17 | margin-top: 0; 18 | text-align:center; 19 | } 20 | li 21 | { 22 | display:inline-block; 23 | width:82.5%; 24 | height:35px; 25 | font-size:190%; 26 | color:white; 27 | padding-left:15px; 28 | } 29 | #task 30 | { 31 | display:inline-block; 32 | width:90%; 33 | height:40px; 34 | border:5px solid #e0ebeb; 35 | background-color:#5c8a8a; 36 | font-size:200%; 37 | color:white; 38 | margin-left:20px; 39 | } 40 | .fa-thumbs-up,.fa-thumbs-down,.fa-trash-o 41 | { 42 | font-size:250%; 43 | } 44 | .fa-thumb-tack 45 | { 46 | font-size:340%; 47 | border:5px solid #e0ebeb; 48 | } 49 | .tasks 50 | { 51 | display:inline-block; 52 | width:60%; 53 | border:5px solid #e0ebeb; 54 | margin:5px 0px 5px 0px; 55 | background-color:#ffeecc 56 | text-align:center; 57 | } 58 | @media only screen and (max-width: 600px){ 59 | h1 60 | { 61 | font-size:300%; 62 | } 63 | header 64 | { 65 | margin:0 auto; 66 | } 67 | li 68 | { 69 | width:100%; 70 | height:25px; 71 | font-size:120%; 72 | padding-left:3px; 73 | border:1px solid #e0ebeb; 74 | } 75 | #task 76 | { 77 | width:75%; 78 | height:20px; 79 | border:2px solid #e0ebeb; 80 | font-size:100%; 81 | } 82 | .fa-thumbs-up,.fa-thumbs-down,.fa-trash-o 83 | { 84 | font-size:100%; 85 | } 86 | .fa-thumb-tack 87 | { 88 | font-size:120%; 89 | border:4px solid #e0ebeb; 90 | } 91 | .tasks 92 | { 93 | display:inline-block; 94 | width:90%; 95 | border:0px; 96 | margin:1px 0px 1px 0px; 97 | } 98 | } 99 | @media only screen and (max-width: 1500px){ 100 | h1 101 | { 102 | font-size:350%; 103 | } 104 | header 105 | { 106 | margin:0 auto; 107 | } 108 | li 109 | { 110 | width:100%; 111 | padding-left:3px; 112 | border:1px solid #e0ebeb; 113 | } 114 | #task 115 | { 116 | width:75%; 117 | height:20px; 118 | border:2px solid #e0ebeb; 119 | font-size:100%; 120 | } 121 | .fa-thumbs-up,.fa-thumbs-down,.fa-trash-o 122 | { 123 | font-size:200%; 124 | } 125 | .fa-thumb-tack 126 | { 127 | font-size:220%; 128 | border:4px solid #e0ebeb; 129 | } 130 | .tasks 131 | { 132 | display:inline-block; 133 | width:90%; 134 | border:0px; 135 | margin:1px 0px 1px 0px; 136 | } 137 | } 138 | -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/ToDolist/todolist2.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | 4 | */ 5 | var taskArray = JSON.parse(localStorage.getItem('data')) || []; 6 | var global={}; 7 | window.onload = function() { 8 | 9 | 10 | 11 | var taskValue = document.getElementById('task'); 12 | var btn = document.getElementById('add'); 13 | var list = document.getElementById('list'); 14 | 15 | display(); 16 | 17 | btn.onclick = function() { 18 | if(taskValue.value==="") 19 | { 20 | window.alert("Task Field can not be empty"); 21 | } 22 | else 23 | { 24 | var task = { 25 | "taskValue": taskValue.value, 26 | "done": false 27 | }; 28 | taskArray.push(task); 29 | localStorage.setItem('data', JSON.stringify(taskArray)); 30 | display(); 31 | } 32 | }; 33 | 34 | function display() { 35 | var data =""; 36 | list.innerHTML = ""; 37 | for(var i=0 ; i< taskArray.length; i++) { 38 | if(taskArray[i].done === true) { 39 | data += '
    • ' + taskArray[i].taskValue + '
    • '; 40 | } 41 | else { 42 | data += '
    • ' + taskArray[i].taskValue + '
    • '; 43 | } 44 | } 45 | list.innerHTML = data; 46 | } 47 | global.display = display; 48 | }; 49 | 50 | function isDone(i) 51 | { 52 | if(taskArray[parseInt(i)].done === false) { 53 | var el = document.getElementById(i); 54 | el.style.backgroundColor = "#adebad"; 55 | el.style.textDecoration = 'line-through'; 56 | } 57 | taskArray[parseInt(i)].done = true; 58 | localStorage.setItem('data', JSON.stringify(taskArray)); 59 | display(); 60 | }; 61 | 62 | function isNotDone(i) 63 | { 64 | if(taskArray[i].done === true) { 65 | var el = document.getElementById(i); 66 | el.style.backgroundColor = "#85adad"; 67 | el.style.textDecoration = 'none'; 68 | } 69 | taskArray[i].done = false; 70 | localStorage.setItem('data', JSON.stringify(taskArray)); 71 | display(); 72 | } 73 | function del(id) 74 | { 75 | taskArray.splice(parseInt(id),1); 76 | localStorage.setItem('data',JSON.stringify(taskArray)); 77 | global.display(); 78 | } -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/WeatherReport/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Wether Conditions 6 | 7 | 8 | 9 | 10 | 11 | 12 |
      13 |
      14 |
      15 |

      Weather Forecast

      16 |
      17 |
      18 |
      19 |
      20 |
      21 |
      22 |
      23 |
      24 |
      25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 |
      55 |
      56 |
      57 |

      58 |
        59 |
        60 |
        61 |
        62 |
        63 | 64 | 68 | 69 | 72 | 73 | 85 | 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /Autumn2017/Kawal Preet/WeatherReport/wether.css: -------------------------------------------------------------------------------- 1 | #container 2 | { 3 | background-color:#e6ffff; 4 | height:100%; 5 | } 6 | header 7 | { 8 | display:block; 9 | color:#8fffe6; 10 | background-color:black; 11 | margin:0px 0px 0px 0px; 12 | padding-top:3%; 13 | padding-bottom:3%; 14 | 15 | } 16 | #head 17 | { 18 | color:#8fffe6; 19 | font-size:240%; 20 | text-align:center; 21 | margin:0 auto; 22 | } 23 | .maps 24 | { 25 | position:relative; 26 | display:inline-block; 27 | width:58%; 28 | height:80vh; 29 | margin:0 auto; 30 | } 31 | .info 32 | { 33 | display:inline-block; 34 | width:42%; 35 | height:80vh; 36 | float: right; 37 | } 38 | #map { 39 | border:5px solid #ccffff; 40 | height: 500px; 41 | width: 95%; 42 | margin:0 auto; 43 | margin-top:30px; 44 | margin-bottom:30px; 45 | } 46 | h2 47 | { 48 | text-align:center; 49 | margin-top: -3%; 50 | color:grey; 51 | font-size:200%; 52 | padding: 2px; 53 | font-family: 'Pacifico', cursive; 54 | font-weight: normal; 55 | } 56 | #list 57 | { 58 | color:#00b3b3; 59 | font-size:150%; 60 | margin:0 auto; 61 | } 62 | #icon 63 | { 64 | display:inline-block; 65 | margin-left: 35%; 66 | margin-top: 7%; 67 | } 68 | 69 | 70 | @media only screen and (max-width:650px) 71 | { 72 | h2 73 | { 74 | margin:0 auto; 75 | } 76 | #icon 77 | { 78 | margin-left:12%; 79 | } 80 | .info 81 | { 82 | width:100%; 83 | height:100vh; 84 | order:2; 85 | } 86 | .maps 87 | { 88 | width:100%; 89 | order:1; 90 | } 91 | } -------------------------------------------------------------------------------- /Autumn2017/Nilay/README.md: -------------------------------------------------------------------------------- 1 | ## [Blog](https://euler16.github.io) 2 | Personal blog about Machine Learning, Mathematics. 3 | 4 | ## [WeatherApp](https://github.com/euler16/WeatherApp) 5 | Client side usage of DarkSky weather API and Google Maps API. 6 | 7 | ## [Tweeper](https://github.com/euler16/Tweeper) 8 | Simple Desktop application for Tweeting quickly, uses [Electron.js](https://electron.atom.io) -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | /.DS_Store -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/README.md: -------------------------------------------------------------------------------- 1 | # Portfolio 2 | 3 | This is my portfolio which has been built using HTML, CSS and Bootstrap. 4 | Javascript and responsive design have also been added to have a good look and feel. 5 | 6 | View the page -> 7 | coordinator-bird-67045.bitballoon.com 8 | -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/css/access.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | acess - specifiers 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/css/access.js: -------------------------------------------------------------------------------- 1 | //operators dot and square brackets 2 | // window var is available already, we define others 3 | 4 | var global ={}; 5 | (function(){ 6 | 'use-strict'; 7 | 8 | function public1(){ 9 | console.log("Publicly available 1"); 10 | } 11 | function public2(){ 12 | console.log("Publicly available 2"); 13 | } 14 | function private1(){ 15 | console.log("Privately available 1"); 16 | } 17 | function private2(){ 18 | console.log("Privately available 2"); 19 | } 20 | 21 | var exposed = { 22 | "public1" :public1, 23 | "public2" :public2 24 | } 25 | window.exposed = exposed; 26 | global.exposed = exposed; 27 | })(); 28 | 29 | console.log(global.exposed); 30 | console.log(global['exposed']['public1']()); 31 | 32 | 33 | //inside double quotes, single quotes are allowed and vice versa 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | var obj= { 42 | "task":"creatingvar","done":true 43 | } 44 | //undefined 45 | obj 46 | //{task: "creatingvar", done: true} 47 | // objects are accessed using a .(dot) 48 | obj.task 49 | //"creatingvar" 50 | 51 | //another way of accessing objects 52 | // particularly useful when we want to have keys as ints e.g. obj.1 will not work obj['1'] will. 53 | obj['task'] 54 | //"creatingvar" 55 | obj['task']="abcd" 56 | //"abcd" -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/awards2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/awards2.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon1.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon2.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon3.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon4.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/balloon5.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/bgblue.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/bgblue.jpeg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/callout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/callout.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/cplus1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/cplus1.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/cplus2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/cplus2.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/cplus3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/cplus3.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/csi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/csi.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance1.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance2.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance3.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/dance4.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/dps.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/dps.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/girl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/girl.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/kvpy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/kvpy.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/nsit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/nsit.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/ntse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/ntse.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/projects.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/projects.jpg -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop1.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop2.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop3.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop4.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/NupurBaghel/portfolio-bootstrap/img/shop5.png -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/portfolio-bootstrap/js/stylish-portfolio.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/) 3 | * Copyright 2013-2017 Start Bootstrap 4 | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) 5 | */ 6 | 7 | (function($) { 8 | "use strict"; // Start of use strict 9 | 10 | // Closes the sidebar menu 11 | $("#menu-close").click(function(e) { 12 | e.preventDefault(); 13 | $("#sidebar-wrapper").toggleClass("active"); 14 | }); 15 | 16 | // Opens the sidebar menu 17 | $("#menu-toggle").click(function(e) { 18 | e.preventDefault(); 19 | $("#sidebar-wrapper").toggleClass("active"); 20 | }); 21 | 22 | // Smooth scrolling using jQuery easing 23 | $('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function() { 24 | if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { 25 | var target = $(this.hash); 26 | target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); 27 | if (target.length) { 28 | $('html, body').animate({ 29 | scrollTop: target.offset().top 30 | }, 1000, "easeInOutExpo"); 31 | return false; 32 | } 33 | } 34 | }); 35 | 36 | // Closes responsive menu when a scroll trigger link is clicked 37 | $('.js-scroll-trigger').click(function() { 38 | $("#sidebar-wrapper").removeClass("active"); 39 | }); 40 | 41 | //#to-top button appears after scrolling 42 | var fixed = false; 43 | $(document).scroll(function() { 44 | if ($(this).scrollTop() > 250) { 45 | if (!fixed) { 46 | fixed = true; 47 | $('#to-top').show("slow", function() { 48 | $('#to-top').css({ 49 | position: 'fixed', 50 | display: 'block' 51 | }); 52 | }); 53 | } 54 | } else { 55 | if (fixed) { 56 | fixed = false; 57 | $('#to-top').hide("slow", function() { 58 | $('#to-top').css({ 59 | display: 'none' 60 | }); 61 | }); 62 | } 63 | } 64 | }); 65 | 66 | })(jQuery); // End of use strict 67 | 68 | // Disable Google Maps scrolling 69 | // See http://stackoverflow.com/a/25904582/1607849 70 | // Disable scroll zooming and bind back the click event 71 | var onMapMouseleaveHandler = function(event) { 72 | var that = $(this); 73 | that.on('click', onMapClickHandler); 74 | that.off('mouseleave', onMapMouseleaveHandler); 75 | that.find('iframe').css("pointer-events", "none"); 76 | } 77 | var onMapClickHandler = function(event) { 78 | var that = $(this); 79 | // Disable the click handler until the user leaves the map area 80 | that.off('click', onMapClickHandler); 81 | // Enable scrolling zoom 82 | that.find('iframe').css("pointer-events", "auto"); 83 | // Handle the mouse leave event 84 | that.on('mouseleave', onMapMouseleaveHandler); 85 | } 86 | // Enable map zooming with mouse scroll when the user clicks the map 87 | $('.map').on('click', onMapClickHandler); 88 | -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/todolist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | basic todo list 5 | 6 | 7 | 8 | 9 | 10 |
        11 |

        My Todolist

        12 |

        Keep all your activities together!

        13 |
        14 | 15 | 16 |
        17 |
        18 |
          19 |
          20 | 21 | 22 | -------------------------------------------------------------------------------- /Autumn2017/NupurBaghel/todolist/todo.css: -------------------------------------------------------------------------------- 1 | .jumbotron{ 2 | margin-top: 1%; 3 | } 4 | 5 | .update{ 6 | width: 84%; 7 | padding: .75rem .75rem; 8 | margin-bottom: 2px; 9 | border: 1px solid rgba(0,0,0,.125); 10 | } 11 | 12 | #task{ 13 | width: 84%; 14 | padding: .75rem .75rem; 15 | margin-bottom: 2px; 16 | border: 1px solid rgba(0,0,0,.125); 17 | } 18 | 19 | #add{ 20 | width: 15%; 21 | padding: .75rem .75rem; 22 | margin-bottom: 2px; 23 | border: 1px solid rgba(0,0,0,.125); 24 | } 25 | 26 | .fa{ 27 | font-size: 1rem !important; 28 | font-weight: 400 !important; 29 | } 30 | 31 | .list-group-item{ 32 | margin-top: 5px; 33 | } 34 | .list-inline-item{ 35 | width: ; 36 | } 37 | 38 | @media only screen and (max-width: 535px){ 39 | #task{ 40 | width: 100%; 41 | } 42 | #add{ 43 | padding: .65rem .65rem; 44 | width: 100%; 45 | } 46 | } 47 | 48 | } 49 | 50 | /*.delete , .markdone { 51 | display: inline-block ; 52 | width: 20%; 53 | } 54 | */ -------------------------------------------------------------------------------- /Autumn2017/PaaviniNanda/Calculator/calculator.css: -------------------------------------------------------------------------------- 1 | .flexx{ 2 | display: flex; 3 | flex-wrap: wrap; 4 | } 5 | 6 | .container{ 7 | 8 | margin:0 auto; 9 | margin-top: 20px; 10 | } 11 | 12 | .btn{ 13 | width:60px; 14 | 15 | } 16 | 17 | .textStyling{ 18 | height:80px; 19 | border: groove; 20 | font-size: x-large; 21 | padding-top: 18px; 22 | } 23 | 24 | .display,.buttons{ 25 | width:360px; 26 | margin:0 auto; 27 | } 28 | 29 | .screenn{ 30 | width: 300px; 31 | background-color:lightgrey; 32 | } 33 | 34 | .cButton{ 35 | width:60px; 36 | } 37 | 38 | .zero{ 39 | width: 120px; 40 | } 41 | 42 | .btn-light:hover{ 43 | border-color: inherit; 44 | cursor: pointer; 45 | } -------------------------------------------------------------------------------- /Autumn2017/PaaviniNanda/Calculator/calculator.js: -------------------------------------------------------------------------------- 1 | var textt=""; 2 | var screen; 3 | 4 | window.onload =function () { 5 | screen = document.getElementById('screen'); 6 | }; 7 | 8 | 9 | function disp(button) { 10 | console.log(button.id); 11 | textt = textt + button.id; 12 | console.log(textt); 13 | screenDisp(); 14 | }; 15 | 16 | 17 | function screenDisp() { 18 | screen.innerHTML = textt; 19 | }; 20 | 21 | 22 | function calc() { 23 | var ans=0; 24 | for(var i = 3 ; i < textt.length ;i ++){ 25 | ans = parseInt(ans * 10) + parseInt(textt[i]); 26 | } 27 | if(textt[0]=='l' && textt[1]=='o'){ 28 | ans = (Math.log(ans) * 1.0) / Math.log(10); 29 | } 30 | else if(textt[0]=='l' && textt[1]=='n'){ 31 | ans=0; 32 | for(var i = 2 ; i < textt.length ;i++){ 33 | ans = parseInt(ans * 10) + parseInt(textt[i]); 34 | } 35 | console.log(ans + "no"); 36 | ans = Math.log(ans); 37 | 38 | } 39 | else if(textt[0]=='s'){ 40 | ans=Math.sin(ans); 41 | } 42 | else if(textt[0]=='c'){ 43 | ans=Math.cos(ans); 44 | } 45 | else if(textt[0]=='t'){ 46 | ans=Math.tan(ans); 47 | } 48 | else if(textt[0]=='√'){ 49 | for(var i = 1 ; i < textt.length ;i ++){ 50 | ans = parseInt(ans * 10) + parseInt(textt[i]); 51 | } 52 | ans= Math.sqrt(ans); 53 | } 54 | else{ 55 | var num1=0; 56 | var num2=0; 57 | var i=0; 58 | while(i < textt.length && textt[i]!='+' && textt[i]!='-' && textt[i]!='/' && textt[i]!='%' && textt[i]!='^' && textt[i]!='*'){ 59 | num1 = parseInt(num1 * 10) + parseInt(textt[i]); 60 | i++; 61 | } 62 | var op= textt[i]; 63 | i++; 64 | for(; i < textt.length ;i ++){ 65 | num2 = parseInt(num2 * 10 ) + parseInt(textt[i]); 66 | } 67 | if(op=='+') { 68 | ans = num1 + num2; 69 | } 70 | else if(op=='-') { 71 | ans = num1 - num2; 72 | } 73 | else if(op=='*') { 74 | ans = num1 * num2; 75 | } 76 | else if(op=='%') { 77 | ans = num1 % num2; 78 | } 79 | else if(op=='^') { 80 | ans = Math.pow(num1, num2); 81 | } 82 | else if(op=='/') { 83 | ans = num1 / num2; 84 | } 85 | else{ 86 | ans=num1; 87 | } 88 | 89 | } 90 | textt=ans.toString(); 91 | screenDisp(); 92 | }; 93 | 94 | function clearr() { 95 | //console.log('called'); 96 | textt=""; 97 | console.log(textt); 98 | screenDisp(); 99 | }; -------------------------------------------------------------------------------- /Autumn2017/PaaviniNanda/Portfolio/bg2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Autumn2017/PaaviniNanda/Portfolio/bg2.jpg -------------------------------------------------------------------------------- /Autumn2017/PaaviniNanda/ToDoList/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | To Do List 7 | 8 | 9 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
          67 |
          68 |
          69 | ADD ITEM 70 |
          71 |
          72 |
          73 | 74 |
          75 |
          76 | Add 77 |
          78 |
          79 | 80 |
          81 |
          82 | TODO 83 |
          84 |
          85 |
          86 |
          87 |
          88 |
          89 | COMPLETED 90 |
          91 |
          92 |
          93 |
          94 | 95 |
          96 | 97 | 100 | 101 | -------------------------------------------------------------------------------- /Autumn2017/PaaviniNanda/ToDoList/toDoList.js: -------------------------------------------------------------------------------- 1 | var taskArray; 2 | var funcOut; 3 | 4 | window.onload= function () { 5 | taskArray = JSON.parse(localStorage.getItem('data')) || [] ; 6 | var taskValue=document.getElementById('task'); 7 | var btn=document.getElementById('add'); 8 | var list=document.getElementById('list'); 9 | var list2=document.getElementById('list2'); 10 | 11 | display(); 12 | 13 | btn.onclick = function (){ 14 | var task={ 15 | taskValue : taskValue.value, 16 | 'done' : false , 17 | 18 | } 19 | taskArray.push(task); 20 | console.log(task.taskValue); 21 | display(); 22 | } 23 | 24 | function display(){ 25 | var data = ""; 26 | var data2 = ""; 27 | list.innerHTML=""; 28 | for(var i=0;i
          ' ; 32 | } 33 | else{ 34 | data += '
        • ' ; 35 | } 36 | } 37 | list.innerHTML = data; 38 | list2.innerHTML = data2; 39 | localStorage.setItem('data',JSON.stringify(taskArray)); 40 | } 41 | funcOut=display; 42 | } 43 | 44 | function deletee(el){ 45 | console.log('del calle'); 46 | console.log(taskArray); 47 | console.log(el); 48 | if(taskArray.length>1){ 49 | var temp=taskArray.splice(parseInt(el)) ; 50 | console.log(temp); 51 | for(var i=1;i'; 33 | 34 | for(var i=0;i' + taskArray[i].taskValue +' '; 38 | 39 | // var cross=document.getElementById(i); 40 | // cross.appendChild(span); 41 | // data += cross; 42 | 43 | } 44 | else { 45 | // data += '
        • ' + taskArray[i].taskValue + '
        • '; 46 | data += '
        • ' + taskArray[i].taskValue + '
        • '; 47 | 48 | // cross.appendChild(span); 49 | // data += cross; 50 | } 51 | 52 | list.innerHTML= data; 53 | } 54 | } 55 | 56 | function check(el) { 57 | 58 | if(taskArray[el.id].done === true) { 59 | el.style.textDecoration = 'none'; 60 | } 61 | else { 62 | el.style.textDecoration = 'line-through'; 63 | } 64 | 65 | 66 | 67 | taskArray[el.id].done = !taskArray[el.id].done; 68 | localStorage.setItem('data', JSON.stringify(taskArray)); 69 | console.log(taskArray); 70 | } 71 | 72 | function remove(obj){ 73 | var index=obj.id.toString(); 74 | console.log(index); 75 | var i=index.substr(1,1); 76 | console.log(i); 77 | i=parseInt(i); 78 | taskArray.splice(i,1); 79 | display(); 80 | localStorage.setItem('data', JSON.stringify(taskArray)); 81 | 82 | } 83 | 84 | -------------------------------------------------------------------------------- /Autumn2017/Parul/Todo List/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO 6 | 65 | 66 | 67 |
          68 |

          TODO LIST

          69 |
          70 | 71 | 72 |
          73 | 74 |
          75 |
            76 | 77 |
          78 | 79 | 80 | -------------------------------------------------------------------------------- /Autumn2017/RajatSharma/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | to-do-list 6 | 7 | 8 | 9 |
          10 |

          To-Do-List

          11 | 12 |
          13 | 14 | Add 15 |
          16 |
          17 | 18 |
            19 | 20 |
          21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Autumn2017/RajatSharma/js.js: -------------------------------------------------------------------------------- 1 | // Create a "close" button and append it to each list item 2 | var myNodelist = document.getElementsByTagName("LI"); 3 | var i; 4 | for (i = 0; i < myNodelist.length; i++) { 5 | var span = document.createElement("SPAN"); 6 | var txt = document.createTextNode("\u00D7"); 7 | span.className = "close"; 8 | span.appendChild(txt); 9 | myNodelist[i].appendChild(span); 10 | } 11 | 12 | // Click on a close button to hide the current list item 13 | var close = document.getElementsByClassName("close"); 14 | var i; 15 | for (i = 0; i < close.length; i++) { 16 | close[i].onclick = function() { 17 | var div = this.parentElement; 18 | div.style.display = "none"; 19 | } 20 | } 21 | 22 | // Add a "checked" symbol when clicking on a list item 23 | var list = document.querySelector('ul'); 24 | list.addEventListener('click', function(ev) { 25 | if (ev.target.tagName === 'LI') { 26 | ev.target.classList.toggle('checked'); 27 | } 28 | }, false); 29 | 30 | // Create a new list item when clicking on the "Add" button 31 | function newElement() { 32 | var li = document.createElement("li"); 33 | var inputValue = document.getElementById("myInput").value; 34 | var t = document.createTextNode(inputValue); 35 | li.appendChild(t); 36 | if (inputValue === '') { 37 | alert("You must write something!"); 38 | } else { 39 | document.getElementById("myUL").appendChild(li); 40 | } 41 | document.getElementById("myInput").value = ""; 42 | 43 | var span = document.createElement("SPAN"); 44 | var txt = document.createTextNode("\u00D7"); 45 | span.className = "close"; 46 | span.appendChild(txt); 47 | li.appendChild(span); 48 | 49 | for (i = 0; i < close.length; i++) { 50 | close[i].onclick = function() { 51 | var div = this.parentElement; 52 | div.style.display = "none"; 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /Autumn2017/RajatSharma/style.css: -------------------------------------------------------------------------------- 1 | /* Include the padding and border in an element's total width and height */ 2 | * { 3 | box-sizing: border-box; 4 | } 5 | html 6 | { 7 | background-color: #424242; 8 | } 9 | 10 | 11 | /* Remove margins and padding from the list */ 12 | ul { 13 | margin: 0; 14 | padding: 0; 15 | } 16 | 17 | /* Style the list items */ 18 | ul li { 19 | cursor: pointer; 20 | position: relative; 21 | padding: 12px 8px 12px 40px; 22 | background: #eee; 23 | font-size: 18px; 24 | transition: 0.2s; 25 | 26 | /* make the list items unselectable */ 27 | -webkit-user-select: none; 28 | -moz-user-select: none; 29 | -ms-user-select: none; 30 | user-select: none; 31 | } 32 | 33 | /* Set all odd list items to a different color (zebra-stripes) */ 34 | ul li:nth-child(odd) { 35 | background: #f9f9f9; 36 | } 37 | 38 | /* Darker background-color on hover */ 39 | ul li:hover { 40 | background: #ddd; 41 | } 42 | 43 | /* When clicked on, add a background color and strike out text */ 44 | ul li.checked { 45 | background: #888; 46 | color: #fff; 47 | text-decoration: line-through; 48 | } 49 | 50 | /* Add a "checked" mark when clicked on */ 51 | ul li.checked::before { 52 | content: ''; 53 | position: absolute; 54 | border-color: #fff; 55 | border-style: solid; 56 | border-width: 0 2px 2px 0; 57 | top: 10px; 58 | left: 16px; 59 | transform: rotate(45deg); 60 | height: 15px; 61 | width: 7px; 62 | } 63 | 64 | /*!* Style the close button *!*/ 65 | .close { 66 | position: absolute; 67 | right: 0; 68 | top: 0; 69 | padding: 12px 16px 12px 16px; 70 | } 71 | 72 | .close:hover { 73 | background-color: #f44336; 74 | color: white; 75 | } 76 | 77 | /* Style the header */ 78 | .header { 79 | background-color: #66bb6a; 80 | padding: 30px 40px; 81 | color: white; 82 | text-align: center; 83 | } 84 | 85 | /* Clear floats after the header */ 86 | .header:after { 87 | content: ""; 88 | display: table; 89 | clear: both; 90 | } 91 | 92 | /* Style the input */ 93 | input { 94 | border: none; 95 | width: 75%; 96 | padding: 10px; 97 | float: left; 98 | font-size: 16px; 99 | margin: 0%; 100 | } 101 | 102 | /* Style the "Add" button */ 103 | .addBtn { 104 | padding: 10px; 105 | width: 25%; 106 | background: #d9d9d9; 107 | color: #555; 108 | float: left; 109 | text-align: center; 110 | font-size: 16px; 111 | cursor: pointer; 112 | transition: 0.3s; 113 | } 114 | 115 | .addBtn:hover { 116 | background-color: #bbb; 117 | } -------------------------------------------------------------------------------- /Autumn2017/Shaily/ToDoList/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | To-Do-List 6 | 7 | 8 | 9 | 120 | 121 | 122 | 123 |
          124 | 125 | 126 |
          127 | 128 |
          129 |
            130 |
            131 | 132 | 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /Autumn2017/Shaily/ToDoList/todo.js: -------------------------------------------------------------------------------- 1 | var taskarray=JSON.parse(localStorage.getItem('data'))||[]; 2 | 3 | window.onload=function () { 4 | var taskvalue = document.getElementById('task'); 5 | var btn = document.getElementById('add'); 6 | var list = document.getElementById('list'); 7 | 8 | display(); 9 | 10 | btn.onclick=function () { 11 | var task={ 12 | 'taskvalue': taskvalue.value, 13 | 'done': false 14 | } 15 | 16 | taskarray.push(task); 17 | localStorage.setItem('data', JSON.stringify(taskarray)); 18 | display(); 19 | 20 | }; 21 | 22 | function remove() { 23 | var id = this.getAttribute('id'); 24 | 25 | taskarray.splice(id, 1); 26 | localStorage.setItem('data', JSON.stringify(taskarray)); 27 | 28 | display(); 29 | 30 | } 31 | 32 | function display() { 33 | var data=''; 34 | for(var i=0;i'+taskarray[i].taskvalue +''; 37 | } 38 | else { 39 | data += '
          • ' + taskarray[i].taskvalue+'
          • '; 40 | } 41 | } 42 | 43 | list.innerHTML = data; 44 | 45 | var buttons = document.getElementsByClassName('remove'); 46 | for (var i=0; i < buttons.length; i++) { 47 | buttons[i].addEventListener('click', remove); 48 | }; 49 | 50 | } 51 | } 52 | 53 | 54 | 55 | function check(el) { 56 | if(taskarray[el.id].done===true){ 57 | el.style.textDecoration = 'none'; 58 | }else{ 59 | el.style.textDecoration = 'line-through'; 60 | } 61 | taskarray[el.id].done = !taskarray[el.id].done; 62 | localStorage.setItem('data', JSON.stringify(taskarray)); 63 | console.log(taskarray); 64 | } 65 | 66 | -------------------------------------------------------------------------------- /Autumn2017/Shaily/portfolio/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Autumn2017/Shaily/portfolio/.idea/portfolio.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Autumn2017/Tanuj/Portfolio/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/images/arrow.jpg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/images/cd-arrows.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/images/fabian-irsara-92113-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Sarthak Goel/Portfolio/images/fabian-irsara-92113-unsplash.jpg -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/images/modified.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Sarthak Goel/Portfolio/images/modified.jpg -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/images/original.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Sarthak Goel/Portfolio/images/original.jpg -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Sarthak Goel 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
            20 |
            21 |

            PORTFOLIO

            22 |
            23 |
            24 |
            25 | Original Image 26 | Who I am 27 |
            28 | 29 | Modified Image 30 | What I do 31 |
            32 | 33 | 34 |
            35 |
            36 |
            37 |

            38 |
            39 |
            40 |
            41 |
            42 |
            43 |
            44 | 45 |
            46 | 47 |
            48 | 49 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/landing_page.css: -------------------------------------------------------------------------------- 1 | /* #background{ 2 | position :absolute; 3 | width:98%; 4 | height:720px; 5 | } */ 6 | .container{ 7 | display: flex; 8 | flex-wrap: wrap; 9 | } 10 | body{ 11 | background-color: #000033; 12 | } 13 | .container{ 14 | border-radius:20% 15 | } 16 | .jumbotron>h1{ 17 | font-size: 2em; 18 | } 19 | #box{ 20 | position:absolute; 21 | z-index: 100; 22 | top:180px; 23 | left:90px; 24 | color:white; 25 | } 26 | #result{ 27 | position:absolute; 28 | z-index: 100; 29 | top:300px; 30 | left:980px; 31 | color:white; 32 | font-size: 1.5em; 33 | /* background-color:#ccccff; */ 34 | /* border-radius: 10%; */ 35 | height:70px; 36 | padding-top: 25px; 37 | padding-left: 10px; 38 | padding-right: 10px; 39 | } 40 | #box2,#box3{ 41 | position:absolute; 42 | z-index: 50; 43 | top:400px; 44 | left:980px; 45 | } 46 | #box3{ 47 | top: 400px; 48 | left:1120px; 49 | } 50 | #photo{ 51 | width:150px; 52 | height:150px; 53 | border-radius:50%; 54 | border: 5px solid white; 55 | 56 | } 57 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/landing_page.js: -------------------------------------------------------------------------------- 1 | 2 | var i = 0; 3 | var txt = 'HI , I AM SARTHAK GOEL!'; /* The text */ 4 | var speed = 200; /* The speed/duration of the effect in milliseconds */ 5 | 6 | function typeWriter() { 7 | 8 | //audioElement.play(); 9 | if (i < txt.length) { 10 | document.getElementById("result").innerHTML += txt.charAt(i); 11 | 12 | //audioElement.pause(); 13 | setTimeout(typeWriter, speed); 14 | i++; 15 | } 16 | 17 | 18 | if(i==txt.length) 19 | { 20 | 21 | var btn=document.createElement('a'); 22 | btn.className="btn btn-success"; 23 | btn.href="portfolio.html"; 24 | btn.id="know"; 25 | btn.innerHTML="Know More"; 26 | document.body.appendChild(btn); 27 | document.getElementById('box2').appendChild(btn); 28 | var btn2=document.createElement('a'); 29 | btn2.className="btn btn-success"; 30 | btn2.href="resume.html"; 31 | btn2.innerHTML="Download Resume"; 32 | document.body.appendChild(btn2); 33 | document.getElementById('box3').appendChild(btn2); 34 | i++; 35 | } 36 | } 37 | setTimeout(typeWriter,1000); 38 | // function but(){ 39 | // 40 | // } 41 | // setTimeout(but,6000); 42 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/portfolio.js: -------------------------------------------------------------------------------- 1 | 2 | var i = 0; 3 | function change() { 4 | 5 | function getRandomColor() { 6 | var letters = '0123456789DEF'.split(''); 7 | var color = '#'; 8 | for (var i = 0; i < 6; i++ ) { 9 | color += letters[Math.floor(Math.random() * 13)]; 10 | } 11 | return color; 12 | } 13 | 14 | var doc = document.getElementById("background"); 15 | var color = ["#030d1c", "#00050c", "#091321", "#021e44"]; 16 | doc.style.backgroundColor = color[i]; 17 | i = (i + 1) % color.length; 18 | } 19 | setInterval(change, 500); 20 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v2.0 | 20110126 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, menu, nav, section, main { 29 | display: block; 30 | } 31 | body { 32 | line-height: 1; 33 | } 34 | ol, ul { 35 | list-style: none; 36 | } 37 | blockquote, q { 38 | quotes: none; 39 | } 40 | blockquote:before, blockquote:after, 41 | q:before, q:after { 42 | content: ''; 43 | content: none; 44 | } 45 | table { 46 | border-collapse: collapse; 47 | border-spacing: 0; 48 | } 49 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/resume.css: -------------------------------------------------------------------------------- 1 | html,body{ 2 | background-color:#000a19; 3 | font-size: 95%; 4 | font-family: "Open Sans", sans-serif; 5 | } 6 | 7 | .container{ 8 | display: flex; 9 | flex-wrap:wrap; 10 | justify-content: center; 11 | border: 5px solid black; 12 | max-width: 980px; 13 | margin:0 auto; 14 | background-color: white; 15 | 16 | } 17 | .container1{ 18 | 19 | width:100%; 20 | display: flex; 21 | flex-wrap: wrap; 22 | border:1px solid white; 23 | 24 | } 25 | .containier2{ 26 | width:100%; 27 | display: flex; 28 | flex-wrap: wrap; 29 | margin-left: 5px; 30 | 31 | } 32 | .box:nth-child(3)>.box{ 33 | border:0px; 34 | } 35 | .container2>.box{ 36 | width: 49.5%; 37 | border: 1px solid white; 38 | max-height:500px; 39 | background-color: #798ca8; 40 | /* padding:px; */ 41 | } 42 | .container1>.box{ 43 | border:0px; 44 | width:100%; 45 | border: 1px solid green; 46 | background-color: #466087; 47 | color:white; 48 | } 49 | h1,h3,h4{ 50 | font-family: 'Audiowide', cursive; 51 | font-weight: bold; 52 | color:white; 53 | } 54 | 55 | img 56 | {width: 80px; 57 | height: 80px; 58 | border-radius: 50%; 59 | -webkit-border-radius: 50%; 60 | -moz-border-radius: 50%; 61 | -o-border-radius: 50%; 62 | border: 5px solid black; 63 | margin-right: 30px; 64 | margin-bottom: 50px;} 65 | #icon{ 66 | text-shadow: 1px 1px 1px #ccc; 67 | font-size: 1.5em; 68 | color:#010e23; 69 | } 70 | #myimg,#profiles{ 71 | display:flex; 72 | flex-wrap: wrap; 73 | justify-content:center; 74 | 75 | } 76 | .ip{ 77 | background-color: #466087; 78 | } 79 | @media(max-width:900px){ 80 | .container2{ 81 | display: flex; 82 | flex-wrap:wrap; 83 | } 84 | .conatiner2>.box{ 85 | width:49%; 86 | } 87 | /* img{ 88 | position:relative; 89 | top:20px; 90 | left:200px; 91 | } 92 | #profiles{ 93 | padding-left: 170px; 94 | } */ 95 | #Interests,#int{ 96 | display:flex; 97 | flex-wrap:wrap; 98 | justify-content:center; 99 | margin-top:10px; 100 | } 101 | #int{ 102 | margin-top:-15px; 103 | } 104 | } 105 | @media(min-width:900px){ 106 | .container{ 107 | display:flex; 108 | flex-wrap:wrap; 109 | } 110 | .container1{ 111 | width:29%; 112 | display: flex; 113 | flex-wrap: wrap; 114 | } 115 | .container2{ 116 | display:flex; 117 | flex-wrap: wrap; 118 | width:70%; 119 | height:1024px; 120 | margin-left: 2px; 121 | } 122 | .box:nth-child(3)>.box{ 123 | border:0px; 124 | } 125 | .container1>.box{ 126 | border:0px; 127 | } 128 | #Interests,#int{ 129 | display:flex; 130 | flex-wrap:wrap; 131 | justify-content:center; 132 | margin-top:20px; 133 | } 134 | #int{ 135 | margin-top:-15px; 136 | } 137 | /* img{ 138 | position:relative; 139 | top:20px; 140 | left:100px; 141 | } */ 142 | 143 | } 144 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/thankyou.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Thank You 6 | 7 | 8 | 9 | 10 | 11 | 12 |
            13 |
            14 | 15 |
            16 |
            17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/thankyou.js: -------------------------------------------------------------------------------- 1 | window.onload=function(){ 2 | var ele=document.createElement('h1'); 3 | var ele2=document.createElement('p'); 4 | var text=window.location.search; 5 | var text2="I will get back to you soon!"; 6 | ele2.innerHTML=text2; 7 | ele.innerHTML="Thank You "+ (text.split('=')[1]).split(/[^A-Za-z]/)[0]+" !"; 8 | var thankyou=document.getElementById('thankyou'); 9 | document.body.appendChild(ele); 10 | document.body.appendChild(ele2); 11 | thankyou.appendChild(ele); 12 | thankyou.appendChild(ele2); 13 | //result.appendChild(ele); 14 | // var value=inp.value; 15 | // document.getElementById('result').innerHTML=value; 16 | } 17 | // console.log(inp); 18 | // } 19 | -------------------------------------------------------------------------------- /Sarthak Goel/Portfolio/typewriter-1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Sarthak Goel/Portfolio/typewriter-1.mp3 -------------------------------------------------------------------------------- /Sarthak Goel/Resume/resume.css: -------------------------------------------------------------------------------- 1 | html,body{ 2 | background-color:#000a19; 3 | font-size: 95%; 4 | font-family: "Open Sans", sans-serif; 5 | } 6 | 7 | .container{ 8 | display: flex; 9 | flex-wrap:wrap; 10 | justify-content: center; 11 | border: 5px solid black; 12 | max-width: 980px; 13 | margin:0 auto; 14 | background-color: white; 15 | 16 | } 17 | .container1{ 18 | 19 | width:100%; 20 | display: flex; 21 | flex-wrap: wrap; 22 | border:1px solid white; 23 | 24 | } 25 | .containier2{ 26 | width:100%; 27 | display: flex; 28 | flex-wrap: wrap; 29 | margin-left: 5px; 30 | 31 | } 32 | .box:nth-child(3)>.box{ 33 | border:0px; 34 | } 35 | .container2>.box{ 36 | width: 49.5%; 37 | border: 1px solid white; 38 | max-height:500px; 39 | background-color: #798ca8; 40 | /* padding:px; */ 41 | } 42 | .container1>.box{ 43 | border:0px; 44 | width:100%; 45 | border: 1px solid green; 46 | background-color: #466087; 47 | color:white; 48 | } 49 | h1,h3,h4{ 50 | font-family: 'Audiowide', cursive; 51 | font-weight: bold; 52 | color:white; 53 | } 54 | 55 | img 56 | {width: 80px; 57 | height: 80px; 58 | border-radius: 50%; 59 | -webkit-border-radius: 50%; 60 | -moz-border-radius: 50%; 61 | -o-border-radius: 50%; 62 | border: 5px solid black; 63 | margin-right: 30px; 64 | margin-bottom: 50px;} 65 | #icon{ 66 | text-shadow: 1px 1px 1px #ccc; 67 | font-size: 1.5em; 68 | color:#010e23; 69 | } 70 | #myimg,#profiles{ 71 | display:flex; 72 | flex-wrap: wrap; 73 | justify-content:center; 74 | 75 | } 76 | .ip{ 77 | background-color: #466087; 78 | } 79 | @media(max-width:900px){ 80 | .container2{ 81 | display: flex; 82 | flex-wrap:wrap; 83 | } 84 | .conatiner2>.box{ 85 | width:49%; 86 | } 87 | /* img{ 88 | position:relative; 89 | top:20px; 90 | left:200px; 91 | } 92 | #profiles{ 93 | padding-left: 170px; 94 | } */ 95 | #Interests,#int{ 96 | display:flex; 97 | flex-wrap:wrap; 98 | justify-content:center; 99 | margin-top:10px; 100 | } 101 | #int{ 102 | margin-top:-15px; 103 | } 104 | } 105 | @media(min-width:900px){ 106 | .container{ 107 | display:flex; 108 | flex-wrap:wrap; 109 | } 110 | .container1{ 111 | width:29%; 112 | display: flex; 113 | flex-wrap: wrap; 114 | } 115 | .container2{ 116 | display:flex; 117 | flex-wrap: wrap; 118 | width:70%; 119 | height:1024px; 120 | margin-left: 2px; 121 | } 122 | .box:nth-child(3)>.box{ 123 | border:0px; 124 | } 125 | .container1>.box{ 126 | border:0px; 127 | } 128 | #Interests,#int{ 129 | display:flex; 130 | flex-wrap:wrap; 131 | justify-content:center; 132 | margin-top:20px; 133 | } 134 | #int{ 135 | margin-top:-15px; 136 | } 137 | /* img{ 138 | position:relative; 139 | top:20px; 140 | left:100px; 141 | } */ 142 | 143 | } 144 | -------------------------------------------------------------------------------- /Sarthak Goel/Todolist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Todolist 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
            14 |
            15 |

            Todolist

            16 |
            17 | 18 | 19 |


            20 |

            TODO

            21 |
            22 |
            23 |
            24 |

            COMPLETED

            25 |
            26 |
            27 |
            28 |
            29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Sarthak Goel/Todolist/todolist.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background-color: #f2f4f7; 3 | /* background-image: url(todolist.jpg); */ 4 | } 5 | .cont,#task{ 6 | display:flex; 7 | flex-wrap: wrap; 8 | margin-top: 10px; 9 | margin-bottom: 5px; 10 | /* width: 40px; */ 11 | } 12 | 13 | .cont:hover{ 14 | background-color: #c8cace; 15 | } 16 | #task,#inp{ 17 | width:90%; 18 | padding:5px; 19 | } 20 | 21 | #sp{ 22 | align:right; 23 | } 24 | .para{ 25 | width:60%; 26 | height:40px; 27 | border:1px solid #c1c6cc; 28 | padding-left: 5px; 29 | margin-left:5px; 30 | margin-right:5px; 31 | } 32 | 33 | .tick{ 34 | width:30px; 35 | height:40px; 36 | border-radius: 5 37 | } 38 | 39 | #update_btn,#confirm_btn{ 40 | margin-right: 5px; 41 | } 42 | -------------------------------------------------------------------------------- /Sarthak Goel/Todolist/todolist.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Sarthak Goel/Todolist/todolist.jpg -------------------------------------------------------------------------------- /Summer2017/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/.gitignore -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/README.md: -------------------------------------------------------------------------------- 1 | # Blogify 2 | 3 | 4 | Hosted at : blogify-version4.bitballoon.com 5 | -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/Red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/Red.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/Silver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/Silver.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/Turquoise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/Turquoise.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/addImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/addImage.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/background.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/background.jpeg -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/firebase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/firebase.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/google sign in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/google sign in.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/homePAge.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Damexula 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
            14 | 15 |
            16 | 17 | 18 |
            19 | 20 |
            21 | 22 | 23 | 24 |
            25 | 26 | 27 | 28 |
            29 | 30 | 31 | 32 |
            33 | 34 | 35 |

            CONTACT US

            36 | 37 | 38 |
            39 | 40 |
            41 |
            42 |
            43 | 44 | 45 | 46 |
            47 | 48 | 49 |
            50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/imageAdd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Avani/Blogify/imageAdd.png -------------------------------------------------------------------------------- /Summer2017/Avani/Blogify/logInOrNot.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | console.log("In function"); 3 | var provider = new firebase.auth.GoogleAuthProvider(); 4 | 5 | firebase.auth().onAuthStateChanged(function(user) { 6 | console.log("heard it here alt"); 7 | $('#pageLoader').hide(); 8 | if (user) { 9 | // User is signed in. 10 | console.log("user logged in alt "); 11 | myUser=user; 12 | var id=myUser.uid; 13 | firebase.database().ref('user-data/'+myUser.uid+'/').set({name:myUser.displayName, email:myUser.email, 14 | image:myUser.photoURL}).then(function (result) { 15 | console.log("User-data successfully written"); 16 | firebase.database().ref('Users/'+id).set(myUser.email).then(function (result) { 17 | console.log("Data successfully written"); 18 | location.href='loggedIn.html'; 19 | }); 20 | }); 21 | 22 | localStorage.setItem('myUser', JSON.stringify(myUser)); 23 | console.log(myUser); 24 | 25 | } else { 26 | // No user is signed in. 27 | console.log("error logging in alt"); 28 | $('#notLoggedIn').show(); 29 | // myUser=null; 30 | } 31 | }); 32 | 33 | // Executed when user logs in 34 | $('#loginBtn').click(function () { 35 | 36 | console.log("heard it here "); 37 | firebase.auth().signInWithPopup(provider).then(function(result) { 38 | // This gives you a Google Access Token. You can use it to access the Google API. 39 | // var token = result.credential.accessToken; 40 | // The signed-in user info. 41 | console.log("user logged in"); 42 | myUser = result.user; 43 | firebase.database().ref('user-data/'+myUser.uid+'/').set({name:myUser.displayName, email:myUser.email, 44 | image:myUser.photoURL}); 45 | localStorage.setItem('myUser', JSON.stringify(myUser)); 46 | $('#notLoggedIn').hide(); 47 | 48 | 49 | 50 | 51 | }).catch(function(error) { 52 | // Handle Errors here. 53 | console.log("error logging in"); 54 | var errorCode = error.code; 55 | var errorMessage = error.message; 56 | // The email of the user's account used. 57 | var email = error.email; 58 | // The firebase.auth.AuthCredential type that was used. 59 | var credential = error.credential; 60 | // ... 61 | Materialize.toast(errorMessage, 7000) // 4000 is the duration of the toast 62 | }); 63 | 64 | }); 65 | 66 | 67 | $('#sendMsg').click(function () { 68 | console.log("You clicked"); 69 | $('#contactForm').trigger('reset'); 70 | }) 71 | 72 | }); -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/.idea/Expenso.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/contactIndex.txt: -------------------------------------------------------------------------------- 1 | [{"name":"","email":"","tel":"","query":"Select Query","msg":"data 1"},{"name":"Sandeep Ranjan","email":"sandeepranjan2007@yahoo.co.in","tel":"12313`","query":"query1","msg":"asc"},{"name":"","email":"","tel":"","query":"Select Query","msg":""},{"name":"","email":"","tel":"","query":"Select Query","msg":""},{"name":"","email":"","tel":"","query":"Select Query","msg":""},{"name":"d,bkFF","email":"we@gmal.coma","tel":"124134","query":"query1","msg":"efER"},{"name":"d,bkFF","email":"we@gmal.coma","tel":"124134","query":"query1","msg":"efER"}] -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/database.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by sandeep on 17/07/17. 3 | */ 4 | var mdb = require('mongodb'); 5 | 6 | var url = 'mongodb://localhost/expenso'; 7 | 8 | var _db = ""; 9 | var name = ""; 10 | 11 | function connectDB(run_server) { 12 | 13 | mdb.MongoClient.connect(url,function (err,db) { 14 | if(err) throw err; 15 | console.log('connected to db'); 16 | _db = db; 17 | run_server(); 18 | }); 19 | 20 | } 21 | 22 | function get(info,cb) { 23 | name = info.user; 24 | _db.collection(info.user).find({_id: info.id}).toArray(function (err, data) { 25 | cb(data); 26 | }); 27 | 28 | } 29 | 30 | 31 | function insertT(info,cb) { 32 | _db.collection(info.user).updateOne({ _id : "2" },{ $push : { passbook : info.trns } },{ upsert: true},function(err,res){ 33 | cb(res); 34 | }); 35 | } 36 | 37 | function insertP(info,cb) { 38 | _db.collection(info.user).updateOne({ _id : "3" },{ $push : { pending : info.pend } },{ upsert: true},function(err,res){ 39 | cb(res); 40 | }); 41 | } 42 | 43 | function deletePassbook(info,cb) { 44 | _db.collection(info.user).updateOne({_id : "2" },{$pull:{"passbook": {"desp":info.up }}},function(err,res){ 45 | cb(res); 46 | }); 47 | } 48 | 49 | function deletePending(info,cb) { 50 | _db.collection(info.user).updateOne({_id : "3" },{$pull:{"pending": {"desp":info.up }}},function(err,res){ 51 | cb(res); 52 | }); 53 | } 54 | 55 | function editPassbook(info,cb) { 56 | console.log(info.p); 57 | _db.collection(name).updateOne({_id : "2", "passbook.desp" : info.p.desp }, 58 | { $set: {'passbook.$.bank' : info.n.bank, 'passbook.$.desp' : info.n.desp, 59 | 'passbook.$.sign' : info.n.sign , 'passbook.$.amt' : info.n.amt}} 60 | ,function (err,res) { 61 | cb(res); 62 | }); 63 | 64 | } 65 | 66 | function editPending(info,cb) { 67 | console.log(info.p); 68 | _db.collection(name).updateOne({_id : "3", "pending.desp" : info.p.desp }, 69 | { $set: {'pending.$.desp' : info.n.desp, 'pending.$.d_date' : info.n.ddate , 'pending.$.amt' : info.n.amt}} 70 | ,function (err,res) { 71 | cb(res); 72 | }); 73 | 74 | } 75 | 76 | 77 | 78 | function settingsForm(info,cb) { 79 | 80 | _db.collection(info.user).updateOne({_id : "1"},{settings : info.set},{upsert : true},function (err,res) { 81 | cb(res); 82 | }); 83 | } 84 | 85 | function picture(file,cb) { 86 | 87 | _db.collection(name).updateOne({_id : "4"},{picture : file},{upsert : true},function (err,res) { 88 | cb(res); 89 | }); 90 | } 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | module.exports = { 104 | connectDB : connectDB, 105 | get : get, 106 | settingsForm : settingsForm, 107 | insertT : insertT, 108 | insertP : insertP, 109 | deletePassbook : deletePassbook, 110 | deletePending : deletePending, 111 | editPassbook : editPassbook, 112 | editPending : editPending, 113 | picture: picture 114 | 115 | 116 | }; 117 | 118 | 119 | 120 | /*8287146146*/ -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/files.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by sandeep on 12/07/17. 3 | */ 4 | 5 | var fs = require('fs'); 6 | 7 | function readFormContent(cb) { 8 | fs.readFile('contactIndex.txt',function (err, data) { 9 | if (err) throw err; 10 | 11 | var cont = data.toString(); 12 | 13 | cb(cont); 14 | }); 15 | 16 | } 17 | 18 | function writeFormContent(details,cb) { 19 | fs.writeFile('contactIndex.txt' , JSON.stringify(details), function (err) { 20 | if(err) throw err; 21 | console.log("saved in file"); 22 | }); 23 | cb(); 24 | } 25 | 26 | module.exports = { 27 | write : writeFormContent, 28 | read : readFormContent 29 | } 30 | 31 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/mysql.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by sandeep on 13/07/17. 3 | */ 4 | var mysql = require('mysql'); 5 | 6 | var dbconfig = { 7 | host : 'localhost', 8 | user : 'expenso', 9 | password : 'expenso', 10 | database: 'expensouser' 11 | }; 12 | 13 | 14 | function getDetails(email,cb) { 15 | var connection = mysql.createConnection(dbconfig); 16 | connection.connect(); 17 | connection.query('SELECT * FROM sign_up WHERE email="'+email+'"',function (error,results,fields) { 18 | cb(results); 19 | 20 | }); 21 | 22 | } 23 | 24 | function signUp(data,cb) { 25 | var connection = mysql.createConnection(dbconfig); 26 | connection.connect(); 27 | 28 | var sign = { 29 | name: data.name, 30 | email: data.email, 31 | password: data.password 32 | 33 | } 34 | 35 | connection.query('INSERT INTO sign_up SET ?', sign, function (err,result,fields) { 36 | if(err) throw err; 37 | cb(result); 38 | }); 39 | 40 | } 41 | 42 | 43 | 44 | module.exports = { 45 | signUp : signUp, 46 | getDetails : getDetails 47 | 48 | } 49 | 50 | 51 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "expenso", 3 | "version": "1.0.0", 4 | "description": "Pitching project", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "Sandeep Ranjan", 10 | "license": "ISC", 11 | "dependencies": { 12 | "bcrypt-nodejs": "0.0.3", 13 | "body-parser": "^1.17.2", 14 | "cookie-parser": "^1.4.3", 15 | "express": "^4.15.3", 16 | "express-session": "^1.15.4", 17 | "mongodb": "^2.2.30", 18 | "multer": "^1.3.0", 19 | "mysql": "^2.13.0", 20 | "nodemailer": "^4.0.1" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/css/media.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/css/media.css -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/header-s.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/header-s.jpeg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/header.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/header.jpeg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-1.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-2.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-3.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-4.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-5.jpeg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-6.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-7.png -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/face-8.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/img/mac.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/img/mac.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/js/script.js: -------------------------------------------------------------------------------- 1 | 2 | var typed = new Typed('#typed', { 3 | stringsElement: '#typed-strings', 4 | loop: true, 5 | typeSpeed: 100, 6 | backSpeed: 50, 7 | smartBackspace: true, 8 | 9 | }); 10 | 11 | $(document).ready(function(){ 12 | 13 | $('.testiomanils').slick({ 14 | arrows: false, 15 | dots: true, 16 | autoplay: true, 17 | centerMode: true, 18 | centerPadding: '60px', 19 | slidesToShow: 3, 20 | autoplaySpeed: 2000, 21 | focusOnSelect: false, 22 | responsive: [ 23 | { 24 | breakpoint: 768, 25 | settings: { 26 | arrows: false, 27 | centerMode: true, 28 | centerPadding: '40px', 29 | slidesToShow: 3 30 | } 31 | }, 32 | { 33 | breakpoint: 480, 34 | settings: { 35 | arrows: false, 36 | centerMode: true, 37 | centerPadding: '40px', 38 | slidesToShow: 1 39 | } 40 | } 41 | ] 42 | }); 43 | 44 | 45 | $('.click').click(function() { 46 | 47 | var link = $(this).attr('href'); 48 | $('body').removeClass('full'); 49 | $('nav ul').removeClass('hei'); 50 | $('nav ul li').removeClass('show'); 51 | $('html, body').animate({ 52 | scrollTop: $(link).offset().top 53 | }, 1000); 54 | }); 55 | 56 | $('#ico').click(function(){ 57 | 58 | $('nav ul li').toggleClass('show'); 59 | $('nav ul').toggleClass('hei'); 60 | $('body').toggleClass('full'); 61 | 62 | }); 63 | 64 | 65 | 66 | $('.down').waypoint(function(direction){ 67 | if (direction == "down") { 68 | $('nav').addClass('sticky animated fadeIn'); 69 | 70 | 71 | } else { 72 | $('nav').removeClass('sticky animated fadeIn '); 73 | } 74 | }, { 75 | offset: '30px' 76 | 77 | }); 78 | 79 | $('.row').waypoint(function(direction) { 80 | $('.col').addClass('animated pulse'); 81 | }, { 82 | offset: '60%' 83 | }); 84 | 85 | 86 | 87 | $('#send').click(function () { 88 | 89 | var details = { 90 | name : $('#name').val(), 91 | email : $('#email').val(), 92 | tel : $('#tel').val(), 93 | query : $('#query').val(), 94 | msg : $('#msg').val() 95 | } 96 | 97 | console.log(details); 98 | 99 | $.post({ 100 | url: '/contact', 101 | data: details, 102 | success : function (data) { 103 | console.log(data); 104 | } 105 | }) 106 | 107 | 108 | }) 109 | 110 | 111 | 112 | 113 | 114 | 115 | }); 116 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/login/back.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/login/back.jpeg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/login/pexels-photo-531360.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/login/pexels-photo-531360.jpeg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/send/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | done 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/signup/back.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/signup/back.jpeg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/signup/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Title 7 | 8 | 75 | 76 | 77 |
            78 |

            xpenso SignUp

            79 |
            80 |
            81 |
            82 |
            83 | 84 |
            85 |

            86 |
            87 | 88 | 89 | 110 | 111 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/try.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/try.html -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/0a2f1897832ac80547d3306f8dd327db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/0a2f1897832ac80547d3306f8dd327db -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/Screen Shot 2017-05-11 at 10.09.35 AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/Screen Shot 2017-05-11 at 10.09.35 AM.png -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/e7c257231040e85cc7370b6e9053d3fd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/e7c257231040e85cc7370b6e9053d3fd -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/imgonline-com-ua-compressed-uc3aBFE34kU.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/imgonline-com-ua-compressed-uc3aBFE34kU.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/p26u5Rf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/uploads/p26u5Rf.jpg -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/animatedModal.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.animatedModal=function(n){function o(){m.css({"z-index":e.zIndexOut}),e.afterClose()}function t(){e.afterOpen()}var i=a(this),e=a.extend({modalTarget:"animatedModal",position:"fixed",width:"100%",height:"100%",top:"0px",left:"0px",zIndexIn:"9999",zIndexOut:"-9999",color:"#39BEB9",opacityIn:"1",opacityOut:"0",animatedIn:"zoomIn",animatedOut:"zoomOut",animationDuration:".6s",overflow:"auto",beforeOpen:function(){},afterOpen:function(){},beforeClose:function(){},afterClose:function(){}},n),d=a(".close-"+e.modalTarget),s=a(i).attr("href"),m=a("body").find("#"+e.modalTarget),l="#"+m.attr("id");m.addClass("animated"),m.addClass(e.modalTarget+"-off");var r={position:e.position,width:e.width,height:e.height,top:e.top,left:e.left,"background-color":e.color,"overflow-y":e.overflow,"z-index":e.zIndexOut,opacity:e.opacityOut,"-webkit-animation-duration":e.animationDuration,"-moz-animation-duration":e.animationDuration,"-ms-animation-duration":e.animationDuration,"animation-duration":e.animationDuration};m.css(r),i.click(function(n){n.preventDefault(),a("body, html").css({overflow:"hidden"}),s==l&&(m.hasClass(e.modalTarget+"-off")&&(m.removeClass(e.animatedOut),m.removeClass(e.modalTarget+"-off"),m.addClass(e.modalTarget+"-on")),m.hasClass(e.modalTarget+"-on")&&(e.beforeOpen(),m.css({opacity:e.opacityIn,"z-index":e.zIndexIn}),m.addClass(e.animatedIn),m.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",t)))}),d.click(function(n){n.preventDefault(),a("body, html").css({overflow:"auto"}),e.beforeClose(),m.hasClass(e.modalTarget+"-on")&&(m.removeClass(e.modalTarget+"-on"),m.addClass(e.modalTarget+"-off")),m.hasClass(e.modalTarget+"-off")&&(m.removeClass(e.animatedIn),m.addClass(e.animatedOut),m.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",o))})}}(jQuery); 2 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/ajax-loader.gif -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/config.rb: -------------------------------------------------------------------------------- 1 | css_dir = "." 2 | sass_dir = "." 3 | images_dir = "." 4 | fonts_dir = "fonts" 5 | relative_assets = true 6 | 7 | output_style = :compact 8 | line_comments = false 9 | 10 | preferred_syntax = :scss -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.eot -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by Fontastic.me 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.ttf -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/fonts/slick.woff -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/slick.css: -------------------------------------------------------------------------------- 1 | /* Slider */ 2 | .slick-slider 3 | { 4 | position: relative; 5 | 6 | display: block; 7 | box-sizing: border-box; 8 | 9 | -webkit-user-select: none; 10 | -moz-user-select: none; 11 | -ms-user-select: none; 12 | user-select: none; 13 | 14 | -webkit-touch-callout: none; 15 | -khtml-user-select: none; 16 | -ms-touch-action: pan-y; 17 | touch-action: pan-y; 18 | -webkit-tap-highlight-color: transparent; 19 | } 20 | 21 | .slick-list 22 | { 23 | position: relative; 24 | 25 | display: block; 26 | overflow: hidden; 27 | 28 | margin: 0; 29 | padding: 0; 30 | } 31 | .slick-list:focus 32 | { 33 | outline: none; 34 | } 35 | .slick-list.dragging 36 | { 37 | cursor: pointer; 38 | cursor: hand; 39 | } 40 | 41 | .slick-slider .slick-track, 42 | .slick-slider .slick-list 43 | { 44 | -webkit-transform: translate3d(0, 0, 0); 45 | -moz-transform: translate3d(0, 0, 0); 46 | -ms-transform: translate3d(0, 0, 0); 47 | -o-transform: translate3d(0, 0, 0); 48 | transform: translate3d(0, 0, 0); 49 | } 50 | 51 | .slick-track 52 | { 53 | position: relative; 54 | top: 0; 55 | left: 0; 56 | 57 | display: block; 58 | } 59 | .slick-track:before, 60 | .slick-track:after 61 | { 62 | display: table; 63 | 64 | content: ''; 65 | } 66 | .slick-track:after 67 | { 68 | clear: both; 69 | } 70 | .slick-loading .slick-track 71 | { 72 | visibility: hidden; 73 | } 74 | 75 | .slick-slide 76 | { 77 | display: none; 78 | float: left; 79 | 80 | height: 100%; 81 | min-height: 1px; 82 | } 83 | [dir='rtl'] .slick-slide 84 | { 85 | float: right; 86 | } 87 | .slick-slide img 88 | { 89 | display: block; 90 | } 91 | .slick-slide.slick-loading img 92 | { 93 | display: none; 94 | } 95 | .slick-slide.dragging img 96 | { 97 | pointer-events: none; 98 | } 99 | .slick-initialized .slick-slide 100 | { 101 | display: block; 102 | } 103 | .slick-loading .slick-slide 104 | { 105 | visibility: hidden; 106 | } 107 | .slick-vertical .slick-slide 108 | { 109 | display: block; 110 | 111 | height: auto; 112 | 113 | border: 1px solid transparent; 114 | } 115 | .slick-arrow.slick-hidden { 116 | display: none; 117 | } 118 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/slick.less: -------------------------------------------------------------------------------- 1 | /* Slider */ 2 | 3 | .slick-slider { 4 | position: relative; 5 | display: block; 6 | box-sizing: border-box; 7 | -webkit-touch-callout: none; 8 | -webkit-user-select: none; 9 | -khtml-user-select: none; 10 | -moz-user-select: none; 11 | -ms-user-select: none; 12 | user-select: none; 13 | -ms-touch-action: pan-y; 14 | touch-action: pan-y; 15 | -webkit-tap-highlight-color: transparent; 16 | } 17 | .slick-list { 18 | position: relative; 19 | overflow: hidden; 20 | display: block; 21 | margin: 0; 22 | padding: 0; 23 | 24 | &:focus { 25 | outline: none; 26 | } 27 | 28 | &.dragging { 29 | cursor: pointer; 30 | cursor: hand; 31 | } 32 | } 33 | .slick-slider .slick-track, 34 | .slick-slider .slick-list { 35 | -webkit-transform: translate3d(0, 0, 0); 36 | -moz-transform: translate3d(0, 0, 0); 37 | -ms-transform: translate3d(0, 0, 0); 38 | -o-transform: translate3d(0, 0, 0); 39 | transform: translate3d(0, 0, 0); 40 | } 41 | 42 | .slick-track { 43 | position: relative; 44 | left: 0; 45 | top: 0; 46 | display: block; 47 | 48 | &:before, 49 | &:after { 50 | content: ""; 51 | display: table; 52 | } 53 | 54 | &:after { 55 | clear: both; 56 | } 57 | 58 | .slick-loading & { 59 | visibility: hidden; 60 | } 61 | } 62 | .slick-slide { 63 | float: left; 64 | height: 100%; 65 | min-height: 1px; 66 | [dir="rtl"] & { 67 | float: right; 68 | } 69 | img { 70 | display: block; 71 | } 72 | &.slick-loading img { 73 | display: none; 74 | } 75 | 76 | display: none; 77 | 78 | &.dragging img { 79 | pointer-events: none; 80 | } 81 | 82 | .slick-initialized & { 83 | display: block; 84 | } 85 | 86 | .slick-loading & { 87 | visibility: hidden; 88 | } 89 | 90 | .slick-vertical & { 91 | display: block; 92 | height: auto; 93 | border: 1px solid transparent; 94 | } 95 | } 96 | .slick-arrow.slick-hidden { 97 | display: none; 98 | } 99 | -------------------------------------------------------------------------------- /Summer2017/Sandeep Ranjan/Expenso/public_static/vendors/slick/slick.scss: -------------------------------------------------------------------------------- 1 | /* Slider */ 2 | 3 | .slick-slider { 4 | position: relative; 5 | display: block; 6 | box-sizing: border-box; 7 | -webkit-touch-callout: none; 8 | -webkit-user-select: none; 9 | -khtml-user-select: none; 10 | -moz-user-select: none; 11 | -ms-user-select: none; 12 | user-select: none; 13 | -ms-touch-action: pan-y; 14 | touch-action: pan-y; 15 | -webkit-tap-highlight-color: transparent; 16 | } 17 | .slick-list { 18 | position: relative; 19 | overflow: hidden; 20 | display: block; 21 | margin: 0; 22 | padding: 0; 23 | 24 | &:focus { 25 | outline: none; 26 | } 27 | 28 | &.dragging { 29 | cursor: pointer; 30 | cursor: hand; 31 | } 32 | } 33 | .slick-slider .slick-track, 34 | .slick-slider .slick-list { 35 | -webkit-transform: translate3d(0, 0, 0); 36 | -moz-transform: translate3d(0, 0, 0); 37 | -ms-transform: translate3d(0, 0, 0); 38 | -o-transform: translate3d(0, 0, 0); 39 | transform: translate3d(0, 0, 0); 40 | } 41 | 42 | .slick-track { 43 | position: relative; 44 | left: 0; 45 | top: 0; 46 | display: block; 47 | 48 | &:before, 49 | &:after { 50 | content: ""; 51 | display: table; 52 | } 53 | 54 | &:after { 55 | clear: both; 56 | } 57 | 58 | .slick-loading & { 59 | visibility: hidden; 60 | } 61 | } 62 | .slick-slide { 63 | float: left; 64 | height: 100%; 65 | min-height: 1px; 66 | [dir="rtl"] & { 67 | float: right; 68 | } 69 | img { 70 | display: block; 71 | } 72 | &.slick-loading img { 73 | display: none; 74 | } 75 | 76 | display: none; 77 | 78 | &.dragging img { 79 | pointer-events: none; 80 | } 81 | 82 | .slick-initialized & { 83 | display: block; 84 | } 85 | 86 | .slick-loading & { 87 | visibility: hidden; 88 | } 89 | 90 | .slick-vertical & { 91 | display: block; 92 | height: auto; 93 | border: 1px solid transparent; 94 | } 95 | } 96 | .slick-arrow.slick-hidden { 97 | display: none; 98 | } 99 | -------------------------------------------------------------------------------- /Summer2018/Ayush Poddar/Mr-Magnificent.github.io/README.md: -------------------------------------------------------------------------------- 1 | # Mr-Magnificent.github.io 2 | 3 | Portfolio 4 | -------------------------------------------------------------------------------- /Summer2018/Ayush Poddar/Mr-Magnificent.github.io/js.js: -------------------------------------------------------------------------------- 1 | function getRandomInt() { 2 | return (Math.floor(Math.random() * 256)); 3 | } 4 | 5 | 6 | function e() { 7 | 8 | function getLocation() { 9 | return (Math.floor(Math.random() * 10)); 10 | } 11 | 12 | // rgb(30, 87, 167); 13 | // rgb(167, 30, 30); 14 | // rgb(47, 181, 99); 15 | 16 | function colorChange() { 17 | let nomargin = document.getElementsByClassName("no-margin"); 18 | let col1 = getRandomInt(); 19 | let col2 = getRandomInt(); 20 | nomargin[0].style.background = `linear-gradient(25deg, rgb(0, 150, ${col1}), rgb(0, 150, ${col2})`; 21 | } 22 | return colorChange; 23 | } 24 | 25 | let x = e(); 26 | // let nomargin = document.getElementsByClassName("no-margin"); 27 | 28 | setInterval(x, 2000); 29 | 30 | window.onload = function() { 31 | function colorCh () { 32 | let lang = document.getElementsByClassName('lang'); 33 | for(let i = 0; i < lang.length; i++) { 34 | let tempColor = getRandomInt(); 35 | lang[i].style.color = `hsl(${tempColor}, 100%, 25%)`; 36 | // console.log(lang[i]); 37 | } 38 | } 39 | 40 | colorCh(); 41 | } 42 | 43 | function scrolling(obj) { 44 | let ide = obj.id; 45 | 46 | if (ide == 1) { 47 | document.querySelector('#lang').scrollIntoView({ 48 | behavior: 'smooth', 49 | block: "start", 50 | // inline: "nearest" 51 | }); 52 | setTimeout(scrollTen, 700); 53 | } 54 | else if (ide == 2) { 55 | document.querySelector('#projects').scrollIntoView({ 56 | behavior: 'smooth', 57 | block: "start", 58 | // inline: "nearest" 59 | }); 60 | setTimeout(scrollTen, 700); 61 | } 62 | else if (ide == 3) { 63 | document.querySelector('#education').scrollIntoView({ 64 | behavior: 'smooth', 65 | block: "start", 66 | // inline: "nearest" 67 | }); 68 | setTimeout(scrollTen, 800); 69 | } 70 | else if (ide == 4) { 71 | document.querySelector('#contact').scrollIntoView({ 72 | behavior: 'smooth', 73 | block: "start", 74 | // inline: "nearest" 75 | }); 76 | } 77 | 78 | } 79 | 80 | function scrollTen () { 81 | window.scrollBy({ 82 | top: -50, 83 | behavior: "smooth" 84 | }) 85 | } -------------------------------------------------------------------------------- /Summer2018/Ayush Poddar/Mr-Magnificent.github.io/style-lg.css: -------------------------------------------------------------------------------- 1 | @media screen and (min-width: 550px) { 2 | #about, .education, .projects { 3 | min-height: 100vh; 4 | } 5 | } 6 | 7 | @media screen and (min-height: 562px) { 8 | .about { 9 | position: relative; 10 | } 11 | 12 | #stickName { 13 | position: sticky; 14 | top: 10px; 15 | padding-bottom: 10px; 16 | } 17 | } -------------------------------------------------------------------------------- /Summer2018/Ayush Poddar/Mr-Magnificent.github.io/style-md.css: -------------------------------------------------------------------------------- 1 | @media screen and (min-width: 815px) { 2 | .bigger-screen-email { 3 | display: inline !important; 4 | /*display: inline-block !important;*/ 5 | } 6 | 7 | .smaller-screen-email { 8 | display: none !important; 9 | } 10 | 11 | .rlink { 12 | font-size: 20px !important; 13 | } 14 | } 15 | 16 | @media screen and (min-width: 550px){ 17 | .about { 18 | width: 30%; 19 | } 20 | 21 | .wider-screen { 22 | width: 70%; 23 | } 24 | 25 | .smaller-screen-lang { 26 | display: none; 27 | } 28 | 29 | .larger-screen-lang { 30 | display: flex; 31 | flex-wrap: wrap; 32 | justify-content: space-around; 33 | align-items: flex-start; 34 | align-content: space-between; 35 | } 36 | 37 | .larger-screen-lang>div { 38 | /*flex-grow: 1;*/ 39 | } 40 | 41 | .larger-screen-lang>div>figure { 42 | position: relative; 43 | top: 0px; 44 | display: flex; 45 | flex-direction: column; 46 | } 47 | 48 | .lang-heading { 49 | width: 100%; 50 | padding-left: 5%; 51 | } 52 | 53 | .tech-img { 54 | height: 70px; 55 | width: 70px; 56 | } 57 | 58 | .nav { 59 | height: 40px; 60 | } 61 | 62 | .anchor-nav > span { 63 | display: initial; 64 | font-size: 12px; 65 | } 66 | 67 | .anchor-nav { 68 | display: flex; 69 | flex-wrap: wrap; 70 | flex-direction: column; 71 | position: relative; 72 | top: 0; 73 | } 74 | 75 | .anchor-nav > i { 76 | text-align: center; 77 | margin-bottom: 1px; 78 | font-size: 16px; 79 | } 80 | 81 | .anchor-nav > span { 82 | opacity: 0; 83 | position: absolute; 84 | top: 25px; 85 | transition: opacity 0.1s linear; 86 | left: -5px; 87 | } 88 | 89 | .anchor-nav:hover > span { 90 | opacity: 1; 91 | display: initial; 92 | color: #000; 93 | transition: opacity 0.2s linear; 94 | } 95 | 96 | .tech-img>div>figure { 97 | border: thin #c0c0c0 solid; 98 | display: flex; 99 | flex-flow: column; 100 | margin: 0; 101 | padding: 5px; 102 | } 103 | 104 | .hov-enlarge { 105 | position: absolute; 106 | top: 80px; 107 | margin: 0 auto; 108 | left: 0px; 109 | right: 0px; 110 | } 111 | 112 | .tech-img + figcaption { 113 | display: none; 114 | } 115 | 116 | .tech-img:hover { 117 | z-index: 10; 118 | transform: scale(1.2, 1.2); 119 | transition: transform 0.2s ease-out; 120 | } 121 | 122 | .tech-img:hover + figcaption { 123 | display: initial; 124 | background-color: #222; 125 | color: #fff; 126 | font: italic smaller sans-serif; 127 | text-align: center; 128 | } 129 | 130 | .profile-pic { 131 | width: 80%; 132 | } 133 | 134 | .top>h1 { 135 | font-size: 40px; 136 | margin-bottom: 24.800px; 137 | margin-top: 21.800px; 138 | } 139 | 140 | .top>p { 141 | font-size: 1em; 142 | text-align: center; 143 | } 144 | 145 | .bigger-screen-email { 146 | display: none; 147 | } 148 | 149 | .smaller-screen-email { 150 | display: block !important; 151 | vertical-align: top; 152 | /*horiz-align: left;*/ 153 | } 154 | 155 | .rlink { 156 | font-size: 16px !important; 157 | } 158 | } -------------------------------------------------------------------------------- /Winter2018/Dhruva/Guardian-API/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Guardian-API 12 | 13 | 14 |
            15 | 16 | 23 |
            24 | 25 | 26 | 27 | 28 |
            29 |
            30 |
            31 |
            32 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /Winter2018/Dhruva/Guardian-API/style.css: -------------------------------------------------------------------------------- 1 | #container{ 2 | background-color: #284863; 3 | height:18vw; 4 | position: relative; 5 | } 6 | #icon{ 7 | position: absolute; 8 | width:6vw; 9 | left:1vw; 10 | top:1vw; 11 | } 12 | body{ 13 | margin: 0; 14 | font-family: 'Roboto Mono', monospace; 15 | background-color: #ecf3f1; 16 | } 17 | #container .input{ 18 | width: 100%; 19 | position:relative; 20 | transform: translateY(9vw); 21 | } 22 | #dp , #next , #prev{ 23 | background-color: transparent; 24 | width:5vw; 25 | overflow:hidden; 26 | border-style: none; 27 | } 28 | #dp{ 29 | transform: translateX(8vw); 30 | } 31 | #submit{ 32 | font:inherit; 33 | padding:0.4vw; 34 | width: 10vw; 35 | transform: translateX(8vw); 36 | font-size: 2vw; 37 | border-radius: 1vw; 38 | background-color: transparent; 39 | border-style:solid; 40 | border-width:0.2vw; 41 | border-color: #ecf3f1; 42 | color:#ecf3f1; 43 | } 44 | #w { 45 | font:inherit; 46 | padding:0.4vw; 47 | width: 18vw; 48 | transform: translateX(8vw); 49 | font-size: 1.8vw; 50 | border-radius: 1vw; 51 | background-color: transparent; 52 | border-style:solid; 53 | border-width:0.2vw; 54 | border-color:#ecf3f1; 55 | color:#ecf3f1; 56 | } 57 | #f{ 58 | font:inherit; 59 | padding:0.4vw; 60 | width: 12vw; 61 | font-size: 2vw; 62 | border-width:0.2vw; 63 | border-radius: 1vw; 64 | transform: translateX(8vw); 65 | background-color: transparent; 66 | border-style:solid; 67 | border-color: #ecf3f1; 68 | color:#ecf3f1; 69 | } 70 | #ibox{ 71 | font:inherit; 72 | width:29vw; 73 | font-size: 1.5vw; 74 | padding: 0.4vw; 75 | transform: translateX(6vw); 76 | background-color:transparent; 77 | border-style: none; 78 | color:#ecf3f1; 79 | } 80 | .dropdown{ 81 | font:inherit; 82 | font-size: 1.5vw; 83 | position: absolute; 84 | visibility: hidden; 85 | /*width:6.5%;*/ 86 | z-index:1; 87 | top:6.5vw; 88 | left:36vw; 89 | color:#ecf3f1; 90 | } 91 | .content{ 92 | width: 100%; 93 | overflow-y: auto; 94 | margin-bottom: 0.5vh; 95 | margin-top:0.5vh; 96 | margin-left: 0; 97 | margin-right:0; 98 | } 99 | .footer{ 100 | position:relative; 101 | text-align: center; 102 | bottom:0; 103 | width:100%; 104 | transform: translateY(4vw); 105 | font-size: 3.7vw; 106 | } 107 | p{ 108 | margin: 0.65vw; 109 | font-size: 1.5vw; 110 | width:31%; 111 | overflow:auto; 112 | background-color: rgba(22,137,185,0.1); 113 | } 114 | a{ 115 | text-decoration: none; 116 | color:#2D2D2D; 117 | } 118 | p::-webkit-scrollbar{ 119 | display: none; 120 | } 121 | p::scrollbar{ 122 | display:none; 123 | } 124 | p::-moz-scrollbar{ 125 | display: none; 126 | } 127 | @media (min-width:700px) and (max-width:1024px) { 128 | p{ 129 | width:47.4%; 130 | font-size: 2.5vw; 131 | } 132 | } 133 | @media (max-width:699px){ 134 | p{ 135 | width:97%; 136 | font-size:4.5vw; 137 | } 138 | } 139 | -------------------------------------------------------------------------------- /Winter2018/Dhruva/Resume/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | text-align: center; 3 | font-family: 'Julius Sans One', sans-serif; 4 | /*background-color:#4c0b0b ;*/ 5 | } 6 | #x{ 7 | min-height: 20px; 8 | background-color: #212121; 9 | } 10 | .container{ 11 | border: 0.8px solid black; 12 | background-color: white ; 13 | -webkit-box-shadow: inset 0px 1px 48px -1px rgba(77,0,5,1); 14 | -moz-box-shadow: inset 0px 1px 48px -1px rgba(77,0,5,1); 15 | box-shadow: inset 0px 1px 48px -1px rgba(77,0,5,1); 16 | -webkit-box-shadow: 0px 1px 46px -4px rgba(77,0,5,1); 17 | -moz-box-shadow: 0px 1px 46px -4px rgba(77,0,5,1); 18 | box-shadow: 0px 1px 46px -4px rgba(77,0,5,1); 19 | 20 | opacity: 0.9; 21 | } 22 | .image-holder{ 23 | display:flex; 24 | flex-wrap: wrap; 25 | } 26 | .name,.Others { 27 | margin: 5px; 28 | } 29 | .name{ 30 | margin-left: 0px; 31 | margin-right: 0px; 32 | min-height:58px; 33 | opacity: 0.9; 34 | background-color:#4c0b0b ; 35 | color:white; 36 | } 37 | .content{ 38 | margin: 5px 5px 5px 7px; 39 | padding: 0px; 40 | } 41 | .boxes{ 42 | background-color:white; 43 | color:#4c0b0b; 44 | -webkit-box-shadow: 0px 1px 46px -9px rgba(122,121,122,1); 45 | -moz-box-shadow: 0px 1px 46px -9px rgba(122,121,122,1); 46 | box-shadow: 0px 1px 46px -9px rgba(122,121,122,1); 47 | -webkit-box-shadow: inset 0px 1px 48px -12px rgba(77,0,5,1); 48 | -moz-box-shadow: inset 0px 1px 48px -12px rgba(77,0,5,1); 49 | box-shadow: inset 0px 1px 48px -12px rgba(77,0,5,1); 50 | } 51 | a{ 52 | color: #4c0b0b;; 53 | } 54 | .boxes.one{ 55 | min-height:180px; 56 | } 57 | hr{ 58 | color: black; 59 | } 60 | .box{ 61 | background-color:#white; 62 | color:#4c0b0b;; 63 | margin-bottom: 10px; 64 | -webkit-box-shadow: 0px 1px 46px -9px rgba(122,121,122,1); 65 | -moz-box-shadow: 0px 1px 46px -9px rgba(122,121,122,1); 66 | box-shadow: 0px 1px 46px -9px rgba(122,121,122,1); 67 | -webkit-box-shadow: inset 0px 1px 48px -12px rgba(77,0,5,1); 68 | -moz-box-shadow: inset 0px 1px 48px -12px rgba(77,0,5,1); 69 | box-shadow: inset 0px 1px 48px -12px rgba(77,0,5,1); 70 | } 71 | .box.one{ 72 | min-height:471px; 73 | } 74 | .box.two{ 75 | min-height:230px; 76 | } 77 | .box.three{ 78 | min-height:203px; 79 | } 80 | .box.four{ 81 | margin-bottom: 0px; 82 | min-height: 183px; 83 | } 84 | .boxes.two{ 85 | min-height: 120px; 86 | } 87 | .im{ 88 | width: 25%; 89 | } 90 | @media screen and (min-width:800px){ 91 | body{ 92 | background-color: white; 93 | } 94 | .container{ 95 | /*padding:10px;*/ 96 | max-width: 800px; 97 | margin: 0 auto; 98 | display:flex; 99 | flex-wrap:wrap; 100 | -webkit-box-shadow: 0px 1px 46px -4px rgba(77,0,5,1); 101 | -moz-box-shadow: 0px 1px 46px -4px rgba(77,0,5,1); 102 | box-shadow: 0px 1px 46px -4px rgba(77,0,5,1); 103 | } 104 | .boxes.two{ 105 | min-height: 936px; 106 | } 107 | h2{ 108 | min-height:40px; 109 | /*padding: 0px; 110 | margin: 0px;*/ 111 | } 112 | .name{ 113 | width:100%; 114 | display:block; 115 | height: 50px; 116 | order:0; 117 | } 118 | .content{ 119 | display:inline-block; 120 | width:70%; 121 | order:2; 122 | } 123 | .Others{ 124 | display:inline-block; 125 | width:26%; 126 | order:1; 127 | } 128 | .im{ 129 | width:100%; 130 | margin-bottom: 50px; 131 | } 132 | .image-holder{ 133 | margin-top: 30px; 134 | } 135 | .boxes.one{ 136 | min-height:190px; 137 | } 138 | 139 | } 140 | -------------------------------------------------------------------------------- /Winter2018/Dhruva/TODO/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | TO-DO-LIST 9 | 10 | 11 |
            12 |
            13 | 14 | 15 |
            16 |
            17 |
            18 |
            19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /Winter2018/Dhruva/TODO/style.css: -------------------------------------------------------------------------------- 1 | .container{ 2 | width:50%; 3 | text-align: center; 4 | margin: 0 auto; 5 | } 6 | #a{ 7 | width:41vw; 8 | border-width: 2px; 9 | border-style: inset; 10 | background-color:#f2f2f2; 11 | height: 3vw; 12 | font-size: 1.5vw; 13 | } 14 | table { 15 | font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 16 | border-collapse: collapse; 17 | width: 100%; 18 | } 19 | 20 | table td, table th { 21 | border: 1px solid #ddd; 22 | padding: 8px; 23 | text-align: left; 24 | } 25 | 26 | table tr:nth-child(even){background-color: #f2f2f2;} 27 | 28 | table tr:hover {background-color: #ddd;} 29 | 30 | table th { 31 | padding-top: 12px; 32 | padding-bottom: 12px; 33 | text-align: left; 34 | background-color: #4CAF50; 35 | color: white; 36 | } 37 | #table{ 38 | width:80%; 39 | text-align: center; 40 | margin:1vw auto; 41 | } 42 | .display-box{ 43 | text-align: left; 44 | } 45 | 46 | input{ 47 | background-color:transparent; 48 | border:0px; 49 | } 50 | #c{ 51 | font-size: 1.5vw; 52 | width:6vw; 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Winter2018/Dhruva/TODO/todo.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | "use strict"; 3 | window.onload=function (){ 4 | var box=document.getElementById("a"); 5 | var obox=document.getElementById('b'); 6 | var innerHTML=JSON.parse(localStorage.getItem("data")) || []; 7 | function display() 8 | { 9 | obox.innerHTML=null; 10 | let final="
            "; 11 | if(innerHTML) 12 | { 13 | for(var i=0;i `; 19 | } 20 | else 21 | { 22 | final+=``; 23 | } 24 | } 25 | final+="
            Activity Remove Update Done
            ${i+1} .    
            ${i+1} .    
            "; 26 | obox.innerHTML=final; 27 | for(i=0;i 2 | 3 | 4 | 5 | 6 | Clock 7 | 43 | 44 | 45 | 46 |
            47 | second 48 |
            49 |
            50 | minute 51 |
            52 | 53 | 54 | -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Animation/minute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Animation/minute.png -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Animation/second.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Animation/second.png -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Animation/wall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Animation/wall.jpg -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Portfolio/Nikki.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Portfolio/Nikki.jpeg -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Portfolio/abc.js: -------------------------------------------------------------------------------- 1 | //Intialiazation 2 | var radialObj = radialIndicator('#indicatorContainer', { 3 | barColor : '#87CEEB', 4 | barWidth : 10, 5 | initValue : 40 6 | }); 7 | 8 | //Using Instance 9 | radialObj.animate(60); -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Resume/Nikki.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Resume/Nikki.jpeg -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Resume/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Resume/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Resume/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Resume/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Resume/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Resume/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Resume/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Nikita Rai/Resume/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/ToDo List/ToDo.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | } 4 | 5 | ul { 6 | margin: 0; 7 | padding: 0; 8 | } 9 | 10 | ul li { 11 | cursor: pointer; 12 | position: relative; 13 | padding: 12px 8px 12px 40px; 14 | background: #eee; 15 | font-size: 18px; 16 | transition: 0.2s; 17 | user-select: none; 18 | } 19 | ul li:nth-child(odd) { 20 | background: #f9f9f9; 21 | } 22 | 23 | ul li:hover { 24 | background : #a1fc9c; 25 | } 26 | 27 | #close { 28 | position: absolute; 29 | right: 0; 30 | top: 0; 31 | padding: 12px 16px 12px 16px; 32 | } 33 | 34 | .icons{ 35 | position: absolute; 36 | display: inline; 37 | right: 50px; 38 | top : 15px; 39 | z-index: 10; 40 | } 41 | 42 | .checkbo { 43 | position: absolute; 44 | left : 0; 45 | top : 10px; 46 | padding: 12px 16px 12px 16px; 47 | height: 20px; 48 | width : 20px; 49 | } 50 | 51 | .list-group-item{ 52 | margin-top: 5px; 53 | } 54 | 55 | #close:hover { 56 | background-color: #f44336; 57 | color: white; 58 | } 59 | 60 | .header { 61 | background-color: blue; 62 | padding: 30px 40px; 63 | color: white; 64 | text-align: center; 65 | height: 210px; 66 | } 67 | 68 | input { 69 | border: none; 70 | width: 75%; 71 | padding: 10px; 72 | float: left; 73 | font-size: 16px; 74 | } 75 | 76 | #add { 77 | margin: 0px; 78 | padding: 9px; 79 | width: 20%; 80 | 81 | background: #00FFFF; 82 | color: black; 83 | float: left; 84 | text-align: center; 85 | font-size: 16px; 86 | cursor: pointer; 87 | transition: 0.3s; 88 | } 89 | 90 | #add:hover { 91 | background-color: yellow; 92 | } -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/ToDo List/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ToDo List 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
            14 |
            15 |
            16 |

            ToDo List

            17 | 18 | 19 |
            20 |
            21 |
            22 |
              23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Weather/gm.css: -------------------------------------------------------------------------------- 1 | html{ 2 | background-size: cover; 3 | } 4 | #map { 5 | width: 100%; 6 | height: 630px; 7 | background-color: grey; 8 | } 9 | 10 | #body { 11 | background-image: url("https://crystalseye.files.wordpress.com/2011/08/dsc_0724.jpg"); 12 | background-size: cover; 13 | background-repeat: no-repeat; 14 | } 15 | 16 | .jumbotron { 17 | background: #222; 18 | width: 60%; 19 | margin: auto; 20 | margin-top: 30px; 21 | padding-top: 10px; 22 | } 23 | 24 | .jumbotron .title { 25 | font-family: "Georgia"; 26 | color: #FFFFFF; 27 | padding-top: 40px; 28 | padding-bottom: 20px; 29 | } 30 | 31 | .jumbotron .weather { 32 | color: #FFFFFF; 33 | } 34 | 35 | p.temp-type { 36 | padding-top: 10px; 37 | cursor: pointer; 38 | color: #FFFFFF; 39 | } 40 | 41 | h2 { 42 | font-size: 30px; 43 | } 44 | 45 | h3 { 46 | color: #FFFFFF; 47 | margin: 6px; 48 | font-size: 20px 49 | } 50 | 51 | -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Weather/gn.js: -------------------------------------------------------------------------------- 1 | function initMap() 2 | { 3 | 4 | var longitude; 5 | var uluru = {lat: 20.5937, lng: 78.9629}; 6 | var map = new google.maps.Map(document.getElementById('map'), { 7 | zoom: 4, 8 | center: uluru 9 | }); 10 | var marker = new google.maps.Marker({ 11 | position: uluru, 12 | map: map 13 | }); 14 | 15 | google.maps.event.addListener(map,'click',function(event) 16 | { 17 | // document.getElementById('latlongclicked').value = event.latLng.lat(); 18 | // document.getElementById('lotlongclicked').value = event.latLng.lng(); // ASK FUNCTION DOUBT AND OTHER SCRIPT(How to access it outside) 19 | var x= event.latLng.lat(); 20 | var y= event.latLng.lng(); 21 | uluruu = {lat : x, lng : y}; 22 | var marker = new google.maps.Marker({ 23 | position: uluruu, 24 | map: map 25 | }); 26 | 27 | var clientId = '824574d36911eae2397be86330301aaa'; 28 | var endpoint = 'https://api.darksky.net/forecast/'; 29 | var parameters = '/'+x+','+y; 30 | var Data= []; 31 | var url = endpoint + clientId + parameters ; 32 | function AjaxRequest(url,callback){ 33 | $.ajax({ url: url, dataType: 'jsonp', success: function(data){ 34 | callback(data); 35 | }}) 36 | } 37 | 38 | AjaxRequest(url, function(d){ 39 | console.log(d); 40 | $("#weather-location").text(d.timezone); 41 | $("#weather-current").text(d.currently.temperature+' F'); 42 | $("#summary").text(d.currently.summary); 43 | $("#wind").text("Wind Speed : "+d.currently.windSpeed+" knots"); 44 | var x = d.currently.icon; 45 | // document.getElementById('humidity').value = d.currently.humidity; 46 | // document.getElementById('ws').value = d.currently.windSpeed; 47 | var o; 48 | if(x==="clear-day") 49 | o= "01d"; 50 | else if(x==="clear-night") 51 | o= "01n"; 52 | else if(x==="rain") 53 | o= "10d"; 54 | else if(x==="snow") 55 | o= "13d"; 56 | else if(x==="sleet") 57 | o= "13d"; 58 | else if(x==="wind") 59 | o= "50d"; 60 | else if(x==="fog") 61 | o= "50n"; 62 | else if(x==="cloudy") 63 | o= "02d"; 64 | else if(x==="partly-cloudy-day") 65 | o= "04d"; 66 | else if(x==="partly-cloudy-night") 67 | o= "04d"; 68 | $("#icon").html(''); 69 | }); 70 | }) 71 | 72 | } 73 | //http://openweathermap.org/img/w/10d.png -------------------------------------------------------------------------------- /Winter2018/Nikita Rai/Weather/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Google Map 11 | 12 | 13 | 14 | 15 |
              16 |
              17 | 18 |
              19 |
              20 |
              21 |

              Today's Weather :

              22 |
              23 |
              24 |

              25 |
              26 |
              27 |
              28 |

              29 |
              30 |
              31 | 32 |

              33 |
              34 |
              35 |

              36 | 37 |
              38 |
              39 |
              40 |
              41 |
              42 | 43 | 44 |
              45 |
              46 | 47 |
              48 |
              49 | 50 | 51 | 52 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /Winter2018/Praveen/Resume/.idea/Resume.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Winter2018/Praveen/Resume/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Winter2018/Praveen/Resume/img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Praveen/Resume/img.jpg -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/.idea/ToDoList.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/.idea/watcherTasks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/background-websites-web.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/Praveen/ToDoList/background-websites-web.jpg -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ToDoList 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
              15 |
              16 |
              17 |
              18 |

              19 | To Do List 20 |

              21 |
              22 |
              23 | 24 |
              25 |
              26 |
              27 | 28 | 29 |
              30 |
              31 |
              32 | 33 | 34 |
              35 |
                36 |
                37 | 38 |
                39 |
                40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/style.css: -------------------------------------------------------------------------------- 1 | 2 | html,body { 3 | height: 100%; 4 | width: 100% 5 | background-attachment: fixed; 6 | /*height:100%;*/ 7 | /*width:100%;*/ 8 | background: url(background-websites-web.jpg) top center no-repeat; 9 | background-size: cover; 10 | color: black; 11 | } 12 | 13 | 14 | #task{ 15 | width: 80%; 16 | padding: 5px 5px; 17 | margin-bottom: 3px; 18 | border: 1px solid black; 19 | } 20 | 21 | #add{ 22 | width: 15%; 23 | padding: 5px 5px; 24 | margin-bottom: 3px; 25 | border: 1px solid red; 26 | } 27 | 28 | .update{ 29 | width:90%; 30 | padding: 5px 5px; 31 | margin-bottom: 3px; 32 | border: 1px solid black; 33 | } 34 | 35 | .fa{ 36 | font-size: 1rem !important; 37 | font-weight: 400 !important; 38 | } 39 | 40 | .list-group-item{ 41 | margin-top: 10px; 42 | width: 95%; 43 | /*display: inline-block;*/ 44 | } 45 | .list-inline-item{ 46 | width: ; 47 | /*display: inline-block;*/ 48 | float: contour right; 49 | } 50 | 51 | .list-group{ 52 | display: inline; 53 | } 54 | -------------------------------------------------------------------------------- /Winter2018/Praveen/ToDoList/todo.css: -------------------------------------------------------------------------------- 1 | .jumbotron{ 2 | margin-top: 1%; 3 | } 4 | 5 | .update{ 6 | width: 84%; 7 | padding: .75rem .75rem; 8 | margin-bottom: 2px; 9 | border: 1px solid rgba(0,0,0,.125); 10 | } 11 | 12 | #task{ 13 | width: 84%; 14 | padding: .75rem .75rem; 15 | margin-bottom: 2px; 16 | border: 1px solid rgba(0,0,0,.125); 17 | } 18 | 19 | #add{ 20 | width: 15%; 21 | padding: .75rem .75rem; 22 | margin-bottom: 2px; 23 | border: 1px solid rgba(0,0,0,.125); 24 | } 25 | 26 | .fa{ 27 | font-size: 1rem !important; 28 | font-weight: 400 !important; 29 | } 30 | 31 | .list-group-item{ 32 | margin-top: 5px; 33 | } 34 | .list-inline-item{ 35 | width: ; 36 | } 37 | 38 | @media only screen and (max-width: 535px){ 39 | #task{ 40 | width: 100%; 41 | } 42 | #add{ 43 | padding: .65rem .65rem; 44 | width: 100%; 45 | } 46 | } 47 | 48 | } 49 | 50 | /*.delete , .markdone { 51 | display: inline-block ; 52 | width: 20%; 53 | } 54 | */ 55 | -------------------------------------------------------------------------------- /Winter2018/Riya/ChatBotAPI/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | CHAT BOT 11 | 12 | 13 |
                14 |
                15 |

                CleverBot

                16 |
                17 |
                18 |
                19 |
                20 | 21 | 22 |
                23 | 24 |
                25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Winter2018/Riya/ChatBotAPI/new.js: -------------------------------------------------------------------------------- 1 | window.onload=function(){ 2 | var me=document.getElementById('me'); 3 | var btn=document.getElementById('btn'); 4 | var reply=document.getElementById('reply'); 5 | var cs=''; 6 | var endPoint='https://www.cleverbot.com/getreply?key='; 7 | var api='CC6ei4i2ZeuXhvBGYNHg6LPz_aQ'; 8 | var url=endPoint+api; 9 | 10 | btn.onclick=function(){ 11 | var botmsg; 12 | var bot; 13 | var botcon; 14 | var botspan; 15 | var myspan; 16 | var mymsg; 17 | var mytext; 18 | var bottext; 19 | var my; 20 | var myicon; 21 | if(me.value) 22 | { 23 | my=document.createElement("DIV"); 24 | mymsg=document.createElement("DIV"); 25 | myspan=document.createElement("SPAN"); 26 | myspan.className="myspan"; 27 | mymsg.className="mydiv"; 28 | myicon=document.createElement("I"); 29 | my.className="my"; 30 | myicon.className="fa fa-male fa-lg"; 31 | mytext=document.createTextNode(` ${me.value} `); 32 | mymsg.appendChild(mytext); 33 | myspan.appendChild(myicon); 34 | my.appendChild(myspan); 35 | my.appendChild(mymsg); 36 | reply.appendChild(my); 37 | var xhttp=new XMLHttpRequest(); 38 | if(cs) 39 | url=url+`&input=${me.value}`+`&cs=${cs}`; 40 | else { 41 | url=url+`&input=${me.value}`; 42 | } 43 | me.value=null; 44 | xhttp.open('GET',url,true); 45 | xhttp.send(); 46 | xhttp.onreadystatechange=function(){ 47 | if(this.readyState==4 && this.status==200){ 48 | var t=JSON.parse(this.responseText); 49 | cs=t.cs; 50 | // console.log(t); 51 | bot=document.createElement("DIV"); 52 | botmsg=document.createElement("DIV"); 53 | botspan=document.createElement("SPAN"); 54 | botspan.className="botspan"; 55 | botcon=document.createElement("I"); 56 | botcon.className="fa fa-github-alt fa-lg"; 57 | botmsg.className="botdiv"; 58 | bot.className="bot"; 59 | bottext=document.createTextNode(` ${t.output} `); 60 | botspan.appendChild(botcon); 61 | botmsg.appendChild(bottext); 62 | 63 | bot.appendChild(botspan); 64 | bot.appendChild(botmsg); 65 | reply.appendChild(bot); 66 | } 67 | } 68 | // mymsg.style.textAlign='right'; 69 | 70 | 71 | } 72 | 73 | 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Winter2018/Riya/ChatBotAPI/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | font-family: 'Montserrat', sans-serif; 3 | box-sizing: border-box; 4 | background-color: #ddd; 5 | background-color: #2D2D2D; 6 | 7 | } 8 | .container{ 9 | position: relative; 10 | width:70vw; 11 | margin: auto; 12 | background-color: #F5C400; 13 | min-height: 96vh; 14 | border-radius: 0.2vw; 15 | } 16 | h2{ 17 | margin: 0; 18 | font-size: 5vh; 19 | padding: 2vh; 20 | } 21 | .name{ 22 | height:10vh; 23 | box-shadow: inset 0px 0px 14px 0px rgba(4, 4, 4, 0.75); 24 | } 25 | #reply{ 26 | position: absolute; 27 | /*bottom: 23px;*/ 28 | top:10vh; 29 | width: 100%; 30 | margin: auto; 31 | background-color: white; 32 | height: 77vh; 33 | overflow-y: auto; 34 | background-image: url(https://thumbs.dreamstime.com/b/social-media-word-icon-pattern-background-doodle-icons-sketchy-hand-drawing-set-backdrop-fabric-wallpaper-vector-54678226.jpg); 35 | /*background-size: cover; */ 36 | } 37 | #reply::-webkit-scrollbar { 38 | display: none; 39 | } 40 | .inp{ 41 | bottom: 2.4vh; 42 | width: 70vw; 43 | height: 7vh; 44 | top:77vh; 45 | background-color:#F5C400; 46 | position: relative; 47 | padding-top: 0.4vh; 48 | padding-bottom: 2vh; 49 | align-items: center; 50 | box-shadow: inset 0px 0px 14px 0px rgba(4, 4, 4, 0.75); 51 | } 52 | input{ 53 | font-family: inherit; 54 | font-size: 3vh; 55 | height: 6vh; 56 | /*width: ;*/ 57 | margin-left: 1vw; 58 | border: none; 59 | color: black; 60 | border-bottom-style: dashed; 61 | background-color: transparent; 62 | } 63 | input:focus{ 64 | /*border: none;*/ 65 | } 66 | button{ 67 | border-radius: 50%; 68 | border: none; 69 | width: 6vh; 70 | height: 6vh; 71 | padding: 1vh; 72 | float: right; 73 | margin-right: 3vh; 74 | /*background-color: transparent;*/ 75 | 76 | } 77 | .mydiv, .myspan{ 78 | display: inline-block; 79 | background-color: #C2C2C2; 80 | margin: 1.2vh; 81 | font-size: 2.2vh; 82 | padding: 1vh; 83 | min-height: 3.2vh; 84 | font-weight: bolder; 85 | box-shadow: inset 0px 0px 6px 0px rgba(8, 8, 8, 0.93); 86 | float: right; 87 | border-radius: 14vh; 88 | 89 | } 90 | .botdiv, .botspan{ 91 | display: inline-block; 92 | background-color: #6cc7c2; 93 | margin: 1.2vh; 94 | font-size: 2.2vh; 95 | padding: 1vh; 96 | min-height: 3.2vh; 97 | float:left; 98 | /*color: white;*/ 99 | box-shadow: inset 0px 0px 6px 0px rgba(8, 8, 8, 0.93); 100 | font-weight: bolder; 101 | border-radius:14vh; 102 | 103 | } 104 | .my{ 105 | min-height: 6vh; 106 | width: 68vw; 107 | margin: auto; 108 | } 109 | .bot{ 110 | min-height: 6vh; 111 | width: 68vw; 112 | margin: auto; 113 | } 114 | .botspan{ 115 | margin-right: 0.2vw; 116 | border-radius: 50%; 117 | min-width: 1.6vw; 118 | text-align: center; 119 | } 120 | .myspan{ 121 | margin-left: 0.2vw; 122 | border-radius: 50%; 123 | min-width: 1.6vw; 124 | text-align: center; 125 | } 126 | #me{ 127 | width: 89%; 128 | } 129 | 130 | @media (max-width:900px) and (min-width:600px){ 131 | .container{ 132 | width: 100%; 133 | } 134 | .inp{ 135 | width: 100%; 136 | } 137 | input{ 138 | width:90%; 139 | } 140 | .my, .bot{ 141 | width: 98%; 142 | } 143 | #me{ 144 | width:88%; 145 | } 146 | } 147 | 148 | @media (max-width:600px) { 149 | .container{ 150 | width: 100%; 151 | 152 | } 153 | .inp{ 154 | width: 100%; 155 | } 156 | input{ 157 | width:90%; 158 | /*font-size: 3vh;*/ 159 | } 160 | .my, .bot{ 161 | width: 98%; 162 | } 163 | #me{ 164 | width:80%; 165 | } 166 | 167 | } 168 | -------------------------------------------------------------------------------- /Winter2018/Riya/ToDoList/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | TO DO LIST 11 | 12 | 13 |
                14 |
                15 | My Activities 16 |
                17 |
                18 | 19 | 20 |
                21 |
                22 | 23 |
                24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Winter2018/Riya/ToDoList/to.css: -------------------------------------------------------------------------------- 1 | body{ 2 | font-family: 'Montserrat', sans-serif; 3 | box-sizing: border-box; 4 | background-color: #ddd; 5 | 6 | } 7 | .headd{ 8 | width: 100%; 9 | background-color: #5D5757; 10 | padding: 1vw; 11 | margin-left: -1vw; 12 | margin-top: -1vw; 13 | margin-right: -1vw; 14 | font-size: 3.5vw; 15 | font-weight: bolder; 16 | color:white; 17 | min-height: 10vw; 18 | 19 | box-shadow: -2px 6px 47px -9px rgba(0,0,0,0.75); 20 | } 21 | .valuee{ 22 | margin-top: 2vw; 23 | width:96vw; 24 | margin-left: 1vw; 25 | box-shadow: -2px 6px 47px -9px rgba(0,0,0,0.75); 26 | background-color: white; 27 | } 28 | 29 | 30 | #inp{ 31 | background-color:white; 32 | min-width: 71vw; 33 | font-size: 2vw; 34 | width:60%; 35 | } 36 | #bt{ 37 | min-width: 17vw; 38 | margin-right:0.5vw; 39 | margin-top:0.2vw; 40 | float: right; 41 | font-size: 1.8vw; 42 | border-radius: 0%; 43 | } 44 | table { 45 | margin-top: 2vw; 46 | background-color: white; 47 | border-collapse: collapse; 48 | width:96vw; 49 | box-shadow: -2px 6px 47px -9px rgba(0,0,0,0.75); 50 | } 51 | td, th { 52 | font-size: 1.8vw; 53 | padding: 0.5vw; 54 | border-bottom: 1px solid #ddd; 55 | 56 | } 57 | .list{ 58 | margin-left: 1vw; 59 | } 60 | button{ 61 | 62 | padding: 0.8vw; 63 | border-radius: 10%; 64 | text-align: center; 65 | font-size: 1.8vw; 66 | margin-left: 1vw; 67 | cursor: pointer; 68 | } 69 | input{ 70 | width:80%; 71 | padding: 1vw; 72 | font-size: 1.8vw; 73 | border: 0px; 74 | font-family: 'Montserrat', sans-serif; 75 | } 76 | .done{ 77 | background-color: #66bb6a; 78 | } 79 | .rem{ 80 | background-color: #FC97A7; 81 | } 82 | .up{ 83 | background-color: #90caf9; 84 | } 85 | -------------------------------------------------------------------------------- /Winter2018/Riya/ToDoList/to.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | "use strict"; 3 | window.onload=function(){ 4 | var inp=document.getElementById('inp'); 5 | var bt=document.getElementById('bt'); 6 | var res=document.getElementById('res'); 7 | var todoList=JSON.parse(localStorage.getItem("mylist")) || []; 8 | 9 | bt.onclick=function(){ 10 | var task={}; 11 | task.act=inp.value; 12 | task.done=false; 13 | todoList.push(task); 14 | localStorage.setItem('mylist',JSON.stringify(todoList)); 15 | display(); 16 | inp.value=""; 17 | } 18 | display(); 19 | function display(){ 20 | res.innerHTML=null; 21 | let final=""; 22 | final=`
                `; 23 | for(var i=0;i` 27 | 28 | } 29 | final+=`
                 ${i+1}.  
                `; 30 | res.innerHTML=final; 31 | for(let k=0;k 2 | 3 | 4 | 5 | 6 | 7 | 116 | 117 | 118 | 119 |
                120 | 121 |
                122 | 123 | 124 |
                125 |
                126 |
                127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /Winter2018/Saksham/SakshamTodoList/myToDoList.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Todo List 6 | 7 | 8 | 9 | 10 | 11 | 12 | 24 | 25 | 26 |
                27 |

                To-Do List

                28 | 29 |


                30 |
                  31 |
                  32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Winter2018/Saksham/UniversityApi/UniversityApi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Title 9 | 10 | 98 | 99 | 100 |
                  101 | 102 |
                  103 |

                  University Finder

                  104 |
                  105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 |
                  113 |
                  114 | 115 |
                  116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /Winter2018/Saksham/UniversityApi/api.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | var univ = document.getElementById('univ'); 4 | var cont = document.getElementById('cont'); 5 | var results = document.getElementById('results'); 6 | var btn = document.getElementById('btn'); 7 | var search = document.getElementById('search'); 8 | var caution = document.getElementById('caution'); 9 | 10 | var check =function(keyy) { 11 | if(keyy.keyCode === 8 ) { 12 | if (univ.value.length === 2) { 13 | caution.innerHTML = `NOTE: Please Enter atleast two characters`; 14 | 15 | } 16 | else { 17 | caution.innerHTML = ''; 18 | } 19 | } 20 | else 21 | { 22 | if (univ.value.length === 0) { 23 | caution.innerHTML = `NOTE: Please Enter atleast two characters`; 24 | 25 | } 26 | else { 27 | caution.innerHTML = ''; 28 | } 29 | } 30 | }; 31 | 32 | function Request(data) { 33 | 34 | var url = `http://universities.hipolabs.com/search?name=${univ.value}&country=${cont.value}`; 35 | var httpRequest = new XMLHttpRequest(); 36 | 37 | httpRequest.onreadystatechange = function () { 38 | 39 | if (this.status === 200 && this.readyState === 4) { 40 | data(JSON.parse(this.responseText)); 41 | } 42 | }; 43 | 44 | httpRequest.open('GET', url, true); 45 | httpRequest.send(); 46 | 47 | if(httpRequest.readyState !== 4) 48 | { 49 | results.innerHTML = `
                  The Search results are loading...
                  `; 50 | } 51 | } 52 | 53 | var dataItemArr = []; 54 | 55 | btn.onclick = function () { 56 | dataItemArr = []; 57 | search.innerHTML = "

                  Search Results

                  \n"; 58 | results.innerHTML = ""; 59 | Request(function (data) { 60 | var i = 0; 61 | results.innerHTML = ''; 62 | 63 | for (dataItem of data) { 64 | dataItemArr.push(dataItem); 65 | console.log(dataItem); 66 | results.innerHTML += `
                  ${dataItem.name}
                  `; 67 | i++; 68 | } 69 | 70 | if (results.innerHTML === "") { 71 | results.innerHTML = `
                  error

                  Sorry, No results match your Query
                  Please try a different search

                  `; 72 | } 73 | }); 74 | }; 75 | 76 | function importData(ele) { 77 | 78 | if (ele.innerHTML === dataItemArr[ele.id].name) { 79 | 80 | ele.innerHTML = `
                  University${dataItemArr[ele.id].name}
                  Country${dataItemArr[ele.id].country}
                  `; 81 | ele.classList.add("Active"); 82 | } 83 | else { 84 | ele.innerHTML = dataItemArr[ele.id].name; 85 | ele.classList.remove("Active"); 86 | } 87 | } 88 | 89 | 90 | function Submit(event) { 91 | 92 | if (event.keyCode == 13) 93 | btn.onclick(); 94 | } 95 | -------------------------------------------------------------------------------- /Winter2018/reads.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks-archives/DwarkaWebShowcases/e4c7fa272e711b9c71169ed5aff0518370f33891/Winter2018/reads.txt -------------------------------------------------------------------------------- /Winter2018/shruti/API/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | XML Request 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
                  OperationExpressionResult
                  simplify(Simplify)2^2+2(2)8
                  factor(Factor)x^2 + 2xx (x + 2)
                  derive(Derive)x^2+2x2 x + 2
                  integrate(Integrate)x^2+2x1/3 x^3 + x^2 + C
                  zeroes(Find 0's)x^2+2x[-2, 0]
                  tangent(Find Tangent)2lx^312 x + -16
                  area(Area Under Curve)2:4lx^360
                  cos(Cosine)pi-1
                  sin(Sine)00
                  tan(Tangent)00
                  arccos(Inverse Cosine)10
                  arcsin(Inverse Sine)00
                  arctan(Inverse Tangent)00
                  abs(Absolute Value)-11
                  log(Logarithm)2l83
                  96 |
                  97 | 98 | 99 | 100 |
                  101 |
                  102 |
                  103 |

                  104 |
                  105 | 106 | 107 | -------------------------------------------------------------------------------- /Winter2018/shruti/API/xmlrequest.css: -------------------------------------------------------------------------------- 1 | table { 2 | font-family: arial, sans-serif; 3 | border-collapse: collapse; 4 | width: 42%; 5 | margin: 0 auto; 6 | } 7 | 8 | td, th { 9 | border: 1px solid #dddddd; 10 | text-align: left; 11 | padding: 8px; 12 | } 13 | th{ 14 | background-color: maroon; 15 | color: floralwhite; 16 | font-weight: bold; 17 | } 18 | 19 | tr:nth-child(even) { 20 | background-color: #dddddd; 21 | } 22 | #head{ 23 | margin-bottom: 30px; 24 | font-size: 30px; 25 | font-family: cursive; 26 | color: crimson; 27 | } 28 | #inp1,#inp2{ 29 | width: 20%; 30 | 31 | font-size: 20px; 32 | } 33 | #sub{ 34 | height: 20px; 35 | 36 | } 37 | #main1{ 38 | background-color: crimson; 39 | padding: 40px; 40 | } 41 | #demo{ 42 | margin-top: -5px; 43 | padding: 40px; 44 | background-color: antiquewhite; 45 | font-size: large; 46 | } 47 | @media screen and (max-width:600px ) 48 | { 49 | #inp1,#inp2{ 50 | width: 20%; 51 | font-size: 15px; 52 | } 53 | } -------------------------------------------------------------------------------- /Winter2018/shruti/API/xmlrequest.js: -------------------------------------------------------------------------------- 1 | function loadXMLDoc() 2 | { 3 | var inp2 = document.getElementById('inp2').value; 4 | var inp1 = document.getElementById('inp1').value; 5 | var xhttp = new XMLHttpRequest(); 6 | xhttp.onreadystatechange = function () { 7 | if (this.readyState == 4 && this.status == 200) 8 | { 9 | let x=JSON.parse(this.responseText); 10 | console.log(x); 11 | let y=x.result; 12 | document.getElementById("demo").innerHTML =`The answer is ${y}`; 13 | document.getElementById("demo").style.fontSize="30px"; 14 | document.getElementById("demo").style.fontFamily="cursive"; 15 | } 16 | }; 17 | xhttp.open("GET", `https://newton.now.sh/${inp1}/${inp2}`, true); 18 | xhttp.send(); 19 | } 20 | -------------------------------------------------------------------------------- /Winter2018/shruti/resume/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Resume 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
                  14 |
                  15 |
                  16 |

                  SHRUTI GARG

                  17 |

                  2017UIT2532/7042652510/gargshruti30@gmail.com

                  18 |
                  19 |

                  https://www.linkedin.com/in/gargshruti30/

                  20 |

                  https://github.com/gargshruti30

                  21 | 22 |
                  23 |
                    EDUCATION
                  24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 |
                  ExaminationYearInstitute%/CGPA
                  B.E.(IT)2017-2021Netaji Subhas Institute of Technology
                  AISSCE(XII)2017Salwan Public School97.2
                  AISSE(X)2015Salwan Public School10
                  54 |
                  55 |
                    TECHNICAL SKILLS
                  56 |
                    57 |
                  • C
                  • 58 |
                  • C++
                  • 59 |
                  • HTML
                  • 60 |
                  • CSS
                  • 61 |
                  62 |
                    ACADEMIC ACHIEVEMENTS
                  63 |
                    64 |
                  • Passed the national level (B1) French exam (FRENCH ALLIANCE OF ROUEN NORMANDIE)
                  • 65 |
                  • Topper of the school in class 12th
                  • 66 |
                  • Secured 290 international rank in International Olympiad of Mathematics,2014
                  • 67 |
                  • Secured 994 international rank in International Olympiad of Science,2014
                  • 68 |
                  69 |
                    EXTRA CURRICULAR ACTIVITIES AND INTERESTS
                  70 |
                    71 |
                  • Won first position in various athletic events(200m,400m,4X100m relay) at Zonal level(2015)
                  • 72 |
                  • Won second position in 4X400m relay in CBSE CLUSTER XII athletic meet(2016)
                  • 73 |
                  • Participated in the Largest Practical Science Lesson conducted by VIBHA at IIT Delhi(2015)
                  • 74 |
                  • Volunteer at Joy of giving week and Rotaract society,NSIT
                  • 75 |
                  • Part of organizing committee of TEAMC 2018
                  • 76 |
                  77 |
                  78 |
                  79 | 80 | -------------------------------------------------------------------------------- /Winter2018/shruti/resume/resume.css: -------------------------------------------------------------------------------- 1 | .outerbox{ 2 | width:95%; 3 | border: 2px solid black; 4 | margin: 0 auto; 5 | height:910px; 6 | } 7 | .name{ 8 | 9 | font-weight: bold ; 10 | font-size: 30px ; 11 | margin-top: -50px; 12 | } 13 | .info{ 14 | margin-top: -5px; 15 | margin-bottom: -20px; 16 | } 17 | .jumbotron{ 18 | padding-bottom: 0px !important; 19 | border-bottom: 1px solid darkolivegreen !important; 20 | } 21 | .links1{ 22 | font-weight: lighter; 23 | text-align: right; 24 | margin-top: -20px; 25 | } 26 | .links2{ 27 | font-weight: lighter; 28 | text-align: right; 29 | margin-top: -20px; 30 | } 31 | .education{ 32 | 33 | text-align: left ; 34 | font-size: 23px ; 35 | background-color: #ececec; 36 | margin-top: -15px; 37 | } 38 | .tc{ 39 | line-height: 150%; 40 | margin-top: 10px; 41 | margin-bottom: 25px; 42 | list-style-type: circle; 43 | } -------------------------------------------------------------------------------- /Winter2018/shruti/todo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | To Do List 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
                  15 |

                  My Todolist

                  16 |
                  17 | 18 | 19 |
                  20 |
                  21 |
                  22 |
                  23 |
                  24 |
                  25 | 26 |
                  27 | 28 |
                  29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Winter2018/shruti/todo/new.css: -------------------------------------------------------------------------------- 1 | .jumbotron{ 2 | font-family: 'Joti One', cursive; !important; 3 | font-size: 20px; !important; 4 | text-align: center; !important; 5 | } 6 | .heading{ 7 | font-size: 60px; 8 | font-family: 'Joti One', cursive; 9 | margin-bottom: 25px; 10 | margin-top: -30px; 11 | } 12 | td{ 13 | font-size: 15px; 14 | } 15 | .done{ 16 | background-color: #66bb6a; 17 | } 18 | .delete{ 19 | background-color: #FC97A7; 20 | } 21 | .update{ 22 | background-color: #90caf9; 23 | } 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/test.txt: -------------------------------------------------------------------------------- 1 | Testing File --------------------------------------------------------------------------------