Difference between revisions of "Team:ETH Zurich/Notebook"

Line 30: Line 30:
 
             var re = new RegExp(dateText + ".*?(?=<\/p>)");
 
             var re = new RegExp(dateText + ".*?(?=<\/p>)");
 
             var toShow = notes.match(re);
 
             var toShow = notes.match(re);
             notePad.innerHTML = (toShow == null) ? dateText+'\n'+"We did nothing on this day...yes...absolutely nothing..." : toShow;
+
             notePad.innerHTML = (toShow == null) ? dateText+"<br>We did nothing on this day...yes...absolutely nothing..." : toShow;
 
         }
 
         }
 
     });
 
     });

Revision as of 20:11, 9 September 2015

"What I cannot create I do not understand."
- Richard Feynmann

Notebook

Select a day to see what our lab did that day.