To set up JavaScript variables, define them like so:
let container_height;
let container_width;
Next, you must link these variables to the respective divs in your text boxes. For example:
container_height = document.getElementById('height_input_box').value;
container_width = document.getElementById('width_input_box').value;
Finally, you can modify the box properties using the following code:
document.getElementById('myContainer').style.height = container_height + "px";
For interaction purposes, connect all of this to an onclick event within a function, like so:
function adjustContainer()
{
document.getElementById('myContainer').style.height = container_height + "px";
}