diff --git a/crimes/index.html b/crimes/index.html deleted file mode 100644 index e66eed6..0000000 --- a/crimes/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - Page Title - - - -

My First Heading

-

My first paragraph.

-
- - \ No newline at end of file diff --git a/crimes/scripts.js b/crimes/scripts.js deleted file mode 100644 index 3ce825e..0000000 --- a/crimes/scripts.js +++ /dev/null @@ -1,13 +0,0 @@ -window.onload = function() { - fetch('/recentCrimes') - .then(response => response.json()) - .then(data => { - const crimesDiv = document.getElementById('crimes'); - data.forEach(crime => { - const p = document.createElement('p'); - p.textContent = `Crime: ${crime.name}, Date: ${crime.date}`; - crimesDiv.appendChild(p); - }); - }) - .catch(error => console.error('Error:', error)); -}; \ No newline at end of file diff --git a/crimes/styles.css b/crimes/styles.css deleted file mode 100644 index e69de29..0000000