minor changes to errors, pg 9

This commit is contained in:
Victoria Wang 2016-04-19 19:11:32 -07:00
parent 103f45eb27
commit 33c7eee1f4
3 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ Check out Neocities!&lt;/a&gt;</code></pre></p>
}
if(a.attr('href') == '' || a.attr('href').match(/\s+/)) {
notok('You need to add a url to the <strong>href</strong>, like this: href="//neocities.org"')
notok('You need to add a url to the <strong>href</strong>, like this: href="http://neocities.org"')
return
}

View file

@ -35,7 +35,7 @@
}
if(a.attr('href') === undefined || a.attr('href') == '') {
notok('You need to add an <strong>href</strong> to your <strong>a</strong> tag, like: <strong>href="//neocities.org"</strong>')
notok('You need to add an <strong>href</strong> to your <strong>a</strong> tag, like: <strong>href="http://neocities.org"</strong>')
return
}

View file

@ -16,8 +16,8 @@
<div class="col col-40 interact">
<% if request.path =~ /\/html\/9/ %>
<a href="#" id="saveToSite" class="btn btn-Action">Save new index.html to <%= current_site.username %>.neocities.org</a>
<a href="/tutorial/html/10" class="btn cancel" style="margin-right: 7px">Don't Save</a>
<a href="#" id="saveToSite" class="btn btn-Action float-Left" style="margin-right: 7px">Save new index.html to <%= current_site.username %>.neocities.org</a>
<a href="/tutorial/html/10" class="btn cancel float-Left">Don't Save</a>
<% else %>
<input id="submit" class="btn btn-Action" type="submit" value="Save">
<input id="reset" class="btn cancel" style="margin-right: 7px" type="submit" value="Reset">