Help! Export code from codepen.io to zip file

Help! Export code from codepen.io to zip file
0

#1

Hello fellow campers,

I exported my code from codepen.io to my computer so that i can use sublime text editor since i find it rather difficult to read and modify code in codepen.
I exported them to a zip file successfully, and the following folder is generated. When i click on index.html file, the page loads properly, however the button to generate new quote does NOT work.
Do i miss anything?

FYI, The facebook and instagram button does NOT work at the first place.

-AW


#2

There’s a couple of syntax errors in the JS code. Near the bottom there are missing + operators between the string and encodeURIComponent.

There should be a little red circle at the bottom right corner of the JS editor. Clicking it will show you where the syntax errors are.