This file contains hidden or 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
// 1-й вариант | |
function showVerticalMessage(str) { | |
let result = ""; | |
if (str.length > 7) { | |
console.log("Cлишком длинные символы!"); | |
return; | |
} | |
if (str[0] === "s") { |
This file contains hidden or 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
function calc(operation, a, b) { | |
if ( | |
operation !== 'add' && | |
operation !== 'multi' && | |
operation !== 'div' && | |
operation !== 'sub' && | |
operation !== 'min' && | |
operation !== 'max' | |
) { | |
return 'Напишите корректную операцию' |
This file contains hidden or 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
let gulp = require('gulp'), | |
sass = require('gulp-sass'); | |
rename = require('gulp-rename'); | |
browserSync = require('browser-sync'); | |
autoprefixer = require('gulp-autoprefixer'); | |
concat = require('gulp-concat'); | |
uglify = require('gulp-uglify'); | |
cssmin = require('gulp-cssmin'); | |
This file contains hidden or 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
{ | |
"name": "gulp-start", | |
"version": "1.0.0", | |
"description": "start gulp", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "Vadim Prokopchuk", | |
"license": "ISC", |
This file contains hidden or 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
let gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
browserSync = require('browser-sync'), | |
uglify = require('gulp-uglify'), | |
concat = require('gulp-concat'), | |
rename = require('gulp-rename'), | |
del = require('del'), | |
autoprefixer = require('gulp-autoprefixer'); | |
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="css/styles.css"> | |
<title>Оптимизация карты</title> | |
</head> | |
<body> |
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="css/style.css"> | |
<title>Оптимизация карты</title> | |
</head> | |
<body> |
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="css/style.css"> | |
<title>Оптимизация карты</title> | |
</head> | |
<body> |
This file contains hidden or 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 lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Яндекс.Карты</title> | |
<link href="https://fonts.googleapis.com/css?family=Indie+Flower" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet"> | |
<link href="css/normalize.css" rel="stylesheet"> | |
<link href="css/style.css" rel="stylesheet"> |
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="css/style.css"> | |
<title>Карты</title> | |
</head> | |
<body> |
NewerOlder