Sweetpea's Team

Team 7 Q&A

1Q. The event that is used to detect when an element has been clicked on by the mouse is ______?1A. On-click Event. Source: W3schools

2Q. Write a regular expression that will match a string which contains the word 'the' (case intensive').
2A.  (/the) this will find all the the's in the string and record then case intensive, meaning its all lowercase. 

3Q. Write a regular expression that will match a string which contains two small letter 't' separated by a single character. 
3A. (/t.t) this will find all the t's in the string and record then case intensive, meaning its all lowercase. 

4Q. Write a regular expression that will match a string which contains two words { anthrax, bomb} in (case intensive)
4A. Build Answer

5Q. Write a regular expression that will match a string which ends with the same character it starts with.
5A. Build Answer 

6Q. Write a regular that will match a string which starts with 7 to 32 capital letter 'x's. 
6A. say modifier (/^x(7,32)/). This will find all capital lettters from 7-32. less than 7 or more than 32 it won't show.

7Q. write the html code need for the head section of web page that will include the external javascript library.
7A. Build answer 

8Q. Open a new widow which is 300 pixels wide by 500 pixels tall, contains a number , a status bar, and a location box, and whose contents will be the page.
8A. Build answer

9Q. Create a window 300x500, by using the window open function, Make a menu bar by using unordered list, css and href,  Create a status bar.
9A. Build answer; Status bar, we created this by setting intervals and frames, and Status bar, we created this by setting intervals and frames

10Q. Create a location box.
10A. we set an on-click when we click on the button, an alert pop ip with locations of links

11Q.  How can you open a javascript file on a none support browser?
11A. One way to do this is write javascript inside text document and link the document using Ajax chrome doesn't loop external loading files but with AJAX were able too.



Comments

Popular posts from this blog

Work-Field Trip Senior Year

Power Skills Networking