Is wudhu valid if we have applied nailpolish onto the nails but making sure that it has not touched the sides and the skin? Hence not becoming a barrier for the water reaching the skin?

It is necessary to remove the nail polish before the wudhu whether it is applied on nail, water should reach there. But if one has performed the wudhu and applied nail polish then she can pray with nail polish.