diff --git a/fetch.js b/fetch.js index f839167..5b4daf6 100644 --- a/fetch.js +++ b/fetch.js @@ -5,10 +5,8 @@ let lista fetch(url) .then(response => response.json()) .then(data => { - sortujSufiksy(data) }); -function sortujSufiksy(data) { - +function wyswietlSufiksy(data) { data.forEach((element) => document.querySelector('#nieposortowane').innerHTML += `
  • ${JSON.stringify(element.osoby)}
  • `); -} +} \ No newline at end of file diff --git a/index.html b/index.html index 9a261cd..6cbaf6a 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,6 @@

    Sortowanie Sufiksów

    -

    Nieposortowane Sufiksy

    @@ -20,7 +19,7 @@
  • -
      +
      1. diff --git a/qstack.php b/qstack.php deleted file mode 100644 index 9fcfd11..0000000 --- a/qstack.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/styles.css b/styles.css index e408fd3..d935820 100644 --- a/styles.css +++ b/styles.css @@ -1,6 +1,6 @@ body { font-family: Arial, sans-serif; - background-color: #f5f5f5; + background-color: #f7f7f7f5; color: #333; margin: 0; padding: 20px;