Skip to content

Commit 13c74a3

Browse files
authored
Merge pull request #26 from mtsonkova/patch-2
Coding Style
2 parents 24af35d + f1cc527 commit 13c74a3

File tree

1 file changed

+4
-4
lines changed
  • 1-js/03-code-quality/02-coding-style/1-style-errors

1 file changed

+4
-4
lines changed

1-js/03-code-quality/02-coding-style/1-style-errors/task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ importance: 4
22

33
---
44

5-
# Bad style
5+
# Лош стил
66

7-
What's wrong with the code style below?
7+
Какво не е наред с форматирането на долния код?
88

99
```js no-beautify
1010
function pow(x,n)
@@ -17,12 +17,12 @@ function pow(x,n)
1717
let x=prompt("x?",''), n=prompt("n?",'')
1818
if (n<=0)
1919
{
20-
alert(`Power ${n} is not supported, please enter an integer number greater than zero`);
20+
alert(`Степен ${n} не се поддържа, моля въведете цяло число, по-голямо от нула`);
2121
}
2222
else
2323
{
2424
alert(pow(x,n))
2525
}
2626
```
2727

28-
Fix it.
28+
Поправете го.

0 commit comments

Comments
 (0)