# Simple Web page heading issues

**URL:** <https://discourse.nodered.org/t/simple-web-page-heading-issues/16759>\
**Category:** General\
**Created:** [16 October 2019 07:37 UTC](https://discourse.nodered.org/t/simple-web-page-heading-issues/16759 "2019-10-16T07:37:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GChapo](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@GChapo](https://discourse.nodered.org/u/GChapo)\
**Post date:** [16 October 2019 07:37 UTC](https://discourse.nodered.org/t/simple-web-page-heading-issues/16759/1 "2019-10-16T07:37:25Z")

</div>

I have taken the simple websocket website from the Node Red Cookbook and tried to adapt it for my purposes. In my attempt to get an inject node to appear under two seperate headings, my lack of javascript and HTML knowledge has caused me to hit a cul-de-sac. At present I do not know how the message payload from one inject node can be assigned to a corresponding heading through the coding and I need help please?

The nodes are;

![simpleflow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/234f4dcc0ed9a5a489275a2f620708b9a761cad2.jpeg)

The Simple Webpage code is;

 ![websocketnode](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/3a367a93d1cba66420faf415d2b12f4153b3d04c.jpeg)

The 1 second inject is;

![every1sec](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0ec5aa67faf759da7a23672cae083f102b0c7e3c.jpeg)

The 5 second inject is;

![every5sec](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/d1a1d380abc87d6300fec5acdda25a4d06e8fa97.jpeg)

Any assistance would be gratefully received.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 October 2019 12:58 UTC](https://discourse.nodered.org/t/simple-web-page-heading-issues/16759/2 "2019-10-16T12:58:02Z")

</div>

You do know that uibuilder will do all of that for you don't you?

---

<div class="post-metadata">

**Author:** ![GChapo](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@GChapo](https://discourse.nodered.org/u/GChapo)\
**Post date:** [16 October 2019 15:20 UTC](https://discourse.nodered.org/t/simple-web-page-heading-issues/16759/3 "2019-10-16T15:20:15Z")

</div>

Thanks Julian,

I shall have a look and come back if needed.
