diff --git a/views/tutorial/html/1.erb b/views/tutorial/html/1.erb index 82b59ad2..d6f61e76 100644 --- a/views/tutorial/html/1.erb +++ b/views/tutorial/html/1.erb @@ -17,16 +17,18 @@ -
-
- Welcome, [NAME]! You're about to embark on a very exciting challenge: creating your first website! + -Next >> + Next >> +
diff --git a/views/tutorial/html/2.erb b/views/tutorial/html/2.erb index a93ffe10..2790c5b3 100644 --- a/views/tutorial/html/2.erb +++ b/views/tutorial/html/2.erb @@ -31,11 +31,11 @@ var re = new XRegExp(match, 'gis') if(html.match(re) === null) { - alert("That's not right! Try again.") + notok("That's not right! Try again.") } else { - alert('Great, you did it!') sessionStorage.setItem('tutorialHtml', html) - window.location.href = '/tutorial/html/3' + ok('Great, you did it!', '/tutorial/html/3') + } } diff --git a/views/tutorial/html/3.erb b/views/tutorial/html/3.erb index c9a3ad87..40ae351b 100644 --- a/views/tutorial/html/3.erb +++ b/views/tutorial/html/3.erb @@ -39,11 +39,10 @@ var re = new XRegExp(match, 'gis') if(html.match(re) === null) { - alert("That's not right! Try again.") + notok("That's not right! Try again.") } else { - alert('Great, you did it!') sessionStorage.setItem('tutorialHtml', html) - window.location.href = '/tutorial/html/4' + ok('Great, you did it!', '/tutorial/html/4') } } diff --git a/views/tutorial/html/4.erb b/views/tutorial/html/4.erb index e8c913ae..a48952f3 100644 --- a/views/tutorial/html/4.erb +++ b/views/tutorial/html/4.erb @@ -4,7 +4,7 @@
To make a paragraph, surround your text with the <p> tag. So it should look something like - <p>Hello!<p> + <p>Hello!</p>
@@ -16,11 +16,10 @@ var re = new XRegExp(match, 'gis') if(html.match(re) === null) { - alert("That's not right! Try again.") + notok("That's not right! Try again.") } else { - alert('Great, you did it!') sessionStorage.setItem('tutorialHtml', html) - window.location.href = '/tutorial/html/5' + ok('Great, you did it!', '/tutorial/html/5') } } diff --git a/views/tutorial/html/5.erb b/views/tutorial/html/5.erb index 427d02aa..18bff108 100644 --- a/views/tutorial/html/5.erb +++ b/views/tutorial/html/5.erb @@ -33,11 +33,10 @@ But this isn't! var re = new XRegExp(match, 'gis') if(html.match(re) === null) { - alert("That's not right! Try again.") + notok("That's not right! Try again.") } else { - alert('Great, you did it!') sessionStorage.setItem('tutorialHtml', html) - window.location.href = '/tutorial/html/6' + ok('Great, you did it!', '/tutorial/html/6') } } diff --git a/views/tutorial/html/6.erb b/views/tutorial/html/6.erb index 0b386182..e25be88e 100644 --- a/views/tutorial/html/6.erb +++ b/views/tutorial/html/6.erb @@ -29,11 +29,10 @@ var re = new XRegExp(match, 'gis') if(html.match(re) === null) { - alert("That's not right! Try again.") + notok("That's not right! Try again.") } else { - alert('Great, you did it!') sessionStorage.setItem('tutorialHtml', html) - window.location.href = '/tutorial/html/7' + ok('Great, you did it!', '/tutorial/html/7') } } diff --git a/views/tutorial/html/7.erb b/views/tutorial/html/7.erb index b1fbf81e..f0eb0724 100644 --- a/views/tutorial/html/7.erb +++ b/views/tutorial/html/7.erb @@ -1,11 +1,13 @@
Now maybe your website needs a list. Here's how an unordered list looks: - +
+ <ul>
+  <li>websites</li> +  <li>yarn</li> +  <li>catnip</li>
+ </ul> +
First, add a list to your page, but replace my favorite activities with your own! @@ -18,11 +20,13 @@

Lists

You can make an ordered (numbered) list like so:

-
    -
  1. First item
  2. -
  3. Second item
  4. -
  5. Third item
  6. -
+
+<ol>
+  <li>First item</li>
+  <li>Second item</li>
+  <li>Third item</li>
+</ol> +
diff --git a/views/tutorial/html/8.erb b/views/tutorial/html/8.erb index e64dbb5f..35215720 100644 --- a/views/tutorial/html/8.erb +++ b/views/tutorial/html/8.erb @@ -1,8 +1,7 @@
Now add a link to one of your list items. If nested properly, it should look something like this: - -
  • Yarn
  • +
    <li><a href="http://yarn.com">Yarn</a></li>
    @@ -29,11 +28,10 @@ var re = new XRegExp(match, 'gis') if(html.match(re) === null) { - alert("That's not right! Try again.") + notok("That's not right! Try again.") } else { - alert('Great, you did it!') sessionStorage.setItem('tutorialHtml', html) - window.location.href = '/tutorial/html/9' + ok('Great, you did it!', '/tutorial/html/9') } } diff --git a/views/tutorial/html/9.erb b/views/tutorial/html/9.erb index 7b9837e6..22897636 100644 --- a/views/tutorial/html/9.erb +++ b/views/tutorial/html/9.erb @@ -1,9 +1,9 @@
    - Good work! Everything you've written has been saved to index.html, which is the homepage people see when they visit your site. + Good work! Everything you've written has been saved to index.html, which is the first web page people see when they visit your site.
    - You can find and edit index.html by visiting your Neocities dashboard. + You can find and edit index.html by visiting your Neocities dashboard.
    A cheat sheet of all the tags you've learned can be found in the tutorial section. diff --git a/views/tutorial/layout.erb b/views/tutorial/layout.erb index a52572a5..4a7a0953 100644 --- a/views/tutorial/layout.erb +++ b/views/tutorial/layout.erb @@ -27,7 +27,7 @@ -
    + @@ -42,6 +42,30 @@