title: Fetch data from sharepoint list and dynamically show in table
body: <p>I am new into javascript and sharepoint.<br>
  Say, there are two lists, list1 (Process, ProcessImage), list2 (SubProcess, Process). In list2 "Process" is a lookup value from list1. The count of all three Process, SubProcess and ProcessImage is not fixed, so say n number.  </p>
  
  <p>Using JavaScript and HTML, I need to show the data on a Page like this:<br>
  <strong>List1</strong></p>
  
  <p><strong>Process</strong>       <strong>ProcessImage</strong><br>
  Process1        ProcessImage1<br>
  Process2        ProcessImage2<br>
  Process3        ProcessImage3<br>
  :   :<br>
  :   :<br>
  ProcessN        ProcessImageN</p>
  
  <hr>
  
  <p><strong>List2</strong></p>
  
  <p><strong>SubProcess    Process</strong><br>
  SubProcess1 Process2<br>
  SubProcess2 Process2<br>
  SubProcess3 Process1<br>
  SubProcess4 Process4<br>
  : :<br>
  SubProcessN Process3  </p>
  
  <hr>
  
  <p>Result in Tabular Form Using Javascript and HTML  </p>
  
  <p>ProcessImage1   ProcessImage2   ProcessImage3   ProcessImage4<br>
  SubProcess3     SubProcess1     SubProcess4<br>
      SubProcess2     </p>