//Sample Solution to script.js
$('document').ready(function() {
function addListItemTo(listId,item) {
$('#'+listId).append($('<li></li>').html(item));
}
var jQuery = $;
var jQueryObject = $();
for (var key in jQuery)
addListItemTo("jQueryAttributes",key);
for (var key2 in jQueryObject)
addListItemTo('jQueryObjectAttributes',key2);
//YOUR CODE HERE remove those li's!
$("#right ul li:odd").remove();
});
No comments:
Post a Comment