Rendering empty divs

So, I took about a week off from coding (probably shouldnt have), and I am already having problems with my map. Which ive always hated maps, because I can never seem to get them right the first time. This map should just render 10 empty divs, but I get an error of "unexpected token in my codepen

“Unexpected token” means a typo. Most commonly this is a missing or extra ;, ), ], or }.
In your case, you forgot the > in your opening div tag on line 23 at column 24.

1 Like