From c058fa0fb22dc40ef0225b21a97578cddd0aaffa Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:51:05 +0100 Subject: unslug ru: move --- .../simple_live_sample_demo/index.html | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 files/ru/mdn/structures/live_samples/simple_live_sample_demo/index.html (limited to 'files/ru/mdn/structures/live_samples') diff --git a/files/ru/mdn/structures/live_samples/simple_live_sample_demo/index.html b/files/ru/mdn/structures/live_samples/simple_live_sample_demo/index.html deleted file mode 100644 index 393a20bc94..0000000000 --- a/files/ru/mdn/structures/live_samples/simple_live_sample_demo/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: A simple demo of a live code sample -slug: MDN/Structures/Live_samples/Simple_live_sample_demo -tags: - - MDN Meta - - Конструкции - - Пример -translation_of: MDN/Structures/Live_samples/Simple_live_sample_demo ---- -
{{MDNSidebar}}
- -

Пример

- -

Это очень простой пример показывающий вам, как сделать живой образец на MDN. Для большей информации смотрите Live samples.

- -
<form>
-  <label>Try me<input type="text" name="name"></label>
-  <input type="submit" value="go">
-</form>
- -
form {
-  border-radius: 10px;
-  background: powderblue;
-}
- -
var f = document.querySelector('form');
-
-f.addEventListener('submit', function(ev) {
-  ev.preventDefault();
-  document.querySelectorAll('input')[1].value = 'sending';
-}, false);
- -

{{ EmbedLiveSample('Пример', '', '', '') }}

- -
-

Примечание: На локализованных страницах значение первого параметра должно совпадать с ID заголовка в котором находится пример.

-
-- cgit v1.2.3-54-g00ecf