diff --git a/views/tutorial/html/2.erb b/views/tutorial/html/2.erb
index faf7837a..30bd4cd9 100644
--- a/views/tutorial/html/2.erb
+++ b/views/tutorial/html/2.erb
@@ -35,46 +35,28 @@
function checkHomework() {
var html = editor.getValue()
- var match = '.+'
- var re = new XRegExp(match, 'gis')
-
- if(html.match(re) === null) {
- notok("You're missing the HTML element tag! Your web site must begin with and end with .")
+ if(!html.tutorialMatches('.+')) {
+ notok("You're missing the HTML element tag! Your web site must begin with <html> and end with </html>.")
return
}
-/*
- var match = '.+.+