+ 1
Where is mistakes in my code?
Help needed for this It’s very common to have "Preloader" component, especially in multifunctional apps and websites. Create a function that will output "Loading" to the console. Output Loading My Code 👇 function showPreloader() { alert("Loading"); } showPreloader()
4 ответов
+ 1
alert() doesn't output to the console, but creates an alert dialog box with the output.
Try using
console.log("Loading");
+ 3
function showPreloader() {
//complete the function
console.log("Loading")
}
//call the function
showPreloader()
+ 1
function showPreloader() {
//complete the function
console.log("Loading")
}
//call the function
showPreloader()
Good Luck
0
function showPreloader() {
console.log("Loading");
}
showPreloader();