I am new to coding. So please excuse me for naive questions.
I have followed a simple tutorial for how to create chrome extensions.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="servo.js"></script>
<script src="blockly/blockly_uncompressed.js"></script>
<script src="blockly/generators/javascript.js"></script>
<script src="blockly/msg/js/en.js"></script>
<script src="javascript.js"></script>
<script src="blocks.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body onload="init()">
<label>
Port:
<select id="port-picker"></select>
</label>
<label>
Status:
<span id="status">Loading</span>
</label>
<label>
Input:
<input id="position-input" type="range" min="0" max="9" value="0">
</label>
<xml id="toolbox" style="display: none">
<category name="Page Parts">
<block type="page_header"></block>
<block type="page_text"></block>
</category>
<category name="Colors">
<block type="color_red"></block>
<block type="color_green"></block>
<block type="color_blue"></block>
<block type="color_black"></block>
<block type="color_white"></block>
<block type="color_chinna"></block>
</category>
<category name="Boolean">
<block type="logic_compare"></block>
<block type="logic_operation"></block>
<block type="logic_negate"></block>
<block type="logic_boolean"></block>
<block type="logic_null"></block>
<block type="logic_ternary"></block>
</category>
</xml>
</body>
</html>
I expected that Blocks will appear in the tool box, but I could not see them. Can anyone point me, what's wrong with my code.
Is there any tutorial for how to inject Blocks in to Chrome extensions? Please let me know.