Visualize the element's frame to help understand the layout. this is still in production and provides only simple functionality,…