Javascript
Set constant boggle equal to an anonymous function
Initialize constant container equal to HTML element id "js-boggle"
Initialize array grid to an empty array (i.e. use let versus var to control variable scope throughout task 4.)
Initialize variable isCustomGrid to false
b.) Declare variable customGrid
<!DOCTYPE html><head> <link rel="stylesheet" type="text./css" media="screen" href="boggle.css" /> <script type="text/javascript" src="jquery-2.1.0.js"></script> <script src="boggle.js" ></script></head><body> <div class="container"> <div class="grid-9"> <div id="js-boggle" class="boggle"></div>
<input type="text" id="js-word" class="enter-word" /> <input type="button" id="js-enter-word" class="btn" value=" Enter " oneclick="addWord();"/> </div> <div class="grid-3"> <div> Words Found </div> <div class="words-found" id="js-words-found"></div> </div> </div></body>
Javascript Set constant boggle equal to an anonymous function Initialize constant container equal to HTML element id "js
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am