From dd5ee627d802e942f57c32d4845ab887b8cc168f Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 3 Mar 2025 15:46:38 -0700 Subject: [PATCH] fixes for resubmission. --- 5min/day10/css/.gitkeep | 0 5min/day10/css/styles.css | 26 ++++++++++++++++++++++++++ 5min/day10/img/.gitkeep | 0 5min/day10/includes/.gitkeep | 0 5min/day10/includes/functions.php | 27 +++++++++++++++++++++++++++ 5min/day10/index.php | 31 +++++++++++++++++++++++++++++++ 5min/day10/js/.gitkeep | 0 5min/day10/js/index.js | 0 5min/day11/css/.gitkeep | 0 5min/day11/css/styles.css | 0 5min/day11/img/.gitkeep | 0 5min/day11/includes/.gitkeep | 0 5min/day11/index.php | 17 +++++++++++++++++ 5min/day11/js/.gitkeep | 0 5min/day11/js/index.js | 0 5min/day9/css/.gitkeep | 0 5min/day9/css/styles.css | 0 5min/day9/img/.gitkeep | 0 5min/day9/includes/.gitkeep | 0 5min/day9/index.php | 23 +++++++++++++++++++++++ 5min/day9/js/.gitkeep | 0 5min/day9/js/index.js | 0 exercises/7/human-interpreter.txt | 5 +++++ 23 files changed, 129 insertions(+) create mode 100644 5min/day10/css/.gitkeep create mode 100644 5min/day10/css/styles.css create mode 100644 5min/day10/img/.gitkeep create mode 100644 5min/day10/includes/.gitkeep create mode 100644 5min/day10/includes/functions.php create mode 100644 5min/day10/index.php create mode 100644 5min/day10/js/.gitkeep create mode 100644 5min/day10/js/index.js create mode 100644 5min/day11/css/.gitkeep create mode 100644 5min/day11/css/styles.css create mode 100644 5min/day11/img/.gitkeep create mode 100644 5min/day11/includes/.gitkeep create mode 100644 5min/day11/index.php create mode 100644 5min/day11/js/.gitkeep create mode 100644 5min/day11/js/index.js create mode 100644 5min/day9/css/.gitkeep create mode 100644 5min/day9/css/styles.css create mode 100644 5min/day9/img/.gitkeep create mode 100644 5min/day9/includes/.gitkeep create mode 100644 5min/day9/index.php create mode 100644 5min/day9/js/.gitkeep create mode 100644 5min/day9/js/index.js create mode 100644 exercises/7/human-interpreter.txt diff --git a/5min/day10/css/.gitkeep b/5min/day10/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day10/css/styles.css b/5min/day10/css/styles.css new file mode 100644 index 0000000..b11f3a8 --- /dev/null +++ b/5min/day10/css/styles.css @@ -0,0 +1,26 @@ +* { + margin: 0; + padding: 0; +} + +form { + display: block !important; +} + +input { + padding: 12px; + border: 1px solid black; +} + +.center { + display: flex !important; + flex-direction: center !important; + align-items: center !important; + justify-content: center !important; +} + +.row { + display: flex; + flex-direction: column; + width: 500px; +} diff --git a/5min/day10/img/.gitkeep b/5min/day10/img/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day10/includes/.gitkeep b/5min/day10/includes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day10/includes/functions.php b/5min/day10/includes/functions.php new file mode 100644 index 0000000..453da65 --- /dev/null +++ b/5min/day10/includes/functions.php @@ -0,0 +1,27 @@ + + '; + + foreach ($fields as $key => $ex) { + $display = ucwords(str_replace('-', ' ', $key)); + + $form .= ' +
+ + '; + $form .= ' + +
'; + } + $form .= ''; + + $form .= ' + + '; + + return $form; +} +?> diff --git a/5min/day10/index.php b/5min/day10/index.php new file mode 100644 index 0000000..cef84fd --- /dev/null +++ b/5min/day10/index.php @@ -0,0 +1,31 @@ + 'e.g., Bob', + 'last-name' => 'e.g., Ross', + 'street-address' => 'e.g., 123 Main Street', + 'city' => 'e.g., Boston', + 'state' => 'e.g., MA', + 'zip' => 'e.g., 02108', +]; + +include ('includes/functions.php'); +?> + + + + + + Dummy Title + + + + + + + ' . generateForm($fields) . ' + '; +?> + + + diff --git a/5min/day10/js/.gitkeep b/5min/day10/js/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day10/js/index.js b/5min/day10/js/index.js new file mode 100644 index 0000000..e69de29 diff --git a/5min/day11/css/.gitkeep b/5min/day11/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day11/css/styles.css b/5min/day11/css/styles.css new file mode 100644 index 0000000..e69de29 diff --git a/5min/day11/img/.gitkeep b/5min/day11/img/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day11/includes/.gitkeep b/5min/day11/includes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day11/index.php b/5min/day11/index.php new file mode 100644 index 0000000..e3af484 --- /dev/null +++ b/5min/day11/index.php @@ -0,0 +1,17 @@ + + + + + Dummy Title + + + + + +

Hello cruel world!

+ + + + diff --git a/5min/day11/js/.gitkeep b/5min/day11/js/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day11/js/index.js b/5min/day11/js/index.js new file mode 100644 index 0000000..e69de29 diff --git a/5min/day9/css/.gitkeep b/5min/day9/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day9/css/styles.css b/5min/day9/css/styles.css new file mode 100644 index 0000000..e69de29 diff --git a/5min/day9/img/.gitkeep b/5min/day9/img/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day9/includes/.gitkeep b/5min/day9/includes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day9/index.php b/5min/day9/index.php new file mode 100644 index 0000000..685cbac --- /dev/null +++ b/5min/day9/index.php @@ -0,0 +1,23 @@ + + + + + Dummy Title + + + + + +
+ + +
+ + + diff --git a/5min/day9/js/.gitkeep b/5min/day9/js/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/5min/day9/js/index.js b/5min/day9/js/index.js new file mode 100644 index 0000000..e69de29 diff --git a/exercises/7/human-interpreter.txt b/exercises/7/human-interpreter.txt new file mode 100644 index 0000000..9d8520f --- /dev/null +++ b/exercises/7/human-interpreter.txt @@ -0,0 +1,5 @@ +

Yep!

+

Nope!

+

Nope!

+

Nope!

+

Nope!