Are you taking a ton of ischool awesome classes ? Do you find yourself surrounded by projects which makes you forget some of your other important tasks ? Fret no more! You have your own personal task list.
+
+
Mention what task you need to do in the textbox below.
+
click "Add Item to list" button and your task will be automatically saved to to-do list.
+
If you have completed your task, you can hit the 'mark as complete' button and it will move automatically to 'completed task list'
+
You can move your task from completed task list to to-do list by clicking the 'mark as incomplete' button
+
simple ! right? Lets get started!
+
+
+
+
+
Enter task to be done below
+
+
+
+
+
+
+
+
Here is your To-Do List
+
+
+
+
+
+
+
Here is your Completed Task List
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Assignment/HW3-JS_ToDo_List/main.js b/Assignment/HW3-JS_ToDo_List/main.js
new file mode 100644
index 0000000..fc3c1b6
--- /dev/null
+++ b/Assignment/HW3-JS_ToDo_List/main.js
@@ -0,0 +1,40 @@
+$(document).ready(function() {
+ $("#new-item").on('click', function() {
+ // once the document loads,
+ // create new item with this function
+ $("#header1").animate({marginLeft: "+=400px"});//animation for moving the header left to right
+ $("#header1").animate({marginLeft: "-=400px"});//animation for moving the header right to left
+ var todo_input = $("input").val();
+ $("#to-do").prepend('
'+" " +todo_input+ " " + '
');
+ $("#to-do").animate({fontSize: '2em'}, "slow");
+ $("#to-do").animate({fontSize: '1em'}, "slow");
+ });
+
+
+ $("#to-do").on('click', "button", function() {
+ // move from list_todo container to
+ // list_completed container
+ $("#header2").animate({marginLeft: "+=400px"});//animation for moving the header left to right
+ $("#header2").animate({marginLeft: "-=400px"});//animation for moving the header right to left
+ $(this).html("Unmark as Complete");
+ var completed = $(this).parent();
+ $("#completed").prepend(completed);
+ $("#completed").animate({fontSize: '2em'}, "slow");
+ $("#completed").animate({fontSize: '1em'}, "slow");
+
+ });
+
+ $("#list_completed").on('click', "button", function() {
+ // move back from list_completed container to
+ // list_todo container
+ $("#header2").animate({marginLeft: "+=400px"}); //animation for moving header2 from left to right
+ $("#header2").animate({marginLeft: "-=400px"});//animation for moving header2 from right to left
+ $("#header1").animate({marginLeft: "+=400px"});//animation for moving the header1 left to right
+ $("#header1").animate({marginLeft: "-=400px"});//animation for moving header2 from right to left
+ $(this).html("completed?");
+ var doAgain = $(this).parent();
+ $("#to-do").prepend(doAgain);
+
+ });
+});
+
diff --git a/Assignment/HW3-JS_ToDo_List/style.css b/Assignment/HW3-JS_ToDo_List/style.css
new file mode 100644
index 0000000..13b0202
--- /dev/null
+++ b/Assignment/HW3-JS_ToDo_List/style.css
@@ -0,0 +1,59 @@
+/* Add CSS */
+/*----------------- CSS RESET ------------------*/
+
+body{
+ background-image: url("https://ae01.alicdn.com/kf/HTB1gYMOIXXXXXX1XVXXq6xXFXXXu/12x8FT-font-b-Light-b-font-Brown-Orange-Wooden-Planks-font-b-Wood-b-font-font.jpg");
+ width: 980px;
+ margin: 20px 35px 50px;
+ font-size: 16px;
+ line-height: 1.7;
+}
+#instructions{
+ width : 90%;
+ background-image:url("http://www.dreamtemplate.com/dreamcodes/bg_images/color/c10.jpg");
+ font-style: italic;
+ font-color: pink;
+ color: white;
+ padding: 15px;
+
+}
+
+.todoImage{
+ float: left;
+}
+
+
+.completedImage{
+ float: left;
+}
+#to-do,
+#completed{
+ display: block;
+ margin-left: 50%;
+ margin-top: 15%;
+}
+
+
+h1,h2,h3 {
+ color: white;
+}
+
+#list_todo{
+ background-color: yellow;
+ width: 80%;
+ display: block;
+ margin-left: 50px;
+ font-family: helvetica;
+ font-color: blue;
+ display: inline-block;
+}
+
+#list_completed{
+ background-color: pink;
+ width: 80%;
+ display: block;
+ margin-left: 50px;
+ font-family: sans-serif;
+ color: green;
+ display: inline-block;
+}
\ No newline at end of file
diff --git a/Assignment/HW4_SoundCloud/.DS_Store b/Assignment/HW4_SoundCloud/.DS_Store
new file mode 100644
index 0000000..c396f22
Binary files /dev/null and b/Assignment/HW4_SoundCloud/.DS_Store differ
diff --git a/Assignment/HW4_SoundCloud/_css/.DS_Store b/Assignment/HW4_SoundCloud/_css/.DS_Store
new file mode 100644
index 0000000..93da8ce
Binary files /dev/null and b/Assignment/HW4_SoundCloud/_css/.DS_Store differ
diff --git a/Assignment/HW4_SoundCloud/_css/style.css b/Assignment/HW4_SoundCloud/_css/style.css
new file mode 100644
index 0000000..ae0bd46
--- /dev/null
+++ b/Assignment/HW4_SoundCloud/_css/style.css
@@ -0,0 +1,44 @@
+
+body{
+ background-image: url("http://pre10.deviantart.net/3046/th/pre/f/2010/320/d/1/website_background_by_modsoft-d3302jz.png");
+ color: white;
+ margin-left: 20px;
+}
+
+h2{
+ padding-top: 3%;
+ background-image: url("https://images.sharefaith.com/images/3/1335548756984_58/img_mouseover3.jpg");
+ height: 13%;
+ text-align: center;
+}
+.song {
+ display: flex;
+ margin-bottom: 3%;
+}
+
+article {
+ display: flex;
+ flex-direction: row;
+}
+
+
+li {
+ list-style: none;
+}
+
+
+.song-details {
+ margin-left: 3%;
+}
+
+#search-results, #playlist {
+ margin-top: 3%;
+}
+
+
+
+
+.h3style {
+ padding-left: 200px;
+}
+
diff --git a/Assignment/HW4_SoundCloud/_js/.DS_Store b/Assignment/HW4_SoundCloud/_js/.DS_Store
new file mode 100644
index 0000000..4074f24
Binary files /dev/null and b/Assignment/HW4_SoundCloud/_js/.DS_Store differ
diff --git a/Assignment/HW4_SoundCloud/_js/main.js b/Assignment/HW4_SoundCloud/_js/main.js
new file mode 100644
index 0000000..8f0a466
--- /dev/null
+++ b/Assignment/HW4_SoundCloud/_js/main.js
@@ -0,0 +1,64 @@
+/* jQuery code to run the music playlist*/
+
+$(document).on("click", ".playlist-add", function () {
+ var same = $(this).parent().parent().clone();
+ same.children(".song-details").children(".playlist-add").remove();
+ same.children(".song-details").append("");
+ $('#songsList').prepend(same);
+});
+
+
+$(document).ready(
+ $("#music").on("click", function() {
+ searchSongsAPI($("#find").val());
+ })
+);
+
+/* jQuery code to play music*/
+$(document).on("click", ".play", function () {
+ playSong($(this).attr('id'));
+});
+
+/* jQuery code for down button functionality*/
+$(document).on("click", ".down", function() {
+ searchedSong = $(this).parent().parent();
+ searchedSong.insertAfter(searchedSong.next());
+});
+
+/* jQuery code to search the music*/
+function searchSongsAPI(searchQuery) {
+ $("#results").children("#songResults").children().remove();
+ $.get("https://api.soundcloud.com/tracks?client_id=b3179c0738764e846066975c2571aebb",
+ {'q': searchQuery,
+ 'limit': '150'},
+ function(data) {
+ for (var i = 0; i < 18; i++) {
+ $("#songResults").append("
Browse through millions of songs here and create your own playlist!
+
Type whatever you want to search for in the searchbox below
+
Loved the song ? Add it to your Playlist and play it from there!
+
You can remove a song from playlist by clicking on remove song button or reorder the position of song in the playlist by clicking on the up and down buttons !
+
+
+
+
+
Your Searched Songs
+
+
+
Songs Playlist
+
+
+
+
+
\ No newline at end of file
diff --git a/Assignment/Homework_1 - HTML/.DS_Store b/Assignment/Homework_1 - HTML/.DS_Store
new file mode 100644
index 0000000..0558645
Binary files /dev/null and b/Assignment/Homework_1 - HTML/.DS_Store differ
diff --git a/Assignment/Homework_1 - HTML/.DS_Store.orig b/Assignment/Homework_1 - HTML/.DS_Store.orig
new file mode 100644
index 0000000..1be6b80
Binary files /dev/null and b/Assignment/Homework_1 - HTML/.DS_Store.orig differ
diff --git a/Assignment/Homework_1 - HTML/area.html b/Assignment/Homework_1 - HTML/area.html
new file mode 100644
index 0000000..301d879
--- /dev/null
+++ b/Assignment/Homework_1 - HTML/area.html
@@ -0,0 +1,28 @@
+
+
+
+
+Area
+
+
+
+
+
+
+
Pickachu can be seen napping in a bright sunlight. It has two red dots
+on its cheeks. By practicing html and css Pikachu can learn confusion.
+Pikachu likes to steal computer chargers from sleeping college students.
+
Pickachu can be seen napping in a bright sunlight. It has two red dots
+on its cheeks. By practicing html and css Pikachu can learn confusion.
+Pikachu likes to steal computer chargers from sleeping college students.
+
Pickachu can be seen napping in a bright sunlight. It has two red dots
+on its cheeks. By practicing html and css Pikachu can learn confusion.
+Pikachu likes to steal computer chargers from sleeping college students.
+
Pickachu can be seen napping in a bright sunlight. It has two red dots
+on its cheeks. By practicing html and css Pikachu can learn confusion.
+Pikachu likes to steal computer chargers from sleeping college students.
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Assignment/Homework_2 - CSS_ResponsiveDesign/pokedex.html b/Assignment/Homework_2 - CSS_ResponsiveDesign/pokedex.html
new file mode 100755
index 0000000..4429293
--- /dev/null
+++ b/Assignment/Homework_2 - CSS_ResponsiveDesign/pokedex.html
@@ -0,0 +1,83 @@
+
+
+
+ Pokemon
+
+
+
+
+
+
+
+
+
+
+
+
Pokedex
+
+
+
+
+
+
+
+
No. 001 Pikachu
+
+
+
+
No. 001 Pikachu
+
+
+
+
+
- Electric type
- Gentle temperament
- Grasslands
+
+
+
+
+
+ - Electric type - Gentle temperament - Grasslands
+
+
+
+ Pickahu can be seen napping in a bright sunlight. It has two red dots on its cheeks. By practicing html and css Pikachu can learn confusion. Pikachu likes to steal computer chargers from sleeping college students.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Labs/.DS_Store b/Labs/.DS_Store
new file mode 100644
index 0000000..11e7653
Binary files /dev/null and b/Labs/.DS_Store differ
diff --git a/Labs/Lab 4 - Responsive Design/.DS_Store b/Labs/Lab 4 - Responsive Design/.DS_Store
new file mode 100644
index 0000000..64513da
Binary files /dev/null and b/Labs/Lab 4 - Responsive Design/.DS_Store differ
diff --git a/Labs/Lab10-sql/.DS_Store b/Labs/Lab10-sql/.DS_Store
new file mode 100644
index 0000000..8b60db9
Binary files /dev/null and b/Labs/Lab10-sql/.DS_Store differ
diff --git a/Labs/Lab10-sql/Lab-SQLite.zip b/Labs/Lab10-sql/Lab-SQLite.zip
new file mode 100644
index 0000000..398682c
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite.zip differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/.DS_Store b/Labs/Lab10-sql/Lab-SQLite/.DS_Store
new file mode 100644
index 0000000..60a1312
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/.DS_Store differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/Untitled.rtf b/Labs/Lab10-sql/Lab-SQLite/Untitled.rtf
new file mode 100644
index 0000000..5be5d02
--- /dev/null
+++ b/Labs/Lab10-sql/Lab-SQLite/Untitled.rtf
@@ -0,0 +1,8 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1504
+{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}
+{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red255\green255\blue255;}
+{\*\expandedcolortbl;\csgray\c100000;\csgray\c0;\csgray\c100000;}
+\margl1440\margr1440\vieww10800\viewh8400\viewkind0
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
+
+\f0\fs22 \cf2 \cb3 \CocoaLigature0 sqlite3 app.db < schema.sql}
diff --git a/Labs/Lab10-sql/Lab-SQLite/__pycache__/config.cpython-35.pyc b/Labs/Lab10-sql/Lab-SQLite/__pycache__/config.cpython-35.pyc
new file mode 100644
index 0000000..263c906
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/__pycache__/config.cpython-35.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app.db b/Labs/Lab10-sql/Lab-SQLite/app.db
new file mode 100644
index 0000000..069c33c
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app.db differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/.DS_Store b/Labs/Lab10-sql/Lab-SQLite/app/.DS_Store
new file mode 100644
index 0000000..488bf23
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/.DS_Store differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/__init__.py b/Labs/Lab10-sql/Lab-SQLite/app/__init__.py
new file mode 100755
index 0000000..353d3af
--- /dev/null
+++ b/Labs/Lab10-sql/Lab-SQLite/app/__init__.py
@@ -0,0 +1,8 @@
+from flask import Flask
+from flask.ext.sqlalchemy import SQLAlchemy
+
+app = Flask(__name__)
+app.config.from_object('config')
+db = SQLAlchemy(app)
+
+from app import views, models
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/__init__.pyc b/Labs/Lab10-sql/Lab-SQLite/app/__init__.pyc
new file mode 100644
index 0000000..7773f19
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/__init__.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/__init__.cpython-35.pyc b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/__init__.cpython-35.pyc
new file mode 100644
index 0000000..f02e5a3
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/__init__.cpython-35.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/forms.cpython-35.pyc b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/forms.cpython-35.pyc
new file mode 100644
index 0000000..74c0dc0
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/forms.cpython-35.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/models.cpython-35.pyc b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/models.cpython-35.pyc
new file mode 100644
index 0000000..d19eaf4
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/models.cpython-35.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/views.cpython-35.pyc b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/views.cpython-35.pyc
new file mode 100644
index 0000000..a22aeaf
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/__pycache__/views.cpython-35.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/forms.py b/Labs/Lab10-sql/Lab-SQLite/app/forms.py
new file mode 100755
index 0000000..a0d42b1
--- /dev/null
+++ b/Labs/Lab10-sql/Lab-SQLite/app/forms.py
@@ -0,0 +1,9 @@
+from flask.ext.wtf import Form
+from wtforms import StringField, IntegerField
+from flask_wtf.html5 import EmailField
+from wtforms.validators import DataRequired
+
+class CustomerForm(Form):
+ company = StringField('company', validators=[DataRequired()])
+ email = EmailField('email', validators=[DataRequired()])
+
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/forms.pyc b/Labs/Lab10-sql/Lab-SQLite/app/forms.pyc
new file mode 100644
index 0000000..669b7b7
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/forms.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/models.py b/Labs/Lab10-sql/Lab-SQLite/app/models.py
new file mode 100755
index 0000000..7545aad
--- /dev/null
+++ b/Labs/Lab10-sql/Lab-SQLite/app/models.py
@@ -0,0 +1,16 @@
+import sqlite3 as sql
+
+def insert_customer(company, email):
+ # SQL statement to insert into database goes here
+ with sql.connect("app.db") as con:
+ cur = con.cursor()
+ cur.execute("INSERT INTO customers (company, email) values (?,?)", (company, email))
+ con.commit()
+
+def retrieve_customers():
+ # SQL statement to query database goes here
+ with sql.connect("app.db") as con:
+ con.row_factory = sql.Row
+ cur = con.cursor()
+ result = cur.execute("select * from customers").fetchall()
+ return result
\ No newline at end of file
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/models.pyc b/Labs/Lab10-sql/Lab-SQLite/app/models.pyc
new file mode 100644
index 0000000..6184eb3
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/models.pyc differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/templates/.DS_Store b/Labs/Lab10-sql/Lab-SQLite/app/templates/.DS_Store
new file mode 100644
index 0000000..d954868
Binary files /dev/null and b/Labs/Lab10-sql/Lab-SQLite/app/templates/.DS_Store differ
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/templates/base.html b/Labs/Lab10-sql/Lab-SQLite/app/templates/base.html
new file mode 100755
index 0000000..db51f24
--- /dev/null
+++ b/Labs/Lab10-sql/Lab-SQLite/app/templates/base.html
@@ -0,0 +1,14 @@
+
+
+ {% if title %}
+ {{ title }} - ACME
+ {% else %}
+ Welcome to ACME Aircraft Parts
+ {% endif %}
+
+
+
+
+ {% block content %}{% endblock %}
+
+
diff --git a/Labs/Lab10-sql/Lab-SQLite/app/templates/customer.html b/Labs/Lab10-sql/Lab-SQLite/app/templates/customer.html
new file mode 100755
index 0000000..878145d
--- /dev/null
+++ b/Labs/Lab10-sql/Lab-SQLite/app/templates/customer.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+{% block content %}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Labs/lab9-flask/flaskLab2/app/templates/login.html b/Labs/lab9-flask/flaskLab2/app/templates/login.html
new file mode 100755
index 0000000..cbd8956
--- /dev/null
+++ b/Labs/lab9-flask/flaskLab2/app/templates/login.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+{%block title %}
+ Login
+{% endblock %}
+
+{% block content %}
+
+
Hi There! Welcome to Ape Ask, the leading online survey site.
+
+
Let's get you logged in
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/Labs/lab9-flask/flaskLab2/app/templates/not_authorized.html b/Labs/lab9-flask/flaskLab2/app/templates/not_authorized.html
new file mode 100755
index 0000000..99a0c25
--- /dev/null
+++ b/Labs/lab9-flask/flaskLab2/app/templates/not_authorized.html
@@ -0,0 +1,13 @@
+
+
+
+
+ Oops!
+
+
+
Uh Oh! You're not authorized
+
+
+ Take me back home, already!
+
+
\ No newline at end of file
diff --git a/Labs/lab9-flask/flaskLab2/app/templates/page_not_found.html b/Labs/lab9-flask/flaskLab2/app/templates/page_not_found.html
new file mode 100755
index 0000000..dadcc99
--- /dev/null
+++ b/Labs/lab9-flask/flaskLab2/app/templates/page_not_found.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block title %}
+ Oops!
+{% endblock %}
+
+{% block content %}
+
Oh, Pooh Bear! You're stuck because we don't have that page for you.
+
+
+ Go back!
+{% endblock %}
\ No newline at end of file
diff --git a/Labs/lab9-flask/flaskLab2/app/templates/results.html b/Labs/lab9-flask/flaskLab2/app/templates/results.html
new file mode 100755
index 0000000..76b49d2
--- /dev/null
+++ b/Labs/lab9-flask/flaskLab2/app/templates/results.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% block title %}
+ Survey
+{% endblock %}
+
+{% block header %}
+ {{ super() }}
+
+{% endblock %}
+
+{% block content %}
+
Great news - your results are in! Check it out...
+
+
Here are some of your favorite things
+
+ Your favorite course is {{ surveyResponse['course']}}
+ Your favorite movie is {{ surveyResponse['movie']}}
+ Your favorite vacation spot is {{ surveyResponse['vacation']}}
+
+
Wow! Your front end skillz are getting sharp!
+ Before IO Lab, your front end skillz were at a {{ surveyResponse['fe-before']}}
+ But in just a few short weeks of IO Lab, your front end skillz are now a {{ surveyResponse['fe-after']}}
+
+
+ Want your survey results emailed to you?
+ Yes!
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/Labs/lab9-flask/flaskLab2/app/templates/survey.html b/Labs/lab9-flask/flaskLab2/app/templates/survey.html
new file mode 100755
index 0000000..ff2a917
--- /dev/null
+++ b/Labs/lab9-flask/flaskLab2/app/templates/survey.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% block title %}
+ Survey
+{% endblock %}
+
+
+{% block header %}
+{{super()}}
+
+
+{% endblock %}
+
+{% block content %}
+
+