Skip to content

yihui/arith.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>