Need some help on a website I am working on. Basically I wish to implement a orientation lock when the website is viewed on a mobile device and the website would be locked on a portrait mode.
I found this implementation method on mdn web docs: Link to the article
Does anyone here have experience on making a screen orientation lock for websites? If you have any tips or trick or any resources to share thank you in advance!
Thanks for reading :)