Javascript and the DOM - .hide()


#1



Going through the JavaScript and the DOM unit, I've reached the .hide() function. My code seems to be correct, by anything I can think of, and when I continually got it incorrect, I was given the option to "Get Code", which I did. My code did not change... Here's the code:


function main() {
  $('.skillset').hide();
}

$(document).ready(main);

Ideas? Is this a bug, or am I doing something wrong?

Bumped to top 12/10/2016, 19:43 UTC.


#3

Could be a bug in the SCT. Did you try refreshing and running again?


#4

Yep! It was during the issue with the servers. Fixed now. Thanks.


#5

This topic was automatically closed after 7 days. New replies are no longer allowed.