I’m new to HTML, CSS, and JavaScript, and this website. I am learning them in school. I was just wondering how I would make a number increment using a function and accessing the function in HTML? For example, my JS is:
function pagenumber() {
page = page+1;
}
And my HTML where I try to make the function do its thing is:
<div class="Begin" id="Begin" onclick="showbegin(); pagenumber()">