6 commit
This commit is contained in:
parent
b89ee1e8b5
commit
d87b07ad38
1
fetch.js
1
fetch.js
|
@ -5,6 +5,7 @@ let lista
|
|||
fetch(url)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
wyswietlSufiksy(data)
|
||||
});
|
||||
|
||||
function wyswietlSufiksy(data) {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<body>
|
||||
<h1>Sortowanie Sufiksów</h1>
|
||||
<button onclick="sortujSufiksy()">Sortuj Sufiksy</button>
|
||||
<button onclick="wyswietlSufiksy()">Wyswietl Sufiksy</button>
|
||||
<h2>Nieposortowane Sufiksy</h2>
|
||||
<div class="pre" id="nieposortowane"></div>
|
||||
<h2>Posortowane Sufiksy</h2>
|
||||
|
|
|
@ -50,6 +50,14 @@ h2 {
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
li:hover {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#nieposortowane:hover {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
||||
/* .pre {
|
||||
background-color: #fff;
|
||||
|
|
Loading…
Reference in New Issue