diff --git a/.gitignore b/.gitignore index f777683..c746d6d 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /Assignments/JavaScript/Chapter3Examples/nbproject/private/ /Assignments/JavaScript/lab12js/nbproject/private/ /Assignments/JavaScript/MP09_CalebFontenot/nbproject/private/ +/Assignments/JavaScript/MP10_CalebFontenot/nbproject/private/ diff --git a/Assignments/JavaScript/MP10_CalebFontenot/.bowerrc b/Assignments/JavaScript/MP10_CalebFontenot/.bowerrc new file mode 100644 index 0000000..0ba26f2 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "public_html/bower_components" +} diff --git a/Assignments/JavaScript/MP10_CalebFontenot/Gruntfile.js b/Assignments/JavaScript/MP10_CalebFontenot/Gruntfile.js new file mode 100644 index 0000000..496183b --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/Gruntfile.js @@ -0,0 +1,9 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/Gruntfile.js to edit this template + */ +module.exports = function (grunt) { + // Project configuration. + grunt.initConfig({ + }); +}; diff --git a/Assignments/JavaScript/MP10_CalebFontenot/bower.json b/Assignments/JavaScript/MP10_CalebFontenot/bower.json new file mode 100644 index 0000000..6418a4d --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/bower.json @@ -0,0 +1,13 @@ +{ + "name": "MP10_CalebFontenot", + "version": "1.0.0", + "main": "path/to/main.css", + "ignore": [ + ".jshintrc", + "**/*.txt" + ], + "dependencies": { + }, + "devDependencies": { + } +} diff --git a/Assignments/JavaScript/MP10_CalebFontenot/gulpfile.js b/Assignments/JavaScript/MP10_CalebFontenot/gulpfile.js new file mode 100644 index 0000000..eccfb02 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/gulpfile.js @@ -0,0 +1,10 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/gulpfile.js to edit this template + */ + +var gulp = require('gulp'); + +gulp.task('default', function () { + // place code for your default task here +}); diff --git a/Assignments/JavaScript/MP10_CalebFontenot/nbproject/project.properties b/Assignments/JavaScript/MP10_CalebFontenot/nbproject/project.properties new file mode 100644 index 0000000..a591647 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/nbproject/project.properties @@ -0,0 +1,5 @@ +file.reference.MP10_CalebFontenot-public_html=public_html +file.reference.MP10_CalebFontenot-test=test +files.encoding=UTF-8 +site.root.folder=${file.reference.MP10_CalebFontenot-public_html} +test.folder=${file.reference.MP10_CalebFontenot-test} diff --git a/Assignments/JavaScript/MP10_CalebFontenot/nbproject/project.xml b/Assignments/JavaScript/MP10_CalebFontenot/nbproject/project.xml new file mode 100644 index 0000000..a03d432 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/nbproject/project.xml @@ -0,0 +1,9 @@ + + + org.netbeans.modules.web.clientproject + + + MP10_CalebFontenot + + + diff --git a/Assignments/JavaScript/MP10_CalebFontenot/package.json b/Assignments/JavaScript/MP10_CalebFontenot/package.json new file mode 100644 index 0000000..0261f2a --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/package.json @@ -0,0 +1,8 @@ +{ + "name": "MP10_CalebFontenot", + "version": "1.0.0", + "keywords": ["util", "functional", "server", "client", "browser"], + "author": "caleb", + "contributors": [], + "dependencies": {} +} diff --git a/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 3.html b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 3.html new file mode 100644 index 0000000..f7b0229 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 3.html @@ -0,0 +1,36 @@ + + + + + Table Generator + + + + + + diff --git a/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 4.html b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 4.html new file mode 100644 index 0000000..25c9636 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 4.html @@ -0,0 +1,20 @@ + + + + + TODO supply a title + + + + + diff --git a/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 5.html b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 5.html new file mode 100644 index 0000000..41e2cda --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 5.html @@ -0,0 +1,36 @@ + + + + + Bacteria cultivation calculator + + + + + + + diff --git a/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 6.html b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 6.html new file mode 100644 index 0000000..6c8f826 --- /dev/null +++ b/Assignments/JavaScript/MP10_CalebFontenot/public_html/Problem 6.html @@ -0,0 +1,42 @@ + + + + + TODO supply a title + + + + + + diff --git a/Assignments/JavaScript/ch05/ch05/.DS_Store b/Assignments/JavaScript/ch05/ch05/.DS_Store new file mode 100755 index 0000000..a9f4033 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/.DS_Store differ diff --git a/Assignments/JavaScript/ch05/ch05/border.jpg b/Assignments/JavaScript/ch05/ch05/border.jpg new file mode 100755 index 0000000..75703c9 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/border.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/bracelet1.jpg b/Assignments/JavaScript/ch05/ch05/bracelet1.jpg new file mode 100755 index 0000000..5f0ba56 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/bracelet1.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/bracelet2.jpg b/Assignments/JavaScript/ch05/ch05/bracelet2.jpg new file mode 100755 index 0000000..ba8ee14 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/bracelet2.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/bracelet3.jpg b/Assignments/JavaScript/ch05/ch05/bracelet3.jpg new file mode 100755 index 0000000..e948bd2 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/bracelet3.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/carla.css b/Assignments/JavaScript/ch05/ch05/carla/carla.css new file mode 100755 index 0000000..df49ebf --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/carla/carla.css @@ -0,0 +1,142 @@ +body { + background-color: #FFFFFF; + background-image: url(background.gif); + color: #0000FF; + font-family: Geneva, Arial, Helvetica, sans-serif; + font-size: 14px; +} +#container { margin-left: auto; + margin-right: auto; + width:85%; + min-width:700px; + } + + +#logo { + text-align:center; + margin: 0; + font-family: Verdana, Arial, Helvetica, sans-serif; + padding-top: 30px; + padding-bottom: 20px; + +} +#nav { + float: left; + width: 200px; + padding-top: 10px; + text-align:left; + color: #FF0000; + font-size: 14px; +} +#nav a { + text-decoration:none; + margin: 15px; + display: block; + color: #FF0000; + font-size: 14px; + font-weight: bold; +} +#content { + margin-left: 150px; + padding: 30px; + overflow:auto; + border: medium groove #0000FF; + line-height: 135%; + +} + +.floatright {padding-left:20px; + float:right; + } +.floatleft { + float:left; + padding: 2px 30px 20px; +} +#footer { + font-size: 16px; + font-style: normal; + text-align: justify; + border-top: thin none; + padding-top: 20px; + padding-bottom: 20px; + color: #FF0000; + font-family: Georgia, "Times New Roman", Times, serif; + font-weight: bold; +} + +h2 { text-transform: uppercase; + color: #0000FF; + font-size: 36px; + border-bottom: 1px none; + margin-right: 20px; +} +h3 { + color: #0000FF; + border-bottom: thin none; + margin-right: auto; + text-align: left; + padding-top: 20px; + padding-right: 100px; + padding-bottom: 20px; + padding-left: 100px; + border-top-style: none; + border-right-style: none; + border-left-style: none; +} +.details { padding-left:20%; + padding-right:20%; +} + + +img {border:0 none; } + + +.content { + margin: 20px; + padding: 20px; +} +a { + color: #FF0000; + text-decoration: none; + margin: 15px; + color: #FF0000; + font-size: 14px; + font-weight: bold; +} +a:hover { + color: #FFFF00; + background-color: #0000FF; +} +h4 { + line-height: 150%; + margin-right: 20%; + margin-left: 15%; + text-align: center; +} +h1 { + font-family: Geneva, Arial, Helvetica, sans-serif; + font-size: 36pt; + text-align: center; + margin-right: 15%; + margin-left: 20%; +} +p { + font-family: Georgia, "Times New Roman", Times, serif; + font-size: 14px; + line-height: 120%; + font-weight: bold; + color: #0000FF; +} +.flt_img { + float: none; + padding-top: 3px; + padding-right: 20px; + padding-bottom: 3px; + padding-left: 20px; +} +specialh4 { + line-height: 150%; + margin-right: 20%; + margin-left: 15%; + text-align: center; +} diff --git a/Assignments/JavaScript/ch05/ch05/carla/carla_grammar.html b/Assignments/JavaScript/ch05/ch05/carla/carla_grammar.html new file mode 100755 index 0000000..59c94be --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/carla/carla_grammar.html @@ -0,0 +1,91 @@ + + + +Carla's Classroom | Create Your Story + + + + + + +
+ + +

Create Your Story

+

A Grammar Lesson

+

 

+
+
+

Home + Meet Carla + Reading + Writing + Arithmetic +

+
+ + + + + + + + + +
+ + + + + + +
Here are your words:
teacherjumpsdownboyfliesout
dogmelovesgirlstandsunderwater
bikeridesupcatswimsfast
+

My Story

sentence 1
sentence 2
sentence 3
sentence 4
sentence 5
sentence 6
+
+ +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/arith_big.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/arith_big.jpg new file mode 100755 index 0000000..2779567 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/arith_big.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/arith_button.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/arith_button.jpg new file mode 100755 index 0000000..59c70bd Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/arith_button.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/carla_button.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/carla_button.jpg new file mode 100755 index 0000000..75cf743 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/carla_button.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/carla_pic.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/carla_pic.jpg new file mode 100755 index 0000000..5244298 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/carla_pic.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/owl_button.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/owl_button.jpg new file mode 100755 index 0000000..096b4b9 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/owl_button.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/owl_logo.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/owl_logo.jpg new file mode 100755 index 0000000..a46e016 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/owl_logo.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/read_button.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/read_button.jpg new file mode 100755 index 0000000..6894d8f Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/read_button.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/write_button.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/write_button.jpg new file mode 100755 index 0000000..519d4bf Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/write_button.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/images/writing_big.jpg b/Assignments/JavaScript/ch05/ch05/carla/images/writing_big.jpg new file mode 100755 index 0000000..d423fa1 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/carla/images/writing_big.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/carla/reading.html b/Assignments/JavaScript/ch05/ch05/carla/reading.html new file mode 100755 index 0000000..d35b072 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/carla/reading.html @@ -0,0 +1,43 @@ + + + +Carla's Classroom | Reading Lessons + + + + + +
+ + +

Carla's Classroom

+

 

+
+
+

Home + Meet Carla + Reading + Writing + Arithmetic +

+
+
+

Reading Lessons:

+

Create Your Own Story: A Grammar Lesson

+
+ +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_1.html b/Assignments/JavaScript/ch05/ch05/ex_5_1.html new file mode 100755 index 0000000..9c3d2d4 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_1.html @@ -0,0 +1,27 @@ + + + + Example 5.1 + + + + +
+

 

+

Exam 1 Scores

+

Click to enter students' scores

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_11.html b/Assignments/JavaScript/ch05/ch05/ex_5_11.html new file mode 100755 index 0000000..144a592 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_11.html @@ -0,0 +1,28 @@ + + + + Example 5.11 + + + + +
+

 

+

Count By Threes

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_12.html b/Assignments/JavaScript/ch05/ch05/ex_5_12.html new file mode 100755 index 0000000..3ba9182 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_12.html @@ -0,0 +1,33 @@ + + + + Example 5.12 + + + + +
+

 

+

Students who must do the retake

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_13.html b/Assignments/JavaScript/ch05/ch05/ex_5_13.html new file mode 100755 index 0000000..9858bbc --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_13.html @@ -0,0 +1,30 @@ + + + + Example 5.13 + + + + +
+

 

+

Desk Checking a Program With Nested Loops

+

Click to begin the program

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_14.html b/Assignments/JavaScript/ch05/ch05/ex_5_14.html new file mode 100755 index 0000000..3587312 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_14.html @@ -0,0 +1,35 @@ + + + + Example 5.14 + + + + +
+

 

+

Desk Checking a Program With Nested Loops

+

Click to begin the program

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_15.html b/Assignments/JavaScript/ch05/ch05/ex_5_15.html new file mode 100755 index 0000000..a74f03f --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_15.html @@ -0,0 +1,38 @@ + + + + Example 5.15 + + + + +
+

 

+

Subtotals

+

Click to enter receipts

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_16_war.html b/Assignments/JavaScript/ch05/ch05/ex_5_16_war.html new file mode 100755 index 0000000..9d38637 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_16_war.html @@ -0,0 +1,44 @@ + + + + Example 5.17 + + + + +
+

 

+

Play a Card Game: War

+

Click to begin the game

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_17.html b/Assignments/JavaScript/ch05/ch05/ex_5_17.html new file mode 100755 index 0000000..69debd0 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_17.html @@ -0,0 +1,81 @@ + + + + Example 5.17 + + + + +
+

 

+

Shapes

+

Pick a Shape

+

    +     +

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_18.html b/Assignments/JavaScript/ch05/ch05/ex_5_18.html new file mode 100755 index 0000000..b97c9e2 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_18.html @@ -0,0 +1,29 @@ + + + + Example 5.18 + + + + +
+

 

+

Name in a Box

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_19.html b/Assignments/JavaScript/ch05/ch05/ex_5_19.html new file mode 100755 index 0000000..263b3bf --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_19.html @@ -0,0 +1,28 @@ + + + + Example 5.19 + + + + +
+

 

+

Name in a Box

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_2.html b/Assignments/JavaScript/ch05/ch05/ex_5_2.html new file mode 100755 index 0000000..b607f55 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_2.html @@ -0,0 +1,30 @@ + + + + Example 5.2 + + + + +
+

 

+

Exam 1 Scores

+

Click to enter students' scores

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_20.html b/Assignments/JavaScript/ch05/ch05/ex_5_20.html new file mode 100755 index 0000000..a37f50d --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_20.html @@ -0,0 +1,19 @@ + + + + Example 5.20 + + +
+

 

+

The Rollover

+

To change the image, roll your mouse over it

+ + +
+ +the winner +

Change me!

+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_21.html b/Assignments/JavaScript/ch05/ch05/ex_5_21.html new file mode 100755 index 0000000..f511bb5 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_21.html @@ -0,0 +1,18 @@ + + + + Example 5.21 + + +
+

 

+

Change the Image

+

To change the image, double-click on it

+ + +
+ +the winner +

Change me!

+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_22.html b/Assignments/JavaScript/ch05/ch05/ex_5_22.html new file mode 100755 index 0000000..7b10ecc --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_22.html @@ -0,0 +1,38 @@ + + + + Example 5.22 + + + +
+

 

+

Swapping Images

+

+ +
+troll +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_23.html b/Assignments/JavaScript/ch05/ch05/ex_5_23.html new file mode 100755 index 0000000..3d5bfc0 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_23.html @@ -0,0 +1,38 @@ + + + + Example 5.23 + + + +
+

 

+

Swapping Images

+

+ +
+troll +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_23a.htm b/Assignments/JavaScript/ch05/ch05/ex_5_23a.htm new file mode 100755 index 0000000..86d8a36 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_23a.htm @@ -0,0 +1,10 @@ + + +Example 5.23a: Page One + + +

See what's on the next page...

+

+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_23b.htm b/Assignments/JavaScript/ch05/ch05/ex_5_23b.htm new file mode 100755 index 0000000..cbb0305 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_23b.htm @@ -0,0 +1,10 @@ + + +Example 5.23b: Page Two + + +

You can go back too...

+

+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_27.html b/Assignments/JavaScript/ch05/ch05/ex_5_27.html new file mode 100755 index 0000000..c605a98 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_27.html @@ -0,0 +1,31 @@ + + + + Exercise 5.27 + + + + +
+

 

+

Loop Exercises

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_3.html b/Assignments/JavaScript/ch05/ch05/ex_5_3.html new file mode 100755 index 0000000..4ec2993 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_3.html @@ -0,0 +1,41 @@ + + + + Example 5.3 + + + + +
+

 

+

Exam 1 Scores

+

Click to enter students' scores

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_4.html b/Assignments/JavaScript/ch05/ch05/ex_5_4.html new file mode 100755 index 0000000..4c86ccc --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_4.html @@ -0,0 +1,36 @@ + + + + Example 5.4 + + + + +
+

 

+

Exam 1 Scores

+

Click to enter students' scores

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_5.html b/Assignments/JavaScript/ch05/ch05/ex_5_5.html new file mode 100755 index 0000000..189d537 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_5.html @@ -0,0 +1,37 @@ + + + + Example 5.5 + + + + +
+

 

+

Using Math Methods to Convert Floating Point Numbers to Integers

+

 

+

+
+ + + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_6.html b/Assignments/JavaScript/ch05/ch05/ex_5_6.html new file mode 100755 index 0000000..2f1e481 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_6.html @@ -0,0 +1,62 @@ + + + + Example 5.6 + + + + +
+

 

+

Exam 1

+

Get a summary of exam results

+

+

Get an individual student's results

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_7.html b/Assignments/JavaScript/ch05/ch05/ex_5_7.html new file mode 100755 index 0000000..95a9bbf --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_7.html @@ -0,0 +1,66 @@ + + + + Example 5.7 + + + + +
+

 

+

Exam 1

+

Get a summary of exam results

+

+

Get an individual student's results

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_9_10.html b/Assignments/JavaScript/ch05/ch05/ex_5_9_10.html new file mode 100755 index 0000000..5e657f9 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/ex_5_9_10.html @@ -0,0 +1,88 @@ + + + + Example 5.9 and 10 + + + + + + + + + + + + + +
+

Order Your Jewelry Now!

+
ring1
A: ring 1, cost: $ 5.95
ring2
B: ring 2, cost: $ 5.95
ring3
C: ring 3, cost: $ 8.95
bracelet1
D: bracelet 1, cost: $ 12.95
bracelet2
E: bracelet 2, cost: $ 14.95
bracelet3
F: bracelet 3, cost: $ 18.95
pendant1
G: pendant 1, cost: $ 15.95
pendant2
H: pendant 2, cost: $ 21.95
pendant3
I: pendant 3, cost: $ 21.95


+ + diff --git a/Assignments/JavaScript/ch05/ch05/greg/.DS_Store b/Assignments/JavaScript/ch05/ch05/greg/.DS_Store new file mode 100755 index 0000000..00657f2 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/.DS_Store differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/battleground.html b/Assignments/JavaScript/ch05/ch05/greg/battleground.html new file mode 100755 index 0000000..fea4a63 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/greg/battleground.html @@ -0,0 +1,115 @@ + + + + + Greg's Gambits | The Battleground + + + + + + +
+ +

The Battleground

+
+ +
+ + + + + + + + + + + + + + +
Wizard uses: Troll uses:
Weapon goes hereWeapon goes here
The winner is:
 
Wizard points: Troll points:
100 100
+
+ +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/greg/greg.css b/Assignments/JavaScript/ch05/ch05/greg/greg.css new file mode 100755 index 0000000..a1b1088 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/greg/greg.css @@ -0,0 +1,125 @@ +body { background-color: #000040; + background-image: url(background.gif); + color: #88ffff; + font-family: Verdana, Arial, sans-serif; +} +#container { margin-left: auto; + margin-right: auto; + width:80%; + min-width:700px; + } + + +#logo { + text-align:center; + margin: 0; + font-family: Geneva, Arial, Helvetica, sans-serif; + padding-top: 30px; + padding-bottom: 20px; + +} +#nav { + float: left; + width: 200px; + padding-top: 10px; + text-align:left; + color: #88FFFF; + font-size: 12px; +} +#nav a {text-decoration:none; + margin: 15px; + display: block; + color: #88FFFF; + font-size: 12px; +} +#content { + margin-left: 150px; + padding: 30px; + overflow:auto; + border: medium groove #88FFFF; + line-height: 135%; + +} + +.floatright {padding-left:20px; + float:right; + } +.floatleft { + float:left; + padding: 30px 0px 20px; +} +#footer { font-size: .60em; + font-style: italic; + text-align: center; + border-top: 2px double #000040; + padding-top: 20px; + padding-bottom: 20px; +} + +h2 { text-transform: uppercase; + color: #88ffff; + font-size: 1.2em; + border-bottom: 1px none; + margin-right: 20px; +} +h3 { + color: #88ffff; + font-size: 1.2em; + border-bottom: 1px solid #000000; + margin-right: auto; + text-align: left; + padding-top: 10px; + padding-right: 20px; + padding-bottom: 10px; + padding-left: 20px; + line-height: 120%; +} +.details { padding-left:20%; + padding-right:20%; +} + + +img {border:0; } + + +.content { + margin: 20px; + padding: 20px; + height: 3700px; + width: 500px; +} +a {text-decoration:none; + margin: 15px; + display: block; + color: #88FFFF; + font-size: 12px; +} +a:hover { + color: #000040; + background-color: #88ffff; +} +span { + font-size: 20px; + font-weight: bold; + font-family: "Courier New", Courier, mono; + color: #88ffff; + background-position: center center; + text-align: center; + vertical-align: middle; +} +table { + border-collapse: collapse +} +td { + border: 2px solid #88ffff; + width: 5em; + color: #88ffff; +} +.nobdr { + border: none; + cell-padding: 5px; +} +p { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 12px; +} diff --git a/Assignments/JavaScript/ch05/ch05/greg/greg_battle.html b/Assignments/JavaScript/ch05/ch05/greg/greg_battle.html new file mode 100755 index 0000000..9572103 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/greg/greg_battle.html @@ -0,0 +1,57 @@ + + + + + Greg's Gambits | Battle the Evil Troll + + + + + +
+ +

Battle the Evil Troll

+ +
+ +
+ + + + + + + +
In this game you will battle the evil troll. You can choose + your weapon from the three shown -- a set of magic rocks that are a lot stronger and heavier than they + look, an extremely sharp sword, or a crossbow and arrow. Unfortunately, you do not know ahead of time + what weapon the troll will use. You each begin with 100 points. For each round of the battle, the winner + takes 10 points from the loser. When either of you reaches 200 points, the battle is over and one of you + will lie dead. The winner is determined by the list shown below. Push the button when you are ready + to begin the battle and ... Good luck!

+

Wizard

+

Troll

 

Weapons

+

magic rocks

+

sword

+

bow & arrow

Note:
+ The rocks can deflect the arrow.
+ The sword beats the rocks.
+ The arrow beats the sword.
+ +
+ +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/arrow.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/arrow.jpg new file mode 100755 index 0000000..2fb2cbe Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/arrow.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/rock.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/rock.jpg new file mode 100755 index 0000000..d880e74 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/rock.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/superhero.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/superhero.jpg new file mode 100755 index 0000000..5f64be5 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/superhero.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/sword.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/sword.jpg new file mode 100755 index 0000000..90b2c19 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/sword.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/troll.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/troll.jpg new file mode 100755 index 0000000..d284293 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/troll.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/wizard.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/wizard.jpg new file mode 100755 index 0000000..64db7ab Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/wizard.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/greg/play_games.html b/Assignments/JavaScript/ch05/ch05/greg/play_games.html new file mode 100755 index 0000000..d5ed738 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/greg/play_games.html @@ -0,0 +1,46 @@ + + + +Greg's Gambits | Games Menu + + + + + +
+ + +

Play A Game

+ +

 

+

 

+ +
+

Menu of Available Games

+ + + + + + + + + + + + + +
Greg's Tales Madame Vadoma Sees All
The Secret Message Encoder Battle With the Troll
  
+

 

+
+ +
+ + diff --git a/Assignments/JavaScript/ch05/ch05/page_one.html b/Assignments/JavaScript/ch05/ch05/page_one.html new file mode 100755 index 0000000..14de95d --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/page_one.html @@ -0,0 +1,13 @@ + + +Page One + + +
+

 

+

See what's on the next page...

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/page_two.html b/Assignments/JavaScript/ch05/ch05/page_two.html new file mode 100755 index 0000000..9b97ba0 --- /dev/null +++ b/Assignments/JavaScript/ch05/ch05/page_two.html @@ -0,0 +1,13 @@ + + +Page Two + + +
+

 

+

You can go back too...

+

+
+ + diff --git a/Assignments/JavaScript/ch05/ch05/pendant1.jpg b/Assignments/JavaScript/ch05/ch05/pendant1.jpg new file mode 100755 index 0000000..b712c0f Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/pendant1.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/pendant2.jpg b/Assignments/JavaScript/ch05/ch05/pendant2.jpg new file mode 100755 index 0000000..1433c58 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/pendant2.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/pendant3.jpg b/Assignments/JavaScript/ch05/ch05/pendant3.jpg new file mode 100755 index 0000000..af103ee Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/pendant3.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/ring1.jpg b/Assignments/JavaScript/ch05/ch05/ring1.jpg new file mode 100755 index 0000000..4896a0d Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/ring1.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/ring2.jpg b/Assignments/JavaScript/ch05/ch05/ring2.jpg new file mode 100755 index 0000000..1831416 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/ring2.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/ring3.jpg b/Assignments/JavaScript/ch05/ch05/ring3.jpg new file mode 100755 index 0000000..b72e16c Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/ring3.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/troll.jpg b/Assignments/JavaScript/ch05/ch05/troll.jpg new file mode 100755 index 0000000..d284293 Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/troll.jpg differ diff --git a/Assignments/JavaScript/ch05/ch05/wizard.jpg b/Assignments/JavaScript/ch05/ch05/wizard.jpg new file mode 100755 index 0000000..64db7ab Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/wizard.jpg differ