How to make end portal?! Help?! Tried every way?

this is a photo of the “correct” way of doing it, apparently, even though it’s not working.


Solution 1:

The problem is, you can't construct an end portal in a superflat world. It should work perfectly fine in a normally generated world. Generate a normal world, then construct your end portal, but remove the lava. If it doesn't work, try elevating it up 3 blocks into the air.