Question: Task: Write a program in JavaScript that takes three-paragraphs as an input using DOM (document object model). It returns all the similar binary numbers which
Task: Write a program in JavaScript that takes three-paragraphs as an input using DOM (document object model). It returns all the similar binary numbers which occur in all of the three paragraphs. The input and output of the program must be displayed on the same HTML page. There must be a single submit button on screen. For Example: Input Paragraphs Entered: hello 0000 0001 bye hello 1110 kilo 99 1111 haha 0000 0001 tata bye bye 1110 kilo 99 1110 haha 0000 loop tata bye bye 1010 kilo 99 lalala 1110 Submit Output: Common Binary Numbers in above paragraphs are: 0000 1110
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
