Hope you are doing great !
table = table + “<tr class=\”note\”>\
<td>”+res.rows.item(i).id + “</td>\
<td>”+res.rows.item(i).title + “</td>\
Here each row has 3 columns but in reality, accessing the children of
element will show the length as 6 i.e., threeand three “\”.
Conclusion is just be cautious while using “\” and updating innerHTML with HTML elements.