Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
Exercises
HTML
JavaScript
Git
CSS
PHP
Courses
Quizzes
Snippets
Tools
General Tools
Image Optimiser
Password Generator
HTML Editor
HTML Encoder
Base 64
Code Diff
JSON Beautifier
CSS Beautifier
Markdown Convertor
Find the Closest Tailwind CSS Color
Phrase encrypt / decrypt
Browser Feature Detection
CSS Maker
CSS Maker
CSS Maker text shadow
CSS Maker Text Rotation
CSS Maker Out Line
CSS Maker RGB Shadow
CSS Maker Transform
CSS Maker Font Face
Color Tools
Color Picker
Colors CMYK
Colors HWB
Colors HSL
Color Hex
Color mixer
Color Converter
Colors RGB
Color Contrast Analyzer
Color Gradient
String Tools
String Length Calculator
String to MD5 Hash Generator
String to Sha256 Hash Generator
String Reverse
URL Encoder
URL Decoder
Base 64 Encoder
Base 64 Decoder
Extra Spaces Remover
String to Lowercase Convertor
String to Uppercase Convertor
String Word Count
Empty Lines Remover
HTML Tags Remover
Convert binary data into hexadecimal representation
Decodes a hexadecimally encoded binary string
Rot13 Transform on a String
String to Binary Converter
Duplicate Lines Remover
CSS Maker
CSS Maker
CSS Maker Text Shadow
CSS Maker Text Rotation
CSS Maker Outline
CSS Maker RGB Shadow
CSS Maker Transform
CSS Maker Font Face
Change theme
Dark
Light
System
Quizzez
HTML Basic
CSS Basic
Javascript Basic
PHP basic
ES6 Basic
TypeScript Basic
Angular Basic
React Basic
Sass Basic
Vue.js Basic
Git Basic
SQL Basic
Quiz Javascript Basic - How do you open a confirm window in JavaScript?
How do you open a confirm window in JavaScript?
confirm() aaa
location.confirm() aaa
window.open_confirm() aaa
window.new_confirm() aaa
Answer
Your answer is correct
Your answer is incorrect
Start Quiz
Sorry about that
How can we improve it?
Submit
Thanks for your feedback!
Thanks for your feedback!
Do you find this helpful?
Yes
No
Related Questions
Inside which element do you put JavaScript?
How can you detect the application name of the client’s browser?
How do you declare a new date in JavaScript?
How do you open a new window with JavaScript?
Which function is used to load the next URL in the history list?
How do you get cookies in JavaScript?
Which of the following events occurs when the user clicks on an HTML element?
How do you get the DOM element with id in JavaScript?
How do you create a new function in JavaScript?
How do you create a JavaScript array?
Can you set any style to HTML tag using JavaScript?
Which of the following is the correct way to write an array?
Which of the following is the correct way to write “Welcome to W3docs” on the web page?
What will be the output of the following code piece?
Which of the following is used to identify the array?
What will be the result of the following code snippet?
What is a closure?
Which of the following options is right for dynamic scoping?
JavaScript is not a case-sensitive language.
Which of the following is used for assigning a value to a variable?