From 7e7d81eab0a8d64b51b650d7c9eb3161fd81f296 Mon Sep 17 00:00:00 2001 From: longo-andrea Date: Mon, 19 Apr 2021 21:28:17 +0200 Subject: [PATCH 1/2] Review Introduction to browser events --- .../01-hide-other/solution.view/index.html | 4 ++-- .../02-hide-self-onclick/solution.md | 2 +- .../02-hide-self-onclick/task.md | 2 +- .../04-move-ball-field/solution.view/index.html | 14 +++++++------- .../06-hide-message/solution.view/index.html | 2 +- .../06-hide-message/task.md | 4 ++-- .../07-carousel/source.view/index.html | 8 ++++---- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/2-ui/2-events/01-introduction-browser-events/01-hide-other/solution.view/index.html b/2-ui/2-events/01-introduction-browser-events/01-hide-other/solution.view/index.html index 7228a45de..7a4c62cb4 100644 --- a/2-ui/2-events/01-introduction-browser-events/01-hide-other/solution.view/index.html +++ b/2-ui/2-events/01-introduction-browser-events/01-hide-other/solution.view/index.html @@ -12,8 +12,8 @@
Text
diff --git a/2-ui/2-events/01-introduction-browser-events/06-hide-message/task.md b/2-ui/2-events/01-introduction-browser-events/06-hide-message/task.md index 4a1154a40..21f102da7 100644 --- a/2-ui/2-events/01-introduction-browser-events/06-hide-message/task.md +++ b/2-ui/2-events/01-introduction-browser-events/06-hide-message/task.md @@ -2,9 +2,9 @@ importance: 5 --- -# Aggiungere un pulsante di chiusura +# Aggiungete un pulsante di chiusura -Abbiamo una lista di messaggi. +Avete una lista di messaggi. Aggiungete tramite JavaScript un pulsante di chiusura nell'angolo in alto a destra di ogni messaggio. diff --git a/2-ui/2-events/01-introduction-browser-events/07-carousel/source.view/index.html b/2-ui/2-events/01-introduction-browser-events/07-carousel/source.view/index.html index e9a9bc8d4..12c4bc240 100644 --- a/2-ui/2-events/01-introduction-browser-events/07-carousel/source.view/index.html +++ b/2-ui/2-events/01-introduction-browser-events/07-carousel/source.view/index.html @@ -7,7 +7,7 @@ - + @@ -28,8 +28,8 @@ From 7e923a2f9f979a7f2d77355ed5875b52db5fdcd7 Mon Sep 17 00:00:00 2001 From: Andrea <45577511+longo-andrea@users.noreply.github.com> Date: Fri, 23 Apr 2021 20:56:31 +0200 Subject: [PATCH 2/2] Update index.html --- .../04-move-ball-field/solution.view/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/2-events/01-introduction-browser-events/04-move-ball-field/solution.view/index.html b/2-ui/2-events/01-introduction-browser-events/04-move-ball-field/solution.view/index.html index 199ab9e1c..91e397bf3 100644 --- a/2-ui/2-events/01-introduction-browser-events/04-move-ball-field/solution.view/index.html +++ b/2-ui/2-events/01-introduction-browser-events/04-move-ball-field/solution.view/index.html @@ -43,7 +43,7 @@ let fieldCoords = this.getBoundingClientRect(); // la palla ha come position:absolute, il campo: position:relative - // quindi le coordinate della pall sono relative all'angolo in alto a sinistra del campo + // quindi le coordinate della palla sono relative all'angolo in alto a sinistra del campo let ballCoords = { top: event.clientY - fieldCoords.top - field.clientTop - ball.clientHeight / 2, left: event.clientX - fieldCoords.left - field.clientLeft - ball.clientWidth / 2