3 like 0 dislike
2.8k views
Please following the step to complete this exercise.

1. Create a blank HTML page.

2. Add a paragraph and put any article in it.

3. Create a textbox.

4. Create a button.

5. When user click on the button, javascript will search the article for key word match to the textbox and make it bold.
[Exercise] Essay (Open question) - asked in 2016-2 CSIEB0270 - Internet System Design and Practice by (18k points)
ID: 24994 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00

reshown by | 2.8k views

23 Answers

0 like 0 dislike
Hidden content!
<!DOCTYPE HTML>

<html>
* * **** *** ** * ***** * *
* * ** * * *** *** ** * *** * * ******** ** Exercise 1 </title>
** * * **** * * **** *** *** * *** *** * *** *** * ** * * *
* * **** ** * ** ** ** ** * **** ** *** * * ** **** a(){
** * ** * ***** *** ** *** * ** *** * *** * ** ** * * ** * **** ** * * * *** * * *
* ****** ** ****** * * *** * * **** ** * * ** ** ** * **** * * ** ** * ** * ** *** * ***** * * * **
* ***** * * * * **** * * ** ** ** * ** ** * **** ** * ** ** *** ** * * * *** * ** * * *** ****
* * ** ** **** * * ** **** * * *** * * * *** * * * **** ** * newword=b1+word+b2;
* * *** **** * ***** * ** * * * * ** * ****** ** * *** ** ** * *** ** * * ****** ** ***
* * * * * * *** * * ** *** * ***** * * * **** ****** * ** * * ** * *** newart="";
** * ** ** ** * **** * * *** *** * **** * * * * * * *** * *** * **** **** * * ** **
* ** **** **** * ** *** * * * **** * * ** **** * * ** * * * ****
* * * ** * ** * * * ** * * * * ** * * * ** *** *** *** *** * ** * ** **
* ******** ** * ** ** ** * **** * ****** ***** ** * * ******** ******** ** ***** ** * * n=art.indexOf(word)+word.length+b2.length;
*** ****** * ****** * * * ** ** * ** * * * * ** * * **** ** * *** ****** *** **** ** ** ** * ****
** * **** * ** **** ***** * ** * ** * *** *** ** * ** * * * * ***** *** ** *** * * ** * * *
* * ** ** ** * * * *** ** * * *** ** * * ***** ** *** ** * ** * ** * *
*** * *** *** ** * ** * ***** * * *** ** *** * * ** ** * ** *
**** * *** *** * *** *** * * ** * ** *** * *** *** * * ** * * * *** * ****** ** * *** ** * * = newart;
* * **** * ** ** ** * * * * * ** * * * *** ** *
**** * ** * **** * * **** * * ** ** * * **** *** ***** * ** ** *
** *** ** *** ***** * ** ** *** *

    
* * ** ** *** * * * * ** * * ***

    
*** ***** * **** * *** ** * id="art">Please following the step to complete this ** *** * * ** ** * * * * *

1. Create a blank HTML page.<br><br>

2. Add a paragraph and put any article in it.<br><br>

3. Create a * * ** * * * * * ***** ** ** *

4. Create a button.<br><br>

5. When user click on the button, javascript will search the article for key word match to the textbox and make it bold.<br></p>
* * **** ****** ** * *** * type="textbox" id="word"/>
* *** *** * ** * ***** *** * * * *** *** * *** * * * ** * ***
* * * ***** ** * * * ** * * *** * * *

</html>
answered by (30k points)
0 like 0 dislike
Hidden content!
* *** * *** * * * * ** ** * * * *** ** * * **
answered by (-10 points)
0 like 0 dislike
Hidden content!
** ** ** ** * * * * * ** ** * * * *** * *
answered by (-96 points)
0 like 0 dislike
Hidden content!
<!DOCTYPE html>

<html>
** * *
*** *** **** * * *** * *
* ** * * *
* ** * * * *** * * ** * * myFunction() {
*** * **** * * * ** * * ***** *** ** **** * * * * x= * * ** ** * *** ** ** * * ** *
** * * * **** * ******* * ** * * * * * * ** str **** **** *** * * *** ** ** ** * *
** * *** ** * * *** * ***** ** * ** * * * * res= * ** ******* *** * * * * weight *** *** * * * ** ** ** * * * * * ** ******* *** ***
* ** * *** * * * ** ***** *** ** * *** ** **** **** * *** ** * * * ** = res;
** ****** *** ** * *** *** * ** * * * * ** *
** * * * * *
* * ** * **** *
** **** *
* ** ** * * *
** ****** * *** * * * * * ** * ** * ** *** * * ** *** ** ***** * ** ** * ** ** *** * ***
* * ** **** * * ******* ***** * *** * * * ** ** * ****** * * * * *** ** * *
* * *** ***

<p * ****** ***** ** * * this is the story all about how

My life got flipped, turned upside down

And I'd like to take a minute just sit right there

I'll tell you how I became the prince of a town called Bel Air
** ** **** ** *

<br>
***** ** * *
* * * * ** *
answered by (30 points)
0 like 0 dislike
Hidden content!
* * ** * * * **** ** * *** ** * *** ** ******* *
answered by (16 points)
0 like 0 dislike
Hidden content!
** * *** ****
** ** *
* * * * *
* **** ***** * * * **** ** **
** * *
** * * {
var x= *** ** ** * * *******
var str * *** ** *** ** *** *** *
var res= * ** ** *** ** * *** * *** * weight * ** **** ** **** **** *** ** * ****** * * * ** **
* ** ** * * * ** *** ** ***** * = res;
}
** ** ***** *
* ** ** *
* *** * **
* * * ******* * *** ** ** ** * ** * ** * * ******* **
* * * * ** * *** ** * * * * *** * *
*** * * * **** ** **
* ** ** * * ** * is ** * There is **** in our life that is more * than good * * ** *** * * there is no * * * no peace and no * * ** * A person with bad health cannot enjoy the **** * of being ***** * *** ** * * * * *** **
***** **
** *
* * ** * * *
answered by (-233 points)
0 like 0 dislike
Hidden content!
*** * * ** **


* * * #1

*** * * *** {
var x= * * *** * * * * * ** **** * * *
* ** * ******* * * ** ** * ****
* * ** * ** *** * * * * *
** * ***** * ** * * **** = *
}





* * *
* * ** * up, *** * ** is *** * *** * * * * *** * ** * * ** ** ** *** ** ** *** ** on ** * * * ** * ** * *** * * an ** ** * *** at * of the * * * * ** in *** * * *
answered by (-168 points)
0 like 0 dislike
Hidden content!
* * * * ** ** * **** * * ** ** * ** ****
answered by (38 points)
0 like 0 dislike
Hidden content!
** *** **** ***** * *** ** * * **** *** ** * **
answered by (-335 points)
0 like 0 dislike
Hidden content!
** *** * *** * * ** * **** ***** *** ** * * ***
answered by (72 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.80.152
©2016-2025

Related questions

1 like 0 dislike
14 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24998 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 2.1k views
3 like 0 dislike
23 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24997 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 2.8k views
2 like 0 dislike
11 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24996 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 1.9k views
3 like 0 dislike
20 answers
[Exercise] Essay (Open question) - asked Jun 15, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24995 - Available when: 2017-06-15 09:30:00 - Due to: 2017-06-15 12:00:00
| 2.5k views
1 like 0 dislike
2 answers
[Exercise] Essay (Open question) - asked Jun 1, 2017 in 2016-2 CSIEB0270 - Internet System Design and Practice by Shun-Po (18k points)
ID: 24848 - Available when: Unlimited - Due to: Unlimited
| 778 views
12,783 questions
183,442 answers
172,219 comments
4,824 users