Glitch In the Codecademy API?


Hello zystvan,

I'm having the same issue as julienk403, except I believe my code is correct.. dare I say it, I think it's a glitch in the codecademy api.

Here's my code:


var main = function () {

Do I have something wrong?

Interactive website: #3-Dropdown Menu exercise

@rorygrenade You need to call main() after it's declared. E.g.,

var main = function() {
  // ...



Thanks brother.

The exercise does seem a bit misleading since this is the code you start of with:


var main = function () {


Nevertheless, thanks again for your assistance.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.