# How to send/receive a message using js

**URL:** <https://community.thunkable.com/t/how-to-send-receive-a-message-using-js/1363709>\
**Category:** Questions about Thunkable X\
**Created:** [June 25, 2021, 11:12am UTC](https://community.thunkable.com/t/how-to-send-receive-a-message-using-js/1363709 "2021-06-25T11:12:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 25, 2021, 11:52am UTC](https://community.thunkable.com/t/how-to-send-receive-a-message-using-js/1363709/3 "2021-06-25T11:52:37Z")

</div>

I explained here how to use the web viewer block to send data to .html file and receive data from .html file.

> [@Date operations (No API)](https://community.thunkable.com/t/date-operations-no-api/1355407/3):
>
> I made a simple JavaScript code to get the date after certain number of days. [image] This is giving today’s date but if I add some days I get the future date in the label. [image] All managed by a web viewer extension running .html file added to the project as an asset… The Google sheet solution is still a viable solution and it works just as good. This is the blocks of the project This is the JavaScript Code \<!DOCTYPE html\> \<html\> \<head\> \<script src="https://thunkable.github.…

---

_[View the full topic](https://community.thunkable.com/t/how-to-send-receive-a-message-using-js/1363709)._
