diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ffc7522 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: solygambas diff --git a/001-expanding cards/style.css b/001-expanding cards/style.css index d3741bc..03f7979 100644 --- a/001-expanding cards/style.css +++ b/001-expanding cards/style.css @@ -20,7 +20,7 @@ body { } .panel { - background-size: auto 100%; + background-size: cover; background-position: center; background-repeat: no-repeat; height: 80vh; diff --git a/021-drag n drop/style.css b/021-drag n drop/style.css index c0a43c1..7ba918c 100644 --- a/021-drag n drop/style.css +++ b/021-drag n drop/style.css @@ -21,7 +21,7 @@ body { } .fill { - background-image: url("https://source.unsplash.com/random/150x150"); + background-image: url("https://picsum.photos/150/150"); height: 145px; width: 145px; cursor: pointer; diff --git a/037-pokedex/script.js b/037-pokedex/script.js index b73f52d..eebc611 100644 --- a/037-pokedex/script.js +++ b/037-pokedex/script.js @@ -30,7 +30,7 @@ const createPokemonCard = (pokemon) => { const pokemonInnerHTML = `
@@ -33,7 +33,7 @@
diff --git a/048-random image generator/script.js b/048-random image generator/script.js
index fd687fa..3062c32 100644
--- a/048-random image generator/script.js
+++ b/048-random image generator/script.js
@@ -1,12 +1,11 @@
const container = document.querySelector(".container");
-const unsplashURL = "https://source.unsplash.com/random/";
+const randomfoxURL = "https://randomfox.ca/images/";
const rows = 5;
-const getRandomNumber = () => Math.floor(Math.random() * 10) + 300;
-const getRandomSize = () => `${getRandomNumber()}x${getRandomNumber()}`;
+const getRandomNumber = () => Math.floor(Math.random() * 123);
for (let i = 0; i < rows * 3; i++) {
const image = document.createElement("img");
- image.src = `${unsplashURL}${getRandomSize()}`;
+ image.src = `${randomfoxURL}${getRandomNumber()}.jpg`;
container.appendChild(image);
}
diff --git a/051-video background/index.html b/051-video background/index.html
index 561e5da..da4e500 100644
--- a/051-video background/index.html
+++ b/051-video background/index.html
@@ -16,7 +16,7 @@