- Кошка + Кошка
- Кошка + Кошка
- Кошка + Кошка
@@ -31,7 +31,7 @@ + !--> From bfb5c797032061a3c3867d71756f000cc45ca41c Mon Sep 17 00:00:00 2001 From: Aleksei Date: Sun, 6 Sep 2020 17:09:11 +0500 Subject: [PATCH 4/4] 23 --- homeWork6.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeWork6.js b/homeWork6.js index 1f0e1c3..bb9eb36 100644 --- a/homeWork6.js +++ b/homeWork6.js @@ -3,17 +3,17 @@ let twoX = document.querySelector('.two'); let threeX = document.querySelector('.three'); function f() { - document.querySelector('.big').style.backgroundImage="url('img/big/brit.jpg')"; + document.querySelector('.big').style.backgroundImage = "url('img/big/brit.jpg')"; } function x() { - document.querySelector('.big').style.backgroundImage="url('img/big/noname.jpg')"; + document.querySelector('.big').style.backgroundImage = "url('img/big/noname.jpg')"; } function z() { - document.querySelector('.big').style.backgroundImage="url('img/big/white.jpg')"; + document.querySelector('.big').style.backgroundImage = "url('img/big/white.jpg')"; } oneX.onclick = f; twoX.onclick = x; threeX.onclick = z; -// Можно сделать решение, через массив. \ No newline at end of file +// Можно сделать решение, через массив. 3 Здадание, так же через массив. Решить позже. \ No newline at end of file