How to make the height of one block take EVERY second and assign it to another block?
I already made it in JQuert so that the height of main is taken and assigned to the .SideBar block, but when the page scale is changed, the block retains the old height. I am having trouble getting the height to be picked up and assigned EVERY SECOND.
P.S. tried setInterval, but for some reason then the script stopped working altogether, probably did something wrong, with this help is needed)
You probably need to listen to the resize eventAnonymous
To place the code, please use CodePen or similar tool. Thanks you!