Code Challenge 24.2 “Loading” | Sololearn: Learn to code for FREE!

0

Code Challenge 24.2 “Loading”

function showPreloader() { //complete the function return ("Loading"); } showPreLoader(); //call the function Here’s my code for the challenge and it won’t work. I’ve also replaced return with alert and console.log and it still won’t execute. Any help will be much appreciated!

11/29/2021 5:56:00 PM

Nick Carothers

3 Answers

New Answer

+3

If you use return then you have to print returned value otherwise use console.log to print inside function.

+2

console.log(showPreloader());

0

Thank you for the help!