This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container" > | |
<div class="row"> | |
<div class="col-12"> | |
<h2>Контакты для связи</h2> | |
</div> | |
</div> | |
</div> | |
<div class="container" > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<!-- служебная часть --> | |
<head> | |
<!-- заголовок страницы --> | |
<title>Михаил Максимов — преподаватель информатики</title> | |
<!-- настраиваем служебную информацию для браузеров --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<!-- служебная часть --> | |
<head> | |
<!-- заголовок страницы --> | |
<title>Орфокорректор</title> | |
<!-- настраиваем служебную информацию для браузеров --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
/* общие параметры страницы*/ | |
body{ | |
text-align: center; | |
margin: 10; | |
font-family: Verdana, Arial, sans-serif; | |
font-size: 16px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
// эта функция получает наш результат проверки орфографии | |
fix_spell = function(data) { | |
data.forEach(function(elem) { | |
// она находит наше поле ввода по имени | |
$('#text_field').val( | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<!-- служебная часть --> | |
<head> | |
<!-- заголовок страницы --> | |
<title>Орфокорректор</title> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<!-- служебная часть --> | |
<head> | |
<!-- заголовок страницы --> | |
<title>Михаил Максимов — преподаватель информатики</title> | |
<!-- настраиваем служебную информацию для браузеров --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a, b, c, d, e; | |
// длина каждой стенки не может быть равна нулю, поэтому все циклы начинаются с единицы. Переменная e, судя по рисунку, явно больше 50, поэтому у неё будет другой диапазон | |
for (a = 1; a <= 50; a++) { | |
for (b = 1; b <= 50; b++) { | |
for (c = 1; c <= 50; c++) { | |
for (d = 1; d <= 50; d++) { | |
for (e = 1; e <= 100; e++) { | |
if ( (a + c + d == 50)&& (e - 30 + b == 50) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<title>Список задач</title> | |
<!-- Это название страницы, выводится в табе браузера --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Это служебная информация для браузера, пока можно не вникать --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container" style="width: 400px; margin: auto;"> | |
<!-- Ограничиваем ширину списка задач и ставим его по центру --> | |
<h2 class="todo__caption">Список задач</h2> | |
<!-- Заголовок списка --> | |
<!-- Дальше будет поле ввода, куда пишем новые задачи --> | |
<div id="tdlApp"> | |
<input type="text" class="form-control" placeholder="Новая задача"> | |
<!-- Создаём пока ещё пустой список --> | |
<div class="tdlDiv"> | |
<ul class="tdList list-unstyled"> |