if ( isAdmin === true) There's some good information here:https://stackoverflow.com/questions/359494/which-equals-operator-vs-should-be-used-in-javascript-comparisonsif you'd like to read about why. Secondly, check your syntax after your else if statement. You have the opening curly brace...