From 40ca0b4ab79e705f0773d582c3ef9285a46e8eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stevan=20=C4=8Caki=C4=87?= Date: Thu, 13 Jul 2023 13:40:08 +0200 Subject: [PATCH] Update solution.md --- 1-js/02-first-steps/05-types/1-string-quotes/solution.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/1-js/02-first-steps/05-types/1-string-quotes/solution.md b/1-js/02-first-steps/05-types/1-string-quotes/solution.md index 68a13c15b..171662c16 100644 --- a/1-js/02-first-steps/05-types/1-string-quotes/solution.md +++ b/1-js/02-first-steps/05-types/1-string-quotes/solution.md @@ -1,15 +1,15 @@ -Backticks embed the expression inside `${...}` into the string. +Navodnici dodaju izraz koji se nalazi između `${...}` u izraz. ```js run let name = "Ilya"; -// the expression is a number 1 +// izraz je broj 1 alert( `hello ${1}` ); // hello 1 -// the expression is a string "name" +// izraz je string "name" alert( `hello ${"name"}` ); // hello name -// the expression is a variable, embed it +// izraz je varijabla, dodaj je alert( `hello ${name}` ); // hello Ilya ```