# Help me to append html code on Hamburger Section

**URL:** <https://meta.discourse.org/t/help-me-to-append-html-code-on-hamburger-section/152297>\
**Category:** Product Support\
**Created:** [22 במאי,‏ 2020,‏ 6:12am UTC](https://meta.discourse.org/t/help-me-to-append-html-code-on-hamburger-section/152297 "2020-05-22T06:12:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Praba\_Praba](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/praba_praba/32/156774_2.png) [@Praba\_Praba](https://meta.discourse.org/u/Praba_Praba)\
**Post date:** [22 במאי,‏ 2020,‏ 6:12am UTC](https://meta.discourse.org/t/help-me-to-append-html-code-on-hamburger-section/152297/1 "2020-05-22T06:12:34Z")

</div>

Dear all,

I hope all Good..

This is my code.. please have a look

```
<script>
        $.getJSON("https://forum.example.com/directory_items.json?order=likes_received&period=monthly", function(data, status) {

            var base_url = window.location.origin;
        z0 = base_url + data.directory_items[0].user.avatar_template.replace("{size}", "24");
        z1 = base_url + data.directory_items[1].user.avatar_template.replace("{size}", "24");
        z2 = base_url + data.directory_items[2].user.avatar_template.replace("{size}", "24");
        z3 = base_url + data.directory_items[3].user.avatar_template.replace("{size}", "24");
        z4 = base_url + data.directory_items[4].user.avatar_template.replace("{size}", "24");
        z5 = base_url + data.directory_items[5].user.avatar_template.replace("{size}", "24");
        leader_body = '<h1>Leader Board</h1><br><img class="learder_rounded" src="' + z0 + '"><b>' + data.directory_items[0].user.username + '</b><br><img class="learder_rounded" src="' + z1 + '"><b>' + data.directory_items[1].user.username + '</b><br><img class="learder_rounded" src="' + z2 + '"><b>' + data.directory_items[2].user.username + '</b><br><img class="learder_rounded" src="' + z3 + '"><b>' + data.directory_items[3].user.username + '</b><br><img class="learder_rounded" src="' + z4 + '"><b>' + data.directory_items[4].user.username + '</b><br><img class="learder_rounded" src="' + z5 + '"><b>' + data.directory_items[5].user.username + '</b>';
        console.log(leader_body);
        $(".menu-container-footer-links").append(leader_body);

    });
    </script>

```

**I want to append my html code (Leader Board) on Hamburger Section.**

But this code is not working properly.

See the Image, Above code shows this result on Hamburger only when i opened hamburger section and reload.. After closed and open the hamburger it’s not showing .. please help me to fix this. I’m noob to discourse.. Generally Programming Noob 😇

 ![Leaderboard](https://global.discourse-cdn.com/meta/original/3X/6/0/607fd6ed0ea4efdd1de61996d6fff6a044a45f7c.jpeg)

Thanks in Advance . 🙏

---

_[View the full topic](https://meta.discourse.org/t/help-me-to-append-html-code-on-hamburger-section/152297)._
