0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

html, javasript, jquery とSakura Editor

Last updated at Posted at 2021-01-01

#初めに
 Sakura EditorでHTMLページを保存する。
#Sakura Editorのダウンロード

#HTMLページを保存する

<html>

  <head>
    <title>タイトル</title>
  </head>

  <body id="main-id">
      <div>サンプルテキスト</div>
  </body>

</html>

キャプチャ1.PNG

HTMLで保存して、実行する
キャプチャ2.png

キャプチャ.PNG

無題1.png

無題2.png

#jQueryの追加

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

キャプチャ1.PNG

#jQueryのロード(HTMLを読み込んでからjQueryの処理を開始)

    <script> 
        $(document).ready(function(){
          // todo
        });
    </script>

キャプチャ4.PNG

結果
キャプチャ3.PNG

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?