I have copied your code and tested it myself, it passes
that means that may be something in your browser that makes it fail, this can be an outdated version of the browser, a non compatible browser, or an extension that interferes - if you can’t find a way to make the tests work, with a different browser, updating your browser, switching off extensions, you can go to the nest challenge from the list of challenges - a missed challenge doesn’t matter for the cert, only the five projects at the end
Safari should be supported, but there has been various challenges that are having issues, but they are been fixed as soon as found. Can you confirm it happens also in an incognito window?
You can open a bug report yourself, or I will
Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.
Just tried it on a new private window and get the same. Probably a bug I suppose. I will try to see about disabling the extensions but it’s going on 3am where I live so I’ll look at that later.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.