Code not working for page 136 JavaScript Absolute Beginner's Guide 2nd Edition

Here is code that must show warning and error messages on the console but it not working

When you preview in the browser, what errors does the console show? Can you copy and paste the full code here? I can try running it locally and see what may be happening.

Kirupa :grinning:

I found an error. My error is writing function showmore in dosomething.
Thank you for responding to my message :laughing:

1 Like

Haha! Glad it all worked out and welcome to the forums, @Sueny :grinning: