ãã¼ããã¡ã¤ã«ãtrainã Odometerã®ä½¿ãæ¹ Step 1: å¤é¨ãã¡ã¤ã« å½ã¹ã¿ã¤ã«ã·ã¼ãã¨ã¹ã¯ãªãããå¤é¨ãã¡ã¤ã«ã¨ãã¦è¨è¿°ãã¾ãã ã¹ã¿ã¤ã«ã·ã¼ãã¯ãã¾ãã¾ãªãã¼ããç¨æããã¦ãã¾ãã <link rel="stylesheet" href="odometer-theme-car.css" /> <script src="odometer.js"></script> è¦ç´ ãæå®ããæã«jQueryã®ã»ã¬ã¯ã¿ã使ç¨ããæã¯ãjquery.jsãå ãã¾ãã Step 2: HTML ãªãã¡ã¼ã¿ã¼ã表示ããè¦ç´ ãé ç½®ãã¾ãã ã123ãã¯åæ表示ã®æ°åã§ãã <div id="odometer" class="odometer">123</div> Step 3: JavaScript innerHTMLã§æçµçã«è¡¨ç¤ºããæ°åãæå®ãã¾ãã ããã¹ãã®å ´åã¯ãinnerTextã§
{{#tags}}- {{label}}
{{/tags}}