Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check what browser you are using

// We want to alert the user about what their current browser is.
// We can use the navigator object to get the user's browser.

// Create a variable called browser and set it to the user's browser.
// Then alert the user what their browser is.
const browser = navigator.userAgent;
alert(browser);
 
PREVIOUS NEXT
Tagged: #check #browser
ADD COMMENT
Topic
Name
1+8 =