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

**URL:** <https://forum.kirupa.com/t/code-not-working-for-page-136-javascript-absolute-beginners-guide-2nd-edition/650566>\
**Category:** web dev\
**Created:** [January 23, 2022, 4:08pm UTC](https://forum.kirupa.com/t/code-not-working-for-page-136-javascript-absolute-beginners-guide-2nd-edition/650566 "2022-01-23T16:08:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sueny](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Sueny](https://forum.kirupa.com/u/Sueny)\
**Post date:** [January 23, 2022, 4:08pm UTC](https://forum.kirupa.com/t/code-not-working-for-page-136-javascript-absolute-beginners-guide-2nd-edition/650566/1 "2022-01-23T16:08:38Z")

</div>

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

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/b/b/bbe8e6e13a3e8053fd2814b6a65c38214a67070a.png)

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [January 23, 2022, 6:07pm UTC](https://forum.kirupa.com/t/code-not-working-for-page-136-javascript-absolute-beginners-guide-2nd-edition/650566/2 "2022-01-23T18:07:16Z")

</div>

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.

Cheers,  
Kirupa 😀

---

<div class="post-metadata">

**Author:** ![Sueny](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Sueny](https://forum.kirupa.com/u/Sueny)\
**Post date:** [January 23, 2022, 7:00pm UTC](https://forum.kirupa.com/t/code-not-working-for-page-136-javascript-absolute-beginners-guide-2nd-edition/650566/3 "2022-01-23T19:00:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [January 23, 2022, 10:01pm UTC](https://forum.kirupa.com/t/code-not-working-for-page-136-javascript-absolute-beginners-guide-2nd-edition/650566/4 "2022-01-23T22:01:50Z")

</div>

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