{% extends "base.html" %} {% block main_content %}
This app computes elements of the Collatz sequence using Ajax. Use a url like {{ url_for('getCollatz', num=50 ) }}
Click on the list items to append the next value!
Here's the JS/JQ code to do the front-end work. Try them in the JS console.
{% endblock %}