Sorry for my beginner's question 
I am not sure of the workflow needed in order to create and share a web app after coding in ArcGIS API for JavaScript.
Taking the basic Create a map tutorial, I copied the code in a html and uploaded the file in my ArcGIS Online account:
Type: Web Mapping
Purpose: Ready To Use
API: JavaScript
I can open the uploaded map.
But the Share button does not provide a link in order to share the map.

How can I share a map coded in ArcGIS API for JavaScript ?
Thank you,
Michelle.