diff --git a/fetch.js b/fetch.js index 5b4daf6..6e82b1d 100644 --- a/fetch.js +++ b/fetch.js @@ -5,6 +5,7 @@ let lista fetch(url) .then(response => response.json()) .then(data => { + wyswietlSufiksy(data) }); function wyswietlSufiksy(data) { diff --git a/index.html b/index.html index 6cbaf6a..c96dc2a 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@

Sortowanie Sufiksów

- +

Nieposortowane Sufiksy

Posortowane Sufiksy

diff --git a/styles.css b/styles.css index d935820..e5aa4a8 100644 --- a/styles.css +++ b/styles.css @@ -50,6 +50,14 @@ h2 { flex-direction: column; } +li:hover { + color: red; +} + +#nieposortowane:hover { + background-color: white; +} + /* .pre { background-color: #fff;