diff --git a/MVC/farger.html b/MVC/farger.html index ccd2ff1..631a718 100644 --- a/MVC/farger.html +++ b/MVC/farger.html @@ -1,42 +1,39 @@ + - Document + CRUD MVC + +
- +
- + \ No newline at end of file diff --git a/MVC/farger.js b/MVC/farger.js index 46f73ff..7f5ba41 100644 --- a/MVC/farger.js +++ b/MVC/farger.js @@ -34,9 +34,9 @@ function addColor() { addColorName = ''; updateView(); } -function createColorHtml() { +function createColorsHtml() { let colorsHtml = ''; - for (let i = 0; i < colors.lenght; i++) { + for (let i = 0; i < colors.length; i++) { let color = colors[i]; colorsHtml += /*HTML*/ `