'''
The main app
'''


from flask import Flask

app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    return 'A work in progress, check back later'

@app.route('/add', methods=['POST'])
def add_reminder():
    return 'Use this method to POST new reminders to the database'

@app.route('/show', methods=['GET'])
def show_reminders():
    return 'Use this method to GET all the reminders in the database' \
            'in a sticky format'


if __name__ == '__main__':
    app.run()

'''
The main app
'''


from flask import Flask, render_template

app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    return 'A work in progress, check back later'

@app.route('/add', methods=['POST'])
def add_reminder():
    return render_template('input.html')

@app.route('/show', methods=['GET'])
def show_reminders():
    return render_template('notes.html')


if __name__ == '__main__':
    app.run()

Return HTML templates using render_template
Return HTML templates using render_template

  '''
  The main app
  '''
  
  
- from flask import Flask
+ from flask import Flask, render_template
  
  app = Flask(__name__)
  
  @app.route('/', methods=['GET', 'POST'])
  def index():
      return 'A work in progress, check back later'
  
  @app.route('/add', methods=['POST'])
  def add_reminder():
-     return 'Use this method to POST new reminders to the database'
+     return render_template('input.html')
  
  @app.route('/show', methods=['GET'])
  def show_reminders():
+     return render_template('notes.html')
-     return 'Use this method to GET all the reminders in the database' \
-             'in a sticky format'
  
  
  if __name__ == '__main__':
      app.run()
  
Return HTML templates using render_template
## Code Before:
'''
The main app
'''


from flask import Flask

app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    return 'A work in progress, check back later'

@app.route('/add', methods=['POST'])
def add_reminder():
    return 'Use this method to POST new reminders to the database'

@app.route('/show', methods=['GET'])
def show_reminders():
    return 'Use this method to GET all the reminders in the database' \
            'in a sticky format'


if __name__ == '__main__':
    app.run()

## Instruction:
Return HTML templates using render_template
## Code After:
'''
The main app
'''


from flask import Flask, render_template

app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    return 'A work in progress, check back later'

@app.route('/add', methods=['POST'])
def add_reminder():
    return render_template('input.html')

@app.route('/show', methods=['GET'])
def show_reminders():
    return render_template('notes.html')


if __name__ == '__main__':
    app.run()
