Skip to content
Snippets Groups Projects
Commit d1d94737 authored by grembem's avatar grembem
Browse files

fixed bug with name generator

fixed missing bracket
parent 7705f219
Branches
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ const canvas = document.querySelector("canvas");
const context = canvas.getContext("2d");
const cre = () => {
var ranColor = [];
const namesFirst = ["Beautiful ", "Splash of ", "Colorful ", "Dreary ", "Radiant " ,"Vibrant ", "Awe Struck ", "Taste of ", "True ", "Fresh", "Vivid", "Daring", "Sweet";
const namesFirst = ["Beautiful ", "Splash of ", "Colorful ", "Dreary ", "Radiant " ,"Vibrant ", "Awe Struck ", "Taste of ", "True ", "Fresh", "Vivid", "Daring", "Sweet"];
const namesLast = ["Morning", "Color", "Dreams", "Inspiration", "Wonder", "Midnight", "Hue" , "Paradise", "Passion"];
const genNameFirst = namesFirst[Math.floor(Math.random() * 9)];
const genNameLast = namesLast[Math.floor(Math.random() * 9)];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment