- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Quick Codepen JS Question
I have a pen: http://codepen.io/attilahajzer/pen/hcBop
and im looking to add javaScript to the pen just plain old Javascript, since im already using jQuery, can i just add javascript in the js panel and it render properly? or will it not work?
im looking to add functionality for readability with buttons to be able to make the text larger or smaller.
i want to try it on my own but not sure if its possible to mix jQuery and js.
can i just add javascript in the js panel and it render properly? or will it not work?
have you tried?
not sure if its possible to mix jQuery and js.
jQuery and javascript are not separate languages.
JavaScript is a language.
jQuery is a function library written in javascript. jQuery is javascript.
javascript is in the browser. You don’t have to do anything special to use it in your pens.
Case Matters ( btnsmaller_onclick
!= btnSmaller_onclick
).
Use a console (e.g., firebug or chrome dev tools). It’ll point out simple stuff like this for you.