Need Help with Calculator { React Edition}

So I got a 12/ 18 test passing and I am stuck for a bit. I need tests [have 8, 10, 11 && 13 ] to pass. I will take any suggestions.
Demo: https://ber-kna-fccfedl.vercel.app/
Git Hub : GitHub - Nerajno/Ber-kna-FCCFEDL: FreeCodecamp FEDL ~> Calculator

Pretty sure it is because you have the output inside a nested element. The test expects it directly in the display element.

If you look at the test message you can see the 0 from the answer element and the newline.

Numbers do not display correctly within id="display" : expected '0\n123' to equal '123'

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