From 8c5b9a803d4a422128af97cff21646dd4c9e680c Mon Sep 17 00:00:00 2001
From: Kyle Drake
Date: Sun, 17 Apr 2016 14:33:23 -0700
Subject: [PATCH] better homework checking for tutorial up to page 6
---
views/tutorial/html/3.erb | 14 +++++-------
views/tutorial/html/4.erb | 8 +++----
views/tutorial/html/5.erb | 47 ++++++++++++++++++++++++++++++---------
views/tutorial/html/6.erb | 25 +++++++++++++++------
views/tutorial/layout.erb | 4 ++++
5 files changed, 67 insertions(+), 31 deletions(-)
diff --git a/views/tutorial/html/3.erb b/views/tutorial/html/3.erb
index 5735fd9f..1bab4152 100644
--- a/views/tutorial/html/3.erb
+++ b/views/tutorial/html/3.erb
@@ -4,10 +4,10 @@
- Let's make your name a heading by putting a Heading Level 1 tag around it.
+ Let's make your name a heading by putting the h1 tag around it. This helps to visually separate content on your site.
- Change the text to this:
+ Try using an h1 tag by changing the text to something like this:
and click save.
@@ -29,20 +29,16 @@
diff --git a/views/tutorial/html/4.erb b/views/tutorial/html/4.erb
index f2d192b6..91bd6b70 100644
--- a/views/tutorial/html/4.erb
+++ b/views/tutorial/html/4.erb
@@ -16,14 +16,12 @@
diff --git a/views/tutorial/html/5.erb b/views/tutorial/html/5.erb
index ad6c7a65..8e0e4d2b 100644
--- a/views/tutorial/html/5.erb
+++ b/views/tutorial/html/5.erb
@@ -3,9 +3,9 @@
You're writing HTML! You're doing it! Everything you need to know is just another tag!
-
For example, links look like this:
+
For example, a link to another site looks like this:
-
<a href="http://neocities.org">Check out Neocities!</a>
+
<a href="//neocities.org">Check out Neocities!</a>
Add a link to your favorite site to
the end of the paragraph, right
before the </p> closing tag!
@@ -15,11 +15,13 @@
Nesting
Tags always need to be nested properly, like Russian dolls. So this is okay:
-Welcome! Link!
+<p>Welcome! <a href="//neocities.org">Link!</a></p>
+
-But this isn't!
+But this is not correct:
-Welcome! Link!
+
+<p>Welcome! <a href="//neocities.org">Link!</p></a>
@@ -31,11 +33,36 @@ But this isn't!
var match = '.+.+.+
.+.+.+[^.+]?
.+.+