diff --git a/assets/templates/_table_of_contents.phtml b/assets/templates/_table_of_contents.phtml index a0e2e0c..88c4ad3 100644 --- a/assets/templates/_table_of_contents.phtml +++ b/assets/templates/_table_of_contents.phtml @@ -5,13 +5,14 @@
  • Basics
  • Variables
  • Arithmetic
  • +
  • Strings
  • Comparisons
  • Boolean Logic
  • Conditionals
  • Loops
  • Arrays
  • Functions
  • -
  • Classes: Introduction
  • +
  • Classes
  • Classes: Inheritance
  • Classes: Visibility
  • Classes: Constructor
  • diff --git a/code/strings.php b/code/strings.php new file mode 100644 index 0000000..677b503 --- /dev/null +++ b/code/strings.php @@ -0,0 +1,23 @@ + 'Arithmetic', 'subtitle' => 'Doing math like a pro', 'previous' => 'variables', + 'next' => 'strings', + ]), + Page::create('strings', null, 'strings.php', [ + 'title' => 'Strings', + 'subtitle' => 'Working with text', + 'previous' => 'arithmetic', 'next' => 'comparisons', ]), Page::create('comparisons', null, 'comparisons.php', [ 'title' => 'Comparisons', 'subtitle' => 'Equality checking', - 'previous' => 'arithmetic', + 'previous' => 'strings', 'next' => 'boolean-logic', ]), Page::create('boolean-logic', null, 'boolean-logic.php', [