Hi Rahul sarita,
I am Dave, I will help you with this.
The hardware on the HP g4 pavilion 1303au will not support Windows 10 or 11, and HP do not provide any Windows 10 or 11 device drivers for that model of laptop, the processor is not strong enough and there is only 2GB of RAM on that laptop, if you did upgrade, the graphics, audio, network and chipset will not work correctly.
The network card and graphics on that laptop do not support wireless casting either.