There has to be id attrbute to h1 tag so that you can access it using getElementById .. First put an id attribute <h1 id = "heading" .
確定! 回上一頁