Jquery in codepen


#1

Hey guys,

I am having trouble with implementing jquery lines in codepen

this one is copied and pasted from the freecodecamp tutorial just to see if it works the same on codepen,unfortunately its not coloring the text that is targeted.

I have tried to add extension:
-Css tab:bootstrap3 and 4
-Javascript tab:bootstrap 3,4 and jquery

even tried jquery UI which yields a blan page as a result

Could someone point me out on this.

Much aprreciated


#2

Just move the JS code to the JS editor/section.


#3

Yup. Move the stuff between the script tags into the script section.

Also, remove references to bootstrap 4 in your settings. You only want/need bootstrap 3 and have BS4 in there will break it.


#4

Thank you guys so much!