File size: 607 Bytes
ef60c31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>My Code Editor</title>
        <style>

            #editor {

                width: 100%;

                height: 600px;

                border: 1px solid #000;

            }

        </style>
    </head>

    <body>
        <div id="editor"></div>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.33.0/min/vs/loader.js"></script>
        <script src="editor.js"></script>
    </body>
</html>