JSFiddle - React, Tailwind, and code Playground
JavaScript
<script type="text/javascript">
onerror = function (a, b, c) {
alert([a, b, c]);
};
</script>
<script type="text/javascript">
var x = {
"JsonResult": {
"List": [{
"id":"1",
"Subject": "My book report on J. K. Rowling's <u>Harry Potter</u> series.",
"Date": "Jan 25th 2009",
"Type": "Book Report",
"Class": "English"
}, {"id":"2",
"Subject": "My book report on Charles Dickens' <u>Oliver Twist</u> novel.",
"Date": "May 1st 2003",
"Type": "Book Report",
"Class": "English"
}, {"id":"3",
"Subject": "My book report on J. R. R. Tolkien's <u>The Lord of the Rings</u> series.",
"Date": "Aug 7th 2007",
"Type": "Book Report",
"Class": "English"
}, {"id":"4",
"Subject": "The civil war in a nutshell.",
"Date": "Feb 26th 2009",
"Type": "Essay",
"Class": "History"
}, {"id":"5",
"Subject": "How does the republican party manage if we life in a democracy?",
"Date": "Apr 5th 2010",
"Type": "Essay",
"Class": "Government"
}, {"id":"6",
"Subject": "A bogus entry",
"Date": "Jan 1st 2000",
"Type": "Bogus",
"Class": "None"
}, {"id":"7",
"Subject": "Zombie followers don't prove anything.",
"Date": "Nov 2nd 2004",
"Type": "Essay",
"Class": "Religion"
}]
}
};
</script>
<script type="text/javascript">
if (typeof Object.prototype.toSource == 'undefined') {
Object.prototype.toSource = function () {
return (typeof JSON != 'undefined' && typeof JSON.stringify == 'function') ?...