Why can't i change values of items in html?

Why can't i change values of items in html?
0

#1

https://codepen.io/Mike-was-here123/pen/Zaddad --> is my pen

On lines 23 - 25 of my JS i try to change the values of items in my html. For some reason i just isn’t working. Is something wrong with my ID’s? Pretty stumped here, never had this happen before.

The <div id="primesScroll"> will be what i use for a scroll box later on, i just put it there for now.


#2

The <h3>'s are there, but their huge negative left margin pushes them off the screen. You may want to remove that. The row class in their containing <div> also makes the output unreadable.


#3

Instead of use html() use text() but also you need to format the text because is not centered, also design looks cool :stuck_out_tongue_winking_eye:


#4

Thanks both of you. @kevcomedia was right about my margin.

@0c0de Ill remember that, thanks :smiley: