Mac laptop do not run the HTML

Tell us what’s happening:
SyntaxError: Cannot declare a const variable twice: ‘n’.

I used another laptop microsoft and it works.
is there a program I have to download for Mac laptop?

Your code so far


<h1>Hello World</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8.

Challenge: Say Hello to HTML Elements

Link to the challenge:

I don’t think you need a new browser maybe you missed a tag or a slash or bracket…Mac doesn’t usually have problem…I mean, It’s APPLE they know tech. :smiley:

Is your browser fully up to date?

so quick question -

  1. where are you typing the html ? is it in safari’s dev console ?
  2. is that code line the only thing you are trying to execute ? from the error looks like there is something else along - hopefully NO \n by mistakes.

A screenshot of how u r running the code will be very helpful

My Mac is up to date as is Safari. That said you’re a couple of versions behind on both. Maybe you can’t update.
When you ran it on Microsoft you obviously didn’t use Safari so how about loading Chrome on your Mac and seeing if it passes.