Now maybe your website needs a list. Here's how an unordered list looks:
-
- - websites
- - yarn
- - catnip
-
+
+ <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:
-
- - First item
- - Second item
- - Third item
-
+
+<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 @@