{"id":14780,"date":"2020-04-27T11:02:36","date_gmt":"2020-04-27T11:02:36","guid":{"rendered":"https:\/\/itteacheritfreelance.hk\/wordpress\/?page_id=14780"},"modified":"2024-06-29T15:22:26","modified_gmt":"2024-06-29T15:22:26","slug":"javascript-study-student-learn-introduction","status":"publish","type":"page","link":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/javascript-study-student-learn-introduction\/","title":{"rendered":"JavaScript -\u6559\u80b2 \u5b78\u751f  \u88dc\u7fd2  >> \u7c21\u4ecb"},"content":{"rendered":"\n<p>JavaScript \u662f Web \u7684\u7f16\u7a0b\u8bed\u8a00\u3002 \u6240\u6709\u73b0\u4ee3\u7684 HTML \u9875\u9762\u90fd\u4f7f\u7528 JavaScript\u3002 JavaScript \u975e\u5e38\u5bb9\u6613\u5b66 \u3002  \u672c\u6559\u7a0b \u5e0c\u671b \u6559\u80b2 \u5b66\u751f JavaScript \u7684\u76f8\u95dc\u77e5\u8b58, \u5e6b \u5b78\u751f \u88dc\u7fd2 study. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JavaScript -\u6559\u80b2 \u5b78\u751f  \u88dc\u7fd2 &gt;&gt; \u7c21\u4ecb&gt;&gt; Why \u5b78\u7fd2 JavaScript?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"321\" src=\"https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/04\/JavaScript-\u6559\u80b2-\u5b78\u751f-\u88dc\u7fd2-1.jpg\" alt=\"JavaScript ,code, coding,\u7a0b\u5e8f\u8bbe\u8ba1, \u7535\u5b50\u8ba1\u7b97\u673a,\u6559\u80b2,IT,\u96fb\u8166\u73ed, \u6559\u80b2, student,\u5b66\u751f, \u8f85\u5bfc,\u5b66\u4e60,study, Computer, teacher,mobile, Android ,learn, tutor,\u5728\u7ebf\u5b66\u4e60, \u6559\u5b66, \u540c\u5b66,\u540c\u5b78, \u7535\u5b50\u8ba1\u7b97\u673a,\u6559\u80b2,IT, typescript,\u96fb\u8166\u73ed, \u88dc\u7fd2, \u8bfe\u7a0b,\u8ab2\u7a0b, \u52a9\u6559, \u5bb6\u6559, \u88dc\u7fd2\u6559\u5b78, \u9ad8\u7ea7\u8bed\u8a00, \u7a0b\u5f0f\u7f16\u5199, \u7a0b\u5f0f\u7de8\u5beb, \u5174\u8da3\u73ed, \u8208\u8da3\u73ed, \u4fe1\u606f\u6280\u672f, \u7a0b\u5e8f\u8bbe\u8ba1, \u79fb\u52a8\u7535\u8bdd, \u7535\u5b50\u8ba1\u7b97\u5668, \u4fe1\u606f, C++, Java, Python, JavaScript, MySQL, Server, CSS, HTML,\u8ba1\u7b97\u673a, \u96fb\u8166, #freelance, programming, \u79c1\u4eba\u8001\u5e08,\u79c1\u4eba\u8001\u5e2b, \u96fb\u8166\u8ab2\u7a0b, \u8cc7\u8a0a\u79d1\u6280, \u4e2d\u5b66,\u4e2d\u5b78, \u81ea\u7531\u804c\u4e1a,\u81ea\u7531\u8077\u696d, \u81ea\u7531\u5de5\u4f5c, IT freelance\" class=\"wp-image-14819\" srcset=\"https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/04\/JavaScript-\u6559\u80b2-\u5b78\u751f-\u88dc\u7fd2-1.jpg 800w, https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/04\/JavaScript-\u6559\u80b2-\u5b78\u751f-\u88dc\u7fd2-1-300x120.jpg 300w, https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/04\/JavaScript-\u6559\u80b2-\u5b78\u751f-\u88dc\u7fd2-1-768x308.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">JavaScript-\u6559\u80b2-\u5b78\u751f-\u88dc\u7fd2<\/figcaption><\/figure>\n\n\n\n<p>JavaScript web \u5f00\u53d1\u4eba\u5458\u5fc5\u987b\u5b66\u4e60\u7684 3 \u95e8\u8bed\u8a00\u4e2d\u7684\u4e00\u95e8\uff1a<\/p>\n\n\n\n<ol>\n<li><strong>HTML<\/strong>&nbsp;\u5b9a\u4e49\u4e86\u7f51\u9875\u7684\u5185\u5bb9<\/li>\n\n\n\n<li><strong>CSS<\/strong>&nbsp;\u63cf\u8ff0\u4e86\u7f51\u9875\u7684\u5e03\u5c40<\/li>\n\n\n\n<li><strong>JavaScript<\/strong>&nbsp;\u7f51\u9875\u7684\u884c\u4e3a<\/li>\n<\/ol>\n\n\n\n<p>\u672c\u6559\u7a0b\u662f\u5173\u4e8e JavaScript \u53ca\u4ecb\u7ecd JavaScript \u5982\u4f55\u4e0e HTML \u548c CSS \u4e00\u8d77\u5de5\u4f5c\u3002<br><\/p>\n\n\n\n<p>\u5982\u679c\u5728\u6b64\u4e4b\u524d\u60a8\u5df2\u7ecf\u4f7f\u7528\u8fc7 JavaScript\uff0c\u60a8\u4e5f\u53ef\u4ee5\u9605\u8bfb\u672c\u6559\u7a0b\uff1a<\/p>\n\n\n\n<p>JavaScript \u4e00\u76f4\u5728\u5347\u7ea7\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u65f6\u523b\u4e86\u89e3 JavaScript \u7684\u65b0\u6280\u672f\u3002<\/p>\n\n\n\n<p>  \u672c\u7ae0 \u5e0c\u671b \u6559\u80b2 \u5b66\u751f JavaScript \u7684\u76f8\u95dc\u77e5\u8b58, \u5e6b \u5b78\u751f \u88dc\u7fd2 study.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u524d\u8a00\">JavaScript -\u6559\u80b2 \u5b66\u751f  \u88dc\u7fd2 &gt;&gt; \u7c21\u4ecb&gt;&gt;  Java \u548c JavaScript \u7684\u4e0d\u540c<\/h2>\n\n\n\n<p>Java \u548c JavaScript \u96d6\u7136\u540d\u7a31\u76f8\u4f3c\uff0c\u4f46\u537b\u662f\u71b1\u72d7\u548c\u72d7\u7684\u5dee\u5225\u3002JavaScript \u662f\u7531 Netscape \u5de5\u7a0b\u5e2b Brendan Eich \u65bc 1995 \u5e74\u50c5\u82b1 10 \u5929\u6240\u8a2d\u8a08\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u4e5f\u56e0\u70ba\u4e00\u4e9b\u6b77\u53f2\u56e0\u7d20\uff0cJavaScript \u6210\u70ba\u88ab\u8aa4\u89e3\u6700\u6df1\u7684\u7a0b\u5f0f\u8a9e\u8a00\u3002JavaScript \u662f\u4e00\u7a2e\u76f4\u8b6f\u5f0f\u3001\u57fa\u65bc\u539f\u578b\uff08prototype based\uff09\u7684\u7269\u4ef6\u5c0e\u5411\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u4f46\u53c8\u5177\u6709\u51fd\u6578\u5f0f\u7a0b\u5f0f\u8a2d\u8a08\uff08Functional programming\uff09\u7684\u7279\u6027\u3002\u5176\u5177\u5099\u7c21\u55ae\u597d\u4e0a\u624b\u3001\u61c9\u7528\u7bc4\u570d\u5ee3\u6cdb\uff0c\u5bb9\u6613\u6709\u6210\u5c31\u611f\uff0c\u4f46\u7cbe\u901a\u4e0d\u6613\u7b49\u7279\u6027\u3002\u904e\u53bb\u4e00\u6bb5\u6642\u9593 JavaScript \u4e00\u76f4\u88ab\u8a8d\u70ba\u662f\u73a9\u5177\u8a9e\u8a00\uff0c\u96e3\u767b\u5927\u96c5\u4e4b\u5802\u3002\u4f46\u96a8\u8457\u7248\u672c\u7684\u6f14\u9032\uff0c\u518d\u52a0\u4e0a NodeJS \u7684\u51fa\u73fe\uff0c\u8b93 JavaScript \u7531\u9ed1\u7ffb\u7d05\u6210\u70ba\u7a0b\u5f0f\u8a9e\u8a00\u7684\u7576\u7d05\u5de8\u661f\uff0c\u76ee\u524d\u96c4\u64da\u5728\u7a0b\u5f0f\u8a9e\u8a00\u6392\u884c\u699c\u524d\u5e7e\u540d\uff0c\u9664\u4e86\u7db2\u9801\u958b\u767c\u5916\uff0c\u5728\u8a31\u591a\u7684\u9818\u57df\u90fd\u53ef\u4ee5\u770b\u5230 JavaScript \u7684\u8eab\u5f71\u3002\u672c\u6587\u5c07\u5feb\u901f\u5e36\u9818\u5927\u5bb6\u638c\u63e1 JavaScript \u91cd\u8981\u4e14\u6838\u5fc3\u7684\u89c0\u5ff5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u6240\u4ee5_JavaScript_\u5230\u5e95\u662f\u4ec0\u9ebc\uff1f\">JavaScript -\u6559\u80b2 \u5b66\u751f  \u88dc\u7fd2 &gt;&gt; \u7c21\u4ecb&gt;&gt;  \u6240\u4ee5 JavaScript \u5230\u5e95\u662f\u4ec0\u9ebc\uff1f<\/h2>\n\n\n\n<p><a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Glossary\/JavaScript\">JavaScript<\/a>&nbsp;\u662f\u4e00\u500b\u6210\u719f\u7684\u52d5\u614b\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u61c9\u7528\u65bc&nbsp;<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Glossary\/HTML\">HTML<\/a>&nbsp;\u6587\u4ef6\uff08document\uff09\u4e0a\u6642\uff0c\u5c31\u53ef\u4ee5\u70ba\u7db2\u9801\u63d0\u4f9b\u52d5\u614b\u7684\u4e92\u52d5\u529f\u80fd\u3002JavaScript \u662f\u7531 Mozilla project\u3001Mozilla Foundation \u548c Mozilla Corporation \u7684\u5275\u8fa6\u4eba Brendan Eich \u6240\u767c\u660e\u7684\u3002<\/p>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u7528 JavaScript \u5be6\u73fe\u8a31\u591a\u4e8b\u60c5\u3002\u4f60\u53ef\u4ee5\u5148\u5f9e\u7c21\u55ae\u7684\u7279\u6027\u958b\u59cb\uff0c\u5982\u8dd1\u99ac\u71c8\u3001\u76f8\u7c3f\u3001\u52d5\u614b\u7248\u578b\u3001\u56de\u61c9\u6309\u9215\u9ede\u64ca\u7b49\u3002\u5728\u4f60\u719f\u6089\u7684\u9019\u500b\u7a0b\u5f0f\u8a9e\u8a00\u4ee5\u5f8c\uff0c\u751a\u81f3\u53ef\u4ee5\u88fd\u4f5c\u904a\u6232\u30012D\u5e73\u9762\u4ee5\u53ca\u7acb\u9ad4\u7684\u5716\u50cf\u3001\u8cc7\u6599\u5eab\u7cfb\u7d71\u7b49\u7b49\u7684\u61c9\u7528\uff01<\/p>\n\n\n\n<p>JavaScript \u672c\u8eab\u975e\u5e38\u7684\u7c21\u6f54\uff0c\u537b\u4e5f\u5145\u6eff\u5f48\u6027\uff0c\u958b\u767c\u8005\u5011\u5df2\u7d93\u4ee5 JavaScript \u6838\u5fc3\u70ba\u57fa\u790e\u70ba\u5979\u64b0\u5beb\u4e86\u76f8\u7576\u591a\u7684\u5de5\u5177\uff0c\u8b93\u5404\u4f4d\u53ef\u4ee5\u611f\u5230\u4e8b\u534a\u529f\u500d\u3002\u9019\u4e9b\u5de5\u5177\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul>\n<li>\u5167\u5efa\u5728\u700f\u89bd\u5668\u5167\u7684\u61c9\u7528\u7a0b\u5f0f\u4ecb\u9762\uff08Application Programming Interfaces\uff0c<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Glossary\/API\">APIs<\/a>\uff09\u63d0\u4f9b\u4e86\u591a\u6a23\u5316\u7684\u529f\u80fd\uff0c\u50cf\u662f\u52d5\u614b\u7522\u751f HTML \u4ee5\u53ca\u8a2d\u5b9a CSS \u6a23\u5f0f\u3001\u64f7\u53d6\u4ee5\u53ca\u8655\u7406\u5f9e\u4f7f\u7528\u8005\u7684\u7db2\u8def\u651d\u5f71\u6a5f\u9304\u4e0b\u7684\u5f71\u50cf\u3001\u88fd\u4f5c\u7acb\u9ad4\u5716\u5f62\u6216\u662f\u8072\u97f3\u6a23\u672c\u3002<\/li>\n\n\n\n<li>\u7b2c\u4e09\u65b9 API \u5141\u8a31\u958b\u767c\u8005\u5c07\u4ed6\u5011\u7684\u7db2\u9801\u8207\u5176\u4ed6\u5982 Twitter \u6216 Facebook \u63d0\u4f9b\u7684\u5167\u5bb9\u5408\u4f75\u5728\u4e00\u8d77\u3002<\/li>\n\n\n\n<li>\u7b2c\u4e09\u65b9\u6846\u67b6\u548c\u51fd\u5f0f\u5eab\u5141\u8a31\u60a8\u5c07\u9019\u4e9b\u5143\u4ef6\u5957\u7528\u5728\u60a8\u7684 HTML \u6587\u4ef6\u5167\uff0c\u8b93\u60a8\u53ef\u4ee5\u8fc5\u901f\u5730\u5efa\u7acb\u7db2\u9801\u6216\u61c9\u7528\u7a0b\u5f0f\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u300cHello_world\u300d\u7bc4\u4f8b\u7a0b\u5f0f\"> JavaScript -\u6559\u80b2 \u5b66\u751f  \u88dc\u7fd2 &gt;&gt; \u7c21\u4ecb&gt;&gt;  \u300cHello world\u300d\u7bc4\u4f8b\u7a0b\u5f0f<\/h2>\n\n\n\n<p>\u524d\u9762\u6240\u8ff0\u7684\u529f\u80fd\u807d\u8d77\u4f86\u4ee4\u4eba\u8208\u596e\uff0c\u800c\u5979\u4e5f\u7684\u78ba\u7b26\u5408\u9019\u6a23\u7684\u671f\u5f85\u2014 JavaScript \u662f\u773e\u591a\u4ee4\u4eba\u611f\u5230\u8208\u596e\u7684\u7db2\u8def\u79d1\u6280\u4e4b\u4e00\uff0c\u60a8\u6703\u56e0\u70ba\u9078\u64c7\u5229\u7528\u5979\u4f86\u88fd\u4f5c\u7db2\u9801\u800c\u9032\u5165\u4e00\u500b\u5d84\u65b0\u4e14\u5145\u6eff\u5275\u610f\u53ca\u529b\u91cf\u7684\u6b21\u5143\u3002<\/p>\n\n\n\n<p>\u4f46\u7121\u8ad6\u5982\u4f55\uff0c\u8981\u8b93 JavaScript \u8ddf HTML \u548c CSS \u5408\u4f5c\u7121\u9593\u7684\u8a71\uff0c\u53ef\u80fd\u9084\u8981\u8cbb\u4e00\u4e9b\u529f\u592b\u3002\u73fe\u5728\u60a8\u5c07\u6703\u5f9e\u4e00\u4e9b\u7d30\u5c0f\u7684\u5730\u65b9\u958b\u59cb\u8457\u624b\uff0c\u63a5\u8457\u4e00\u6b65\u6b65\u5730\u5f80\u524d\u9032\u3002\u9996\u5148\uff0c\u6211\u5011\u5c07\u6703\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5c07\u4e00\u4e9b\u57fa\u672c\u7684 JavaScript \u7d66\u52a0\u5165\u60a8\u7684\u9801\u9762\u4e2d\uff0c\u4e26\u4e14\u6253\u9020\u4e00\u500b<em>\u300chello world!\u300d<\/em>\u7684\u7bc4\u4f8b\uff08<a href=\"https:\/\/zh.wikipedia.org\/zh-tw\/Hello_World\">\u9019\u540c\u6642\u4e5f\u662f\u8a31\u591a\u7a0b\u5f0f\u8a9e\u8a00\u7684\u6a19\u6e96\u7bc4\u4f8b\u7a0b\u5f0f<\/a>\uff09\u3002<\/p>\n\n\n\n<p><strong>\u6ce8\u610f<\/strong>\uff1a\u5982\u679c\u60a8\u9084\u6c92\u6709\u5b78\u7fd2\u904e\u5148\u524d\u7684\u8ab2\u7a0b\uff0c<a href=\"https:\/\/github.com\/mdn\/beginner-html-site-styled\/archive\/gh-pages.zip\">\u8acb\u60a8\u4e0b\u8f09\u9019\u500b\u7bc4\u4f8b\u7a0b\u5f0f\u78bc<\/a>\uff0c\u4e26\u4ee5\u6b64\u958b\u59cb\u7df4\u7fd2\u3002<\/p>\n\n\n\n<ol>\n<li>\u9996\u5148\uff0c\u9032\u5165\u60a8\u6e2c\u8a66\u7db2\u9801\u7684\u8cc7\u6599\u593e\u4e2d\uff0c\u4e26\u5efa\u7acb\u4e00\u500b\u540d\u70ba&nbsp;<code>main.js<\/code>&nbsp;\u7684\u6a94\u6848\uff0c\u518d\u5c07\u5979\u5b58\u653e\u65bc&nbsp;<code>scripts<\/code>&nbsp;\u8cc7\u6599\u593e\u5167\u3002<\/li>\n\n\n\n<li>\u63a5\u8457\uff0c\u958b\u555f&nbsp;<code>index.html<\/code>&nbsp;\u6a94\u6848\uff0c\u4e26\u5728&nbsp;<code>&lt;\/body&gt;<\/code>&nbsp;\u9019\u500b\u7d50\u675f\u6a19\u7c64\u4e4b\u524d\u7684\u4f4d\u7f6e\uff0c\u4f7f\u7528\u4e00\u884c\u65b0\u7684\u7a7a\u9593\u4f86\u8f38\u5165\u4ee5\u4e0b\u7684\u5143\u7d20\uff1a<code>&lt;script src=\"scripts\/main.js\"&gt;&lt;\/script&gt;<\/code><\/li>\n\n\n\n<li>\u6211\u5011\u505a\u7684\u4e8b\u60c5\uff0c\u57fa\u672c\u4e0a\u8ddf\u65b0\u589e\u4e00\u500b CSS \u7684&nbsp;<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/HTML\/Element\/link\"><code>&lt;link&gt;<\/code><\/a>&nbsp;\u5143\u7d20\u662f\u76f8\u540c\u7684\u6982\u5ff5 \u2014 \u6211\u5011\u5c07 JavaScript \u7d66\u5c0e\u5165\u9019\u500b\u9801\u9762\u4e2d\uff0c\u8b93\u5979\u4f86\u5f71\u97ff HTML\uff08\u4ee5\u53ca CSS\u3001\u9084\u6709\u4efb\u4f55\u9801\u9762\u4e0a\u7684\u6771\u897f\uff09\u3002<\/li>\n\n\n\n<li>\u518d\u4f86\u6211\u5011\u628a\u4ee5\u4e0b\u7684\u7a0b\u5f0f\u78bc\u65b0\u589e\u5230&nbsp;<code>main.js<\/code>&nbsp;\u6a94\u6848\u5167\uff1a<code>var myHeading = document.querySelector('h1'); myHeading.textContent = 'Hello world!';<\/code><\/li>\n\n\n\n<li>\u73fe\u5728\u8acb\u60a8\u5c07\u4fee\u6539\u904e\u7684 HTML \u548c JavaScript \u7d66\u5b58\u6a94\uff0c\u518d\u7528\u700f\u89bd\u5668\u8b80\u53d6&nbsp;<code>index.html<\/code>\u3002\u60a8\u61c9\u8a72\u6703\u770b&#8221;Hello World&#8221;. <\/li>\n<\/ol>\n\n\n\n<p><strong>\u5099\u8a3b<\/strong>\uff1a\u6211\u5011\u9078\u64c7\u5c07&nbsp;<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/HTML\/Element\/script\"><code>&lt;script&gt;<\/code><\/a>&nbsp;\u5143\u7d20\u653e\u5728\u63a5\u8fd1 HTML \u6a94\u6848\u5e95\u90e8\u7684\u539f\u56e0\uff0c\u662f\u56e0\u70ba\u700f\u89bd\u5668\u662f\u4f9d\u7167\u7a0b\u5f0f\u78bc\u5b58\u5728\u6a94\u6848\u4e2d\u7684\u9806\u5e8f\u4f86\u8b80\u53d6 HTML \u6a94\u6848\u7684\u3002\u5982\u679c JavaScript \u5148\u88ab\u700f\u89bd\u5668\u8b80\u53d6\u4e86\uff0c\u90a3\u5979\u61c9\u8a72\u8981\u53bb\u5f71\u97ff\u5979\u4e4b\u5f8c\u7684 HTML \u7a0b\u5f0f\u78bc\uff0c\u4f46\u6709\u6642\u5019\u537b\u884c\u4e0d\u901a\uff0c\u56e0\u70ba\u5979\u6bd4\u61c9\u8a72\u7522\u751f\u6539\u8b8a\u7684 HTML \u9084\u8981\u65e9\u88ab\u8b80\u53d6\u5230\u3002\u56e0\u6b64\uff0c\u628a\u5979\u653e\u5728\u63a5\u8fd1\u6a94\u6848\u5e95\u90e8\u7684\u4f4d\u7f6e\uff0c\u901a\u5e38\u90fd\u6703\u662f\u4e00\u500b\u4e0d\u932f\u7684\u7b56\u7565\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u767c\u751f\u4ec0\u9ebc\u4e8b\u4e86\uff1f\">\u767c\u751f\u4ec0\u9ebc\u4e8b\u4e86\uff1f<\/h3>\n\n\n\n<p>\u6240\u4ee5\u60a8\u7684\u6a19\u984c\u6587\u5b57\u5df2\u7d93\u88ab JavaScript \u4fee\u6539\u6210\u300cHello world!\u300d\u4e86\u3002\u6211\u5011\u5148\u4f7f\u7528\u4e86\u4e00\u500b\u53eb\u505a&nbsp;<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/API\/Document\/querySelector\"><code>querySelector()<\/code><\/a>&nbsp;\u7684\u51fd\u5f0f\u4f86\u53d6\u5f97\u4e86\u6211\u5011\u6a19\u984c\u53c3\u8003\uff08Reference\uff09\uff0c\u4e26\u4e14\u5c07\u5979\u5b58\u5728\u4e00\u500b\u53eb\u505a&nbsp;<code>myHeading<\/code>&nbsp;\u7684\u8b8a\u6578\u88e1\u9762\u3002\u9019\u8ddf\u6211\u5011\u5728\u64cd\u4f5c CSS \u6642\u4f7f\u7528\u7684\u9078\u64c7\u5668\u662f\u76f8\u4f3c\u7684\u3002\u7576\u60a8\u60f3\u8981\u66f4\u52d5\u67d0\u500b\u5143\u7d20\u6642\uff0c\u9996\u5148\u60a8\u8981\u5c07\u5979\u9078\u53d6\u8d77\u4f86\u3002<\/p>\n\n\n\n<p>\u4e4b\u5f8c\uff0c\u6211\u5011\u5c07\u8b8a\u6578&nbsp;<code>myHeading<\/code>&nbsp;\u4e2d&nbsp;<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/API\/Element\/innerHTML\"><code>innerHTML<\/code><\/a>&nbsp;\u7279\u6027\u7684\u503c\u8a2d\u70ba\u300cHello world!\u300d\u3002<\/p>\n\n\n\n<p><strong>\u5099\u8a3b<\/strong>\uff1aBoth of the features you used above are parts of the&nbsp;<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Document_Object_Model\">Document Object Model (DOM) API<\/a>, which allows you to manipulate documents.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u96fb\u5b50\u8a08\u7b97\u6a5f -\u6559\u80b2 -IT \u96fb\u8166\u73ed&gt;&gt;Contact US:<\/strong> <\/h2>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-align-center wp-element-button\" href=\"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/findteacher\/\" target=\"_blank\" rel=\"noreferrer noopener\">Contact US<\/a><\/div>\n<\/div>\n\n\n<p>\n<!--StartFragment--><\/p>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"448\" height=\"73\" src=\"https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/02\/12790998_1105715336140641_1931392117099515328_n.png\" alt=\"&quot;\u7535\u5b50\u8ba1\u7b97\u673a -\u6559\u80b2 -IT \u96fb\u8166\u73ed&quot; \u70ba\u5927\u5bb6\u914d\u5c0d\u7535\u5b50\u8ba1\u7b97\u673a\u8001\u5e2b, \u96fb\u8166\u88dc\u7fd2,\u96fb\u8166\u73ed, \u96fb\u8166\u8ab2\u7a0b, it \u6559\u80b2, \u8cc7\u8a0a\u79d1\u6280 \u6559\u80b2, \u88dc\u7fd2, \u81ea\u7531\u8077\u696d, \u81ea\u7531\u5de5\u4f5c,IT freelance, \u79c1\u4eba\u8001\u5e2b, PHP\u88dc\u7fd2, HTML\u88dc\u7fd2, CSS\u88dc\u7fd2, JavaScript\u88dc\u7fd2, XML, Java\u88dc\u7fd2,Server\u88dc\u7fd2, MySQL\u88dc\u7fd2, \u4e2d\u5b78\u96fb\u8166. #Computer, #mobile, #Android, #apple, #game, #movie, #anime, #animation, #\u7535\u5b50\u8ba1\u7b97\u673a, #\u6559\u80b2, #\u4fe1\u606f\u6280\u672f, #\u7a0b\u5e8f\u8bbe\u8ba1, #\u79fb\u52a8\u7535\u8bdd, #\u7535\u5b50\u8ba1\u7b97\u5668, #\u4fe1\u606f, #IT, #\u96fb\u8166\u73ed, #C++, #Java, #Python, #JavaScript, #\u96fb\u8166, #IT, #freelance, #programming, #\u96fb\u8166\u88dc\u7fd2, #\u96fb\u8166\u73ed, #\u5bb6\u6559, #\u79c1\u4eba\u8001\u5e2b, #information technology, #teacher, #\u96fb\u8166\u73ed, #\u96fb\u8166\u8ab2\u7a0b, #it \u6559\u80b2, #\u8cc7\u8a0a\u79d1\u6280, #\u88dc\u7fd2, #\u81ea\u7531\u8077\u696d, #\u81ea\u7531\u5de5\u4f5c, #IT freelance, #\u79c1\u4eba\u8001\u5e2b, #\u4e2d\u5b78\u96fb\u8166, #PHP\u88dc\u7fd2, #HTML\u88dc\u7fd2, #CSS\u88dc\u7fd2, #JavaScript\u88dc\u7fd2, #XML, #Java\u88dc\u7fd2,#Server\u88dc\u7fd2, #MySQL\u88dc\u7fd2\" class=\"wp-image-14\" srcset=\"https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/02\/12790998_1105715336140641_1931392117099515328_n.png 448w, https:\/\/itteacheritfreelance.hk\/wordpress\/wp-content\/uploads\/2020\/02\/12790998_1105715336140641_1931392117099515328_n-300x49.png 300w\" sizes=\"(max-width: 448px) 100vw, 448px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-25 is-style-outline\"><a class=\"wp-block-button__link has-white-color has-white-background-color has-text-color has-background has-link-color wp-element-button\" href=\"http:\/\/www.itsec.hk\" target=\"_blank\" rel=\"noreferrer noopener\">www.itsec.hk<\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-25 is-style-outline\"><a class=\"wp-block-button__link has-white-color has-white-background-color has-text-color has-background has-link-color wp-element-button\" href=\"http:\/\/www.itsec.vip\" target=\"_blank\" rel=\"noreferrer noopener\">www.itsec.vip<\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-25 is-style-outline\"><a class=\"wp-block-button__link has-white-color has-white-background-color has-text-color has-background has-link-color wp-element-button\" href=\"http:\/\/www.itseceu.uk\" target=\"_blank\" rel=\"noreferrer noopener\">www.itseceu.uk<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>JavaScript \u662f Web \u7684\u7f16\u7a0b\u8bed\u8a00\u3002 \u6240 <a class=\"mh-excerpt-more\" href=\"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/javascript-study-student-learn-introduction\/\" title=\"JavaScript -\u6559\u80b2 \u5b78\u751f  \u88dc\u7fd2  &gt;&gt; \u7c21\u4ecb\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":14825,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"slim_seo":{"title":"JavaScript -\u6559\u80b2 \u5b78\u751f \u88dc\u7fd2 >> \u7c21\u4ecb - ITTeacherITFreelance.hk","description":"JavaScript \u662f Web \u7684\u7f16\u7a0b\u8bed\u8a00\u3002 \u6240\u6709\u73b0\u4ee3\u7684 HTML \u9875\u9762\u90fd\u4f7f\u7528 JavaScript\u3002 JavaScript \u975e\u5e38\u5bb9\u6613\u5b66 \u3002 \u672c\u6559\u7a0b \u5e0c\u671b \u6559\u80b2 \u5b66\u751f JavaScript \u7684\u76f8\u95dc\u77e5\u8b58, \u5e6b \u5b78\u751f \u88dc\u7fd2 study. JavaScript -\u6559\u80b2 \u5b78\u751f \u88dc\u7fd2 &gt;&gt; \u7c21\u4ecb&gt;&gt; W"},"footnotes":""},"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/pages\/14780"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=14780"}],"version-history":[{"count":7,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/pages\/14780\/revisions"}],"predecessor-version":[{"id":330405,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/pages\/14780\/revisions\/330405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/media\/14825"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=14780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}