From 23fba14ad2dcd0ca4194e379c0bd25f25369005b Mon Sep 17 00:00:00 2001 From: Abel Beak Date: Sun, 23 May 2021 22:07:33 +0900 Subject: [FIX] the example source is inverted (#787) xpath location: /html/body/div/div[1]/main/article/div[11]/pre
 Change to 
---
 files/ko/learn/javascript/first_steps/what_is_javascript/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'files/ko')

diff --git a/files/ko/learn/javascript/first_steps/what_is_javascript/index.html b/files/ko/learn/javascript/first_steps/what_is_javascript/index.html
index c980bbf699..614ab821e5 100644
--- a/files/ko/learn/javascript/first_steps/what_is_javascript/index.html
+++ b/files/ko/learn/javascript/first_steps/what_is_javascript/index.html
@@ -217,7 +217,7 @@ function updateName() {
 
 

그러고 아래의 자바스크립트 코드를 <script></script>사이에 넣음으로서 페이지 상에서 동작이 가능하게끔 할 수 있습니다.( 위 코드에서 "// JavaScript goes here" 부분에 아래의 코드를 추가하면 됩니다.)

-
document.addEventListener("DOMContentLoaded", function() {
+
document.addEventListener("DOMContentLoaded", function() {
   function createParagraph() {
     let para = document.createElement('p');
     para.textContent = 'You clicked the button!';
-- 
cgit v1.2.3-54-g00ecf