title: Popup with a message - Google Scripts - Google Spreadsheets
body: <p>In SpreadSheets, I would like to see a welcome message.
  I would like to style this message, bold font etc.
  I try this way, but it doesn't open.</p>
  <pre><code>function myFunction() {
    
    const ui = SpreadsheetApp.getUi();
    const html = HtmlService.createHtmlOutput('&lt;p&gt;This interface was written in HTML!&lt;/p&gt;');
  
  ui.showModalDialog(html, &quot;HTML!&quot;);
  }
  
  function alertMe() {
    
    return SpreadsheetApp.getUi().alert(&quot;You've been alerted!&quot;);
    
  }
  </code></pre>