From 5dfb6b5de09cc963c8086848c1565117ff4e8c22 Mon Sep 17 00:00:00 2001
From: JURAMOUSE <57018610+JURAMOUSE@users.noreply.github.com>
Date: Mon, 23 Dec 2019 10:47:24 +0400
Subject: [PATCH] russian improvment translate (#37547)
---
...ion-data-to-find-a-users-gps-coordinates.russian.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/curriculum/challenges/russian/04-data-visualization/json-apis-and-ajax/get-geolocation-data-to-find-a-users-gps-coordinates.russian.md b/curriculum/challenges/russian/04-data-visualization/json-apis-and-ajax/get-geolocation-data-to-find-a-users-gps-coordinates.russian.md
index cc80e29eee..229eebca31 100644
--- a/curriculum/challenges/russian/04-data-visualization/json-apis-and-ajax/get-geolocation-data-to-find-a-users-gps-coordinates.russian.md
+++ b/curriculum/challenges/russian/04-data-visualization/json-apis-and-ajax/get-geolocation-data-to-find-a-users-gps-coordinates.russian.md
@@ -13,7 +13,7 @@ localeTitle: Получите данные геолокации, чтобы на
## Instructions
-Add the example code inside the script
tags to check a user's current location and insert it into the HTML.
+Добавьте образец кода в тег script
для проверки геолокации пользователя и вставки полученного значения в HTML.
## Tests
@@ -21,13 +21,13 @@ Add the example code inside the script
tags to check a user's curre
```yml
tests:
- - text: Your code should use navigator.geolocation
to access the user's current location.
+ - text: Ваш код должен использовать navigator.geolocation
для доступа к текущей локации user's.
testString: assert(code.match(/navigator\.geolocation\.getCurrentPosition/g));
- - text: Your code should use position.coords.latitude
to display the user's latitudinal location.
+ - text: Ваш код должен использовать position.coords.latitude
для отображения широты геолокации user's.
testString: assert(code.match(/position\.coords\.latitude/g));
- - text: Your code should use position.coords.longitude
to display the user's longitudinal location.
+ - text: Ваш код должен использовать position.coords.longitude
для отображения широты долготы user's.
testString: assert(code.match(/position\.coords\.longitude/g));
- - text: You should display the user's position within the data
div element.
+ - text: Вы должны отобразить геолокацию user's с помощью div-элемента data
.
testString: assert(code.match(/document\.getElementById\(\s*?('|")data\1\s*?\)\.innerHTML/g));
```