Here are the steps to connect your laptop to a projector with HDMI:

1. Connect one end of the HDMI cable into the laptop’s HDMI port.
2. Connect another end into the projector’s HDMI port.
3. Select HDMI as input source on your projector.
4. Press “Windows key + P” on your laptop.
5. Select the “Duplicate” option to mirror your laptop screen on the projector. Alternatively, you can use the "Extend" option to use the projector as a second monitor.