123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!DOCTYPE html>
<html lang="ja">

<head>
	<meta charset="utf-8">
	<meta http-equiv="Content-Style-Type" content="text/css">
	<meta http-equiv="Content-Script-Type" content="text/javascript">
	<TITLE>jQuery を用いたWeb デザイン</TITLE>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Javascript はここに挿入 -->
<script type="text/javascript">
 $(function(){
$(".menu").on("click", function() {
  $(".popup")
    .addClass("show")
    .fadeIn();
  // return false;
});
$(".close").on("click", function() {
  $(".popup").fadeOut();
  // return false;
});
 });
</script>
<style>
.popup {
  display: none;
  height: 100vh;
  width: 80%;
  background: black;
  opacity: 0.;
  position: fixed;
  top: 0;
  left: 0;
}
.content {
  display:float;
  background: #fff0f5;
  padding: 20px;
  width: 80%;
}
.show {
  display: flex;
/*  justify-content: center; */
/*  align-items: center; */
}
button {
	background-color:#fff0f5;
	width:80px;
	height:50px;
}
</style>

</head>

 <body bgColor=#fff8dc>
<h3 align=center>Welcome to Mashykom WebSite</h3>

<HR color=#009900 SIZE=2>

 <!-- beginning of  popup menu: style指定とjavascript とセット-->
<button class="menu" id="fd00">JavaScript<br>Site Map </button>
 
<div class="popup">
   <div class="content">
 <button class="close">閉じる</button>
<ul>
    <li><A href="javascript.html">Webデザイン入門編のページ</A></li>
    <li><A href="jquery.html">jQuery 活用のページ</A></li>
    <li><A href="Python.html">Python Tutorials 入門編のページ</A></li>
	
</ul>

  </div>
</div>
<!-- end of  popup menu-->

<!-- ここから main body -->

<P>
 jQuery はウェブブラウザ用のJavaScriptコードをより容易に記述できるようにするために設計されたJavaScriptライブラリです。 公式Web site は<a href="https://jquery.com/">こちらです</a>。Web系の開発では、HTMLやCSS、JavaScriptなどの言語を使って開発を行います。中でも、JavaScriptのライブラリであるjQueryは必須スキルの一つになっています。

jQueryがJavaScriptのライブラリなら、元のJavaScriptを使えばいいんじゃないかな?と思う人もいるかもしれません。ですが、jQueryを使う大きなメリットがあります。それは「短いコードで実装できる」ということです。記述が長いと管理も大変だし、データも大きくなるので大変です。jQueryではその点を解消していると言えます。</p>

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console