Please, for future posts, include your question, and any error message received? This will allow for a focused and correct response to assist in resolving the issue.
You made a good attempt.
Just a few things.
There should not be any text ‘frame’.
Both the opening <div class="canvas"> and the closing </div> for the canvas should be between the opening <div class="frame"> and its closing </div>
Suggestion: I would suggest reset and place the opening frame div before the opening canvas div, and the closing frame div after the closing canvas div.