function addRow() { 
  var table = document.getElementById("table");
  
  var row= document.createElement("tr");
  console.log(row);
  var td1 = document.createElement("td");
  var td2 = document.createElement("td");
  var td3 = document.createElement("td");    

  td1.innerHTML = document.getElementById("word1").value.toLowerCase().trim();
  td2.innerHTML  = document.getElementById("word2").value.toLowerCase().trim();
  td3.innerHTML  = document.getElementById("word3").value.toLowerCase().trim();

  row.appendChild(td1);
  row.appendChild(td2);
  row.appendChild(td3);

  table.children[0].appendChild(row);
  document.getElementById("word1").value = " ";
  document.getElementById("word2").value = " ";
  document.getElementById("word3").value = " "
}
// addRow is used for adding new words to the sight words box
addRow is used for adding new words to the sight words box
addRow is used for adding new words to the sight words box
function addRow() { 
  var table = document.getElementById("table");
  var row= document.createElement("tr");
  console.log(row);
  var td1 = document.createElement("td");
  var td2 = document.createElement("td");
  var td3 = document.createElement("td");    
  td1.innerHTML = document.getElementById("word1").value.toLowerCase().trim();
  td2.innerHTML  = document.getElementById("word2").value.toLowerCase().trim();
  td3.innerHTML  = document.getElementById("word3").value.toLowerCase().trim();
  row.appendChild(td1);
  row.appendChild(td2);
  row.appendChild(td3);
  table.children[0].appendChild(row);
  document.getElementById("word1").value = " ";
  document.getElementById("word2").value = " ";
  document.getElementById("word3").value = " "
}
function addRow ( ) { var table = document . getElementById ( "table" ) ; var row = document . createElement ( "tr" ) ; console . log ( row ) ; var td1 = document . createElement ( "td" ) ; var td2 = document . createElement ( "td" ) ; var td3 = document . createElement ( "td" ) ; td1 . innerHTML = document . getElementById ( "word1" ) . value . toLowerCase ( ) . trim ( ) ; td2 . innerHTML = document . getElementById ( "word2" ) . value . toLowerCase ( ) . trim ( ) ; td3 . innerHTML = document . getElementById ( "word3" ) . value . toLowerCase ( ) . trim ( ) ; row . appendChild ( td1 ) ; row . appendChild ( td2 ) ; row . appendChild ( td3 ) ; table . children [ 0 ] . appendChild ( row ) ; document . getElementById ( "word1" ) . value = " " ; document . getElementById ( "word2" ) . value = " " ; document . getElementById ( "word3" ) . value = " " }
addRow is used for adding new words to the sight words box
addRow is used for adding new words to the sight words box