I'm trying to add a class or a css style using the following js but getting a console error
var i = 0;
$(".question")[i].addClass("show");
get the following console log error: Uncaught TypeError: Object # has no method 'addClass'
or / and
$(".question")[i].css("display", "block");
get the following console log error: Uncaught TypeError: Object # has no method 'css'
used info from http://api.jquery.com/get/
EDIT
Still doesn't working if get rid of the variable i, and use numbers 0 or 1