Render State in the User Interface - test #3 failing

Tell us what’s happening:
I am experiencing trouble in passing test #3 (The rendered h1 header should contain text rendered from the component’s state.). I’ve searched through several topics regarding this lesson to no avail.

I also receive the error “invalid arrow-function arguments (parentheses around the arrow-function may help)” when I run the tests, to my knowledge so far I don’t see any arrow-functions in the code. Could anyone offer any insight please?

Your code so far

class MyComponent extends React.Component {
  constructor(props) {
    this.state = {
      name: 'freeCodeCamp'
  render() {
    return (
        { /* change code below this line */ }
        { /* change code above this line */ }

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1.

Link to the challenge:

What browser are you using? Can you check the browser’s console to see if there are any error messages showing there? Your code passes for me, but I am using Chrome.

1 Like

I am using Pale Moon, which is a fork off of Firefox. I’m a bit new to reading my console logs, but it seems like the error it lists is

SyntaxError: unknown: Unexpected token (13:8)
11 | { /* change code below this line */ }
12 | <

13 | { /* change code above this line */ }
| ^
14 |
15 | );
16 | }
Stack trace:
[object Object]

I am going to try a new browser or two and update/edit this post with the results. Thanks!

UPDATE: The browser was the issue it seems, passed the test changing to a different one.