Question regarding variable use on Exercise 4

In exercise 4. Create a component class, they want you to type

class x extends React.Component {}

x is a variable right? I placed ‘foo’ instead of x and it would not pass the check and I wanted to make sure I understood that correctly in my assumption that x is just a variable name. Thanks for any input

After moving onto 5, I realize that my assumption was correct and wanted to make the suggestion that step 4 be allowed to accept any string vs. only accepting x as the input for the exercise… I wonder if this would be the outlet for submitting suggestions.

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