diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/JSON-Lab-1.iml b/.idea/JSON-Lab-1.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/JSON-Lab-1.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..a5b9dac
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000..797acea
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/js/colors.js b/js/colors.js
index 6e4f350..63e0fd3 100644
--- a/js/colors.js
+++ b/js/colors.js
@@ -1,5 +1,6 @@
-var colorsArray : {
- colors=[
+var colorsArray = {
+ colors : [
+ //colorsArray '=' / colors ':'
{
"name":"green",
"red":"64",
@@ -13,11 +14,12 @@ var colorsArray : {
"blue":"62"
},
{
- name:"red",
- red:"192",
- green:"46",
- blue:"35"
- }
+ "name":"red",
+ "red":"192",
+ "green"":"46",
+ "blue":"35"
+ //add missing "" and forgotten comma ,
+ },
{
"name":"blue",
"red":"19",
@@ -25,9 +27,10 @@ var colorsArray : {
"blue":"144",
},
{
- "name"="orange",
- "red"="253",
- "green"="92",
- "blue"="48"
+ "name":"orange",
+ "red":"253",
+ "green":"92",
+ "blue":"48"
+ //replaced '=' with ':'
},
]