javascript function and <c:import url="">

> main html page
 <div class="box-widget">   
            <c:import url="./wizet/timetable.jsp"></c:import>   
> sub html page
        <div>Choose Widget!</div>
            <button id="bu1">to do</button>
                <div id="differ1" style="display:none">
> javascript
const dif = document.getElementById("differ1");
const dif_button = document.getElementById("bu1");
dif_button.onclick = () => { = "block";};

i want main page + sub page = like widget and i want more function. i'm not programmer but i not have.. question teacher..

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum