Hello Readers.

For my friends that don't know how to create an app, kindly refer to my previous article “Create an App in Office 365 and SharePoint 2013”. Today, yes this will be a part in which we will see numerous web parts in my future articles. People, once you go through my article, the following will be easy. Let's start with the procedure.
  1. <div id="mymessagediv"></div>
  2. <button id="btnclk" onclick="mymessage();">Welcome Click me</button>
  1. <script type="text/javascript" src="../Scripts/App.js"></script>
  1. function mymessage()
  2. {
  3. document.getElementById("mymessagediv").innerHTML ="<p> Hello World </p>";
  4. }
Here is the web part generating an event on the button click. A web part that doesn't need Visual Studio to deploy, it is directly deployed and published on your site globally.

In this article we have seen our first basic app to start a new venture with Office 365. There is more to come, keep learning! Cheers!