May 2020
Intermediate to advanced
404 pages
10h 52m
English
All the code in this section has to be put into the base.html template of the UI so that it is available on all of the pages of the website.
We use the following code to quickly create a button with the Ask a question text that will be at the bottom-right corner of the web page sitewide:
<div id="customerChatRoot" class="btn btn-warning" style="position: fixed; bottom: 32px; right: 32px;">Ask a question</div>
Now, we will need to initialize and configure the Web Speech API, as we will do in the next section.
Read now
Unlock full access