{% block content %}
<div class="container">
{% block page_content %}{% endblock %}
<button onclick="myFunction()">Click Me</button>
<div id="upload" class="row">
Some text
</div>
</div>
<script src="{{url_for('static', filename='custom.js')}}"></script>
{% endblock %}
Folder
Note
function myFunction() {
var x = document.getElementById("upload");
console.log('hi')
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}