Directives I Syntax

I am on this lesson:

What I find weird is that if I copy paste what the lesson asks to be copied, it is fine. But if I move the brackets around, it doesn’t accept it and the editor points out syntax issues. I am pretty sure JavaScript ignores whitespace. I’ve never had an issue with syntax in javascript. What is going on here?

Codecademy has to somehow check whether your code is correct. How are they supposed to do so if you don’t want to follow the instructions?

Ah. I would figure they would check the HTML.

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