Skip to content

Commit 1a3b890

Browse files
authored
Update 1.html
1 parent 5f4b3bd commit 1a3b890

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

levels/1.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<title>Boogle Search - Online</title>
5-
<script type="text/javascript" src="../pass.js"></script>
6-
<script type="text/javascript" src="../getparams.js"></script>
5+
<script type="text/javascript" src="../lib/pass.js"></script>
6+
<script type="text/javascript" src="../lib/getparams.js"></script>
77
<script type="text/javascript">
88
// Main page script
99
window.onload = function(){
@@ -15,14 +15,6 @@
1515
} else {
1616
console.warn('Overwriting content with scripts is not recommended')
1717
document.write('<!DOCTYPE html>\n<title>Boogle</title>\n<h1>Boogle Search: <xmp>' + searchQuery + '</xmp></h1>\n<div id="results_paragraph">No results found for ' + searchQuery + ', sorry.</div>')
18-
/*
19-
br = document.createElement('br')
20-
document.body.appendChild(br)
21-
finalElement = document.createElement('div')
22-
finalElement.setAttribute('id', 'results_paragraph')
23-
finalElement.innerHTML = 'No results found for ' + searchQuery + ', sorry.'
24-
document.body.appendChild(finalElement)
25-
*/
2618
}
2719
}
2820
/*
@@ -37,9 +29,9 @@ <h1>Welcome to Boogle, your best searcher-friend!</h1>
3729
<input name="q" id="query" type="field" placeholder="Enter your query here"></input>
3830
&nbsp;
3931
<!-- &nbsp; is used to make
40-
the button not being near the
41-
search field. -->
32+
the button not being too near
33+
the search field. -->
4234
<input type="submit" value="Search">
4335
</form>
4436
</body>
45-
</html>
37+
</html>

0 commit comments

Comments
 (0)