1.0.2 • Published 8 months ago

@xiee/arith v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

arith.js

简单的四则运算练习程序。示例页面:https://yihui.org/cn/kids/2021/02/arith/

网页内任意位置(<body> 之内)直接加载脚本即可生成界面:

<script src="https://cdn.jsdelivr.net/npm/@xiee/arith/js/learn-arith.min.js" async>
</script>

如果想在指定位置生成界面,在加载脚本之前提供一个 ID 为 arith 的元素:

<div id="arith"></div>