From abfb2f7ce902e83c8e435042d99791d71011ea07 Mon Sep 17 00:00:00 2001 From: Brady Grundy Date: Fri, 21 Sep 2018 11:47:26 -0400 Subject: [PATCH 1/6] worked on in class files --- javascript/dom.html | 6 +++--- javascript/get_dom.html | 11 ++++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/javascript/dom.html b/javascript/dom.html index 278d12f..87cdbcf 100644 --- a/javascript/dom.html +++ b/javascript/dom.html @@ -5,9 +5,9 @@ diff --git a/javascript/get_dom.html b/javascript/get_dom.html index 5e77b32..10c2677 100644 --- a/javascript/get_dom.html +++ b/javascript/get_dom.html @@ -4,10 +4,15 @@
INST377
+
From 09b86db74bd7288b11ae1dce4e1300594f248ee5 Mon Sep 17 00:00:00 2001 From: Brady Grundy Date: Mon, 24 Sep 2018 11:47:33 -0400 Subject: [PATCH 2/6] in class javascript --- javascript/objects.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/javascript/objects.html b/javascript/objects.html index dfa8c51..d1cf99e 100644 --- a/javascript/objects.html +++ b/javascript/objects.html @@ -3,13 +3,13 @@ @@ -38,17 +38,21 @@ sq.style.background = this.background; } // Task 3 + + this.putText = function(t){ + sq.innerHTML = t + } } s1 = new Square("200px", "50px", "grey", "square") // Task 1 - +s1.changeColor('blue') // Task 2 - +s2 = new Square("100px", "100px", "red", "square") - \ No newline at end of file + From 12feee2c27d470b900866e053cb33a38cd2fefb7 Mon Sep 17 00:00:00 2001 From: Brady Grundy Date: Fri, 12 Oct 2018 11:42:49 -0400 Subject: [PATCH 3/6] Update php_databases/db_demo/organization.php --- php_databases/db_demo/organization.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/php_databases/db_demo/organization.php b/php_databases/db_demo/organization.php index d354541..a2fb732 100644 --- a/php_databases/db_demo/organization.php +++ b/php_databases/db_demo/organization.php @@ -139,6 +139,16 @@ static function fetchTotalCount(mysqli $conn) { } // TODO #1: Implement a function to save an new organization + static function insert(mysqli $conn) { + $stmt = $conn->prepare("INSERT INTO organizations + (organization_name, organization_type, region, + country, country_income_level, sectors, description, + city, state_or_region, founding_year, size, type_of_data_used) + VALUES (?, ?, ?, + ?, ?, ?, + ?, ?, ?)"); + + } // return number of rows inserted // TODO #2: Implement a function to delete an organization. From 86c8789b7c6ceafea1645bc9490b4e584b8de25e Mon Sep 17 00:00:00 2001 From: Brady Grundy Date: Mon, 15 Oct 2018 01:02:33 -0400 Subject: [PATCH 4/6] Update assignment_1/table_manager.html --- assignment_1/table_manager.html | 50 ++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/assignment_1/table_manager.html b/assignment_1/table_manager.html index fb7660c..5e232a3 100644 --- a/assignment_1/table_manager.html +++ b/assignment_1/table_manager.html @@ -10,7 +10,7 @@ @@ -204,13 +204,37 @@ - \ No newline at end of file + From 4debe541338ed8fa223a3dbd3f41ce755a3d34a6 Mon Sep 17 00:00:00 2001 From: Brady Grundy Date: Mon, 15 Oct 2018 17:57:05 -0400 Subject: [PATCH 5/6] Update assignment_1/table_manager.html --- assignment_1/table_manager.html | 99 +++++++++++++++++++++++++-------- 1 file changed, 77 insertions(+), 22 deletions(-) diff --git a/assignment_1/table_manager.html b/assignment_1/table_manager.html index 5e232a3..4d923e9 100644 --- a/assignment_1/table_manager.html +++ b/assignment_1/table_manager.html @@ -1,5 +1,6 @@ +