Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RudrakshDev authored May 27, 2024
1 parent bf2c076 commit 4f58917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1 id="right">Rudraksh Jhaveri</h1>
function detectMobile() {
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (/android/i.test(userAgent) || /iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
alert("You are using a mobile device!");
alert("Please use a laptop or desktop for the best experience.");
}
}
window.onload = detectMobile;
Expand Down

0 comments on commit 4f58917

Please sign in to comment.