wire dialog display

This commit is contained in:
Kyle Drake 2015-11-17 20:35:17 -08:00
parent 7549855071
commit b671a19326
10 changed files with 72 additions and 46 deletions

View file

@ -4,7 +4,7 @@
</div>
<div class="dialogue" style="left: 300px; top: 0px">
To make a paragraph, surround your text with the <strong>&lt;p&gt;</strong> tag. So it should look something like
<strong>&lt;p&gt;Hello!&lt;p&gt;</strong>
<strong>&lt;p&gt;Hello!&lt;/p&gt;</strong>
</div>
</div>
@ -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')
}
}
</script>