diff --git a/dz7/app/css/style.css b/dz7/app/css/style.css
deleted file mode 100644
index cbcc383..0000000
--- a/dz7/app/css/style.css
+++ /dev/null
@@ -1,136 +0,0 @@
-#cart {
- max-width: 400px;
-}
-
-.cart-item {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr 1Fr;
- grid-template-rows: 1fr;
- padding: 10px 0;
-}
-
-.cart-item:not(:first-child) {
- border-top: 1px solid black;
-}
-
-.cart-items-wrap {
- margin: 20px 0;
-}
-
-.cart-summary,
-.product-price {
- text-align: right;
-}
-
-.product-quantity {
- text-align: right;
- margin-right: 10px;
-}
-
-#products {
- display: flex;
- justify-content: space-evenly;
-}
-
-p {
- margin: 0 0 5px 0;
-}
-
-.product-img {
- width: 200px;
- height: 150px;
- overflow: hidden;
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
-}
-
-.desc {
- padding: 15px;
- border-top: 1px solid #c0c0c040;
- width: 170px;
-}
-
-.product {
- display: flex;
- flex-direction: column;
- width: 200px;
- border-radius: 5px;
- border: 1px solid #c0c0c040;
-}
-
-#feedbacks-div {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-around;
-}
-
-.feedback {
- width: 420px;
- border-radius: 5px;
- border: 1px solid #c0c0c040;
- position: relative;
- padding-bottom: 18px;
- margin-bottom: 15px;
-}
-
-.author-is-approved {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- padding: 10px;
-}
-
-.feedback-author {
- color: darkgrey;
- font-style: italic;
- font-weight: bold;
-}
-
-.feedback-approved {
- color: darkgrey;
- font-style: italic;
-}
-
-.feedback-txt {
- padding: 0 8px;
-}
-
-.approve-btn {
- position: absolute;
- bottom: 0;
- right: 80px;
-}
-
-.remove-btn {
- position: absolute;
- bottom: 0;
- right: 0;
-}
-
-.id-label,
-.author-label,
-.txt-label {
- display: block;
- width: 700px;
- margin-bottom: 10px;
-}
-
-input {
- width: 200px;
-}
-
-.input-id {
- margin-left: 25px;
-}
-
-.input-author {
- margin-left: 8px;
-}
-
-textarea {
- display: block;
- width: 500px;
- height: 100px;
- resize: none;
-}
diff --git a/dz7/app/html/index.html b/dz7/app/html/index.html
deleted file mode 100644
index e1135fb..0000000
--- a/dz7/app/html/index.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
- Title
-
-
-
-
-
-
-
-
- Отзывы (задание 2)
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dz7/app/img/keybrd.jpg b/dz7/app/img/keybrd.jpg
deleted file mode 100644
index 296cdf2..0000000
Binary files a/dz7/app/img/keybrd.jpg and /dev/null differ
diff --git a/dz7/app/img/mouse.jpg b/dz7/app/img/mouse.jpg
deleted file mode 100644
index 70311d7..0000000
Binary files a/dz7/app/img/mouse.jpg and /dev/null differ
diff --git a/dz7/app/img/notebook.jpg b/dz7/app/img/notebook.jpg
deleted file mode 100644
index c69d392..0000000
Binary files a/dz7/app/img/notebook.jpg and /dev/null differ
diff --git a/dz7/app/js/FeedBack.js b/dz7/app/js/FeedBack.js
deleted file mode 100644
index c9b3e97..0000000
--- a/dz7/app/js/FeedBack.js
+++ /dev/null
@@ -1,55 +0,0 @@
-class FeedBack {
- constructor(id, author, text, isApproved, container) {
- this.id = id;
- this.author = author;
- this.text = text;
- this.isApproved = isApproved;
- this.container = container;
- this._render();
- }
- _render() {
- let $wrapper = $('', {
- class: 'feedback'
- });
- let $divAuthorIsApproved = $('', {
- class: 'author-is-approved'
- });
- let $txt = $('', {
- class: 'feedback-txt',
- text: this.text
- });
- let $author = $(`Автор: ${this.author}
`);
- let $isApproved = $('', {
- class: 'feedback-approved',
- text: this.isApproved?'Отзыв одобрен':'Отзыв на рассмотрении'
- });
- let $approveBtn = $('', {
- class: 'approve-btn',
- text: 'Одобрить'
- });
-
- $approveBtn.on('click', () => {
- this.isApproved = true;
- $isApproved.text('Отзыв одобрен');
- $approveBtn.remove();
- })
-
- let $removeBtn = $('', {
- class: 'remove-btn',
- text: 'Удалить'
- });
-
- $removeBtn.on('click', () => $removeBtn.closest('.feedback', '#feedbacks-div').remove()); //по нажатию удалим всего ближайшего родителя - блока с отзывом
-
- //Структура
- $author.appendTo($divAuthorIsApproved);
- $isApproved.appendTo($divAuthorIsApproved);
- $divAuthorIsApproved.appendTo($wrapper);
- $txt.appendTo($wrapper)
- if (!this.isApproved){
- $approveBtn.appendTo($wrapper);
- };
- $removeBtn.appendTo($wrapper);
- $(this.container).append($wrapper);
- }
-}
diff --git a/dz7/app/js/FeedBacks.js b/dz7/app/js/FeedBacks.js
deleted file mode 100644
index f1b3b56..0000000
--- a/dz7/app/js/FeedBacks.js
+++ /dev/null
@@ -1,81 +0,0 @@
-class FeedBacks {
- constructor(source, container, containerForm) {
- this.source = source;
- this.container = container;
- this.containerForm = containerForm;
- this._init();
- }
- _init() {
- fetch(this.source)
- .then(result => result.json())
- .then(data => {
- for (let dataItem of data) {
- let fb = new FeedBack(dataItem.id, dataItem.author, dataItem.text, dataItem.isApproved, this.container);
- }
- })
- .then(this._renderForm())
- }
- _renderForm() {
- let $form = $('');
- let $fieldset = $('');
- let $legend = $('');
-
- let $idLabel = $('', {
- class: 'id-label',
- text: 'id'
- });
-
- let $id = $('', {
- class: 'input-id',
- name: 'input-id',
- placeholder: 'id отзыва'
- })
-
- let $authorLabel = $('', {
- class: 'author-label',
- text: 'Имя'
- });
-
- let $author = $('', {
- name: 'author',
- class: 'input-author',
- placeholder: 'Имя автора'
- })
-
- let $txtLabel = $('', {
- class: 'txt-label',
- text: 'Отзыв'
- });
-
- let $txt = $('', {
- name: 'feedbackTxt',
- placeholder: 'Текст отзыва'
- });
-
- let $sendBtn = $('', {
- class: 'send-btn',
- text: 'Отправить'
- });
-
- $sendBtn.on('click', (e) => {
- e.preventDefault();
- let newFB = new FeedBack($id.val(), $author.val(), $txt.val(), false, this.container);
- $id.val('');
- $author.val('');
- $txt.val('');
- });
-
- $idLabel.append($id);
- $authorLabel.append($author);
- $txtLabel.append($txt);
-
- $fieldset.append($legend);
- $fieldset.append($idLabel);
- $fieldset.append($authorLabel);
- $fieldset.append($txtLabel);
- $fieldset.append($sendBtn);
-
- $fieldset.appendTo($form);
- $form.appendTo(this.containerForm);
- }
-}
diff --git a/dz7/app/js/Product.js b/dz7/app/js/Product.js
deleted file mode 100644
index 4f5620b..0000000
--- a/dz7/app/js/Product.js
+++ /dev/null
@@ -1,43 +0,0 @@
-class Product {
- constructor(id, title, price, img = 'https://placehold.it/200x150', container = '#products'){
- this.id = id;
- this.title = title;
- this.price = price;
- this.img = img;
- this.container = container;
- this._render();
- }
- _render(){
- let $wrapper = $('', {
- class: 'product'
- });
- let $desc = $('', {
- class: 'desc'
- });
- let $img = $('
', {
- src: this.img,
- class: 'product-img',
- alt: 'Some img'
- });
- let $name = $('', {
- text: this.title
- });
- let $price = $(`Цена: ${this.price}
`);
-
- let $buyBtn = $('', {
- class: 'buy-btn',
- text: 'Купить',
- 'data-id': this.id,
- 'data-title': this.title,
- 'data-price': this.price
- });
-
- // Создаем структуру
- $img.appendTo($wrapper);
- $name.appendTo($desc);
- $price.appendTo($desc);
- $buyBtn.appendTo($desc);
- $desc.appendTo($wrapper);
- $(this.container).append($wrapper);
- }
-}
\ No newline at end of file
diff --git a/dz7/app/js/jquery-3.3.1.js b/dz7/app/js/jquery-3.3.1.js
deleted file mode 100644
index 9b5206b..0000000
--- a/dz7/app/js/jquery-3.3.1.js
+++ /dev/null
@@ -1,10364 +0,0 @@
-/*!
- * jQuery JavaScript Library v3.3.1
- * https://jquery.com/
- *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2018-01-20T17:24Z
- */
-( function( global, factory ) {
-
- "use strict";
-
- if ( typeof module === "object" && typeof module.exports === "object" ) {
-
- // For CommonJS and CommonJS-like environments where a proper `window`
- // is present, execute the factory and get jQuery.
- // For environments that do not have a `window` with a `document`
- // (such as Node.js), expose a factory as module.exports.
- // This accentuates the need for the creation of a real `window`.
- // e.g. var jQuery = require("jquery")(window);
- // See ticket #14549 for more info.
- module.exports = global.document ?
- factory( global, true ) :
- function( w ) {
- if ( !w.document ) {
- throw new Error( "jQuery requires a window with a document" );
- }
- return factory( w );
- };
- } else {
- factory( global );
- }
-
-// Pass this if window is not defined yet
-} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
-
-// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
-// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
-// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
-// enough that all such attempts are guarded in a try block.
-"use strict";
-
-var arr = [];
-
-var document = window.document;
-
-var getProto = Object.getPrototypeOf;
-
-var slice = arr.slice;
-
-var concat = arr.concat;
-
-var push = arr.push;
-
-var indexOf = arr.indexOf;
-
-var class2type = {};
-
-var toString = class2type.toString;
-
-var hasOwn = class2type.hasOwnProperty;
-
-var fnToString = hasOwn.toString;
-
-var ObjectFunctionString = fnToString.call( Object );
-
-var support = {};
-
-var isFunction = function isFunction( obj ) {
-
- // Support: Chrome <=57, Firefox <=52
- // In some browsers, typeof returns "function" for HTML