title: How to modify magento front end pages
body: <p>I am trying to create a module which has both frontend and backend functionality. Like I need to ask for the city in the home page when the store loads. And all the available cities are entered/managed in backend admin panel.</p>
  
  <p>Before I used to write for only backend things, frontend seems little confusing.</p>
  
  <p>There is a design folder which is completely for theme development.</p>
  
  <p>All the example are little different(<a href="https://www.mageplaza.com/magento-2-module-development/" rel="nofollow noreferrer">https://www.mageplaza.com/magento-2-module-development/</a>,<a href="http://inchoo.net/magento-2/how-to-create-a-basic-module-in-magento-2/]" rel="nofollow noreferrer">http://inchoo.net/magento-2/how-to-create-a-basic-module-in-magento-2/]</a><a href="http://inchoo.net/magento-2/how-to-create-a-basic-module-in-magento-2/" rel="nofollow noreferrer">2</a>), they have <code>routes.xml</code>, where <code>route_id</code>, and all are defined, but here I don't need any extra route. Need some additional tweaks in frontend pages.</p>
  
  <p>I created module <code>V_name/M_name/adminhtml/block controllers etc view</code> ...</p>
  
  <p>Guide me how to create a module, which has both front end and backend connection, cities should be entered in admin, they should show on the frontend homepage.</p>
  
  <p>For now, I only managed to edit home page content CMS page by adding some HTML which shows a popup with a dropdown for cities when the page loads.</p>