Error Resource code in "Portals in React" pls upload correct one

In Fragments and Portals
Portals in React Resource code files not available and
React Refs Resource code having bug pls upload correct one.

I am also getting bug in Portals in React practice, if anyone can solve i am sharing below my code link pls check.