anonymous No title
HTML
<div class="container">
			<div class="section-services">
				<div class="section-title">
						<div class="seperator">
						    <span><i class="fa fa-laptop"></i></span>
						</div>
				</div>
				<div class="card-deck">
						<div class="card">
							<img class="card-img-top" src="..." alt="Card image cap">
							<div class="card-block">
								<h4 class="card-title">Card title</h4>
								<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
							</div>
							<div class="card-footer">
								<small class="text-muted">Last updated 3 mins ago</small>
							</div>
						</div>
						<div class="card">
							<img class="card-img-top" src="..." alt="Card image cap">
							<div class="card-block">
								<h4 class="card-title">Card title</h4>
								<p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
							</div>
							<div class="card-footer">
								<small class="text-muted">Last updated 3 mins ago</small>
							</div>
						</div>
						<div class="card">
							<img class="card-img-top" src="..." alt="Card image cap">
							<div class="card-block">
								<h4 class="card-title">Card title</h4>
								<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
							</div>
							<div class="card-footer">
								<small class="text-muted">Last updated 3 mins ago</small>
							</div>
						</div>
					</div>
			</div>
			</div>
anonymous No title
HTML
<!DOUTYPE html>
<html lang="ja">
    <head>
        <meta charset="UTF-8">
        <title>mission_3-03.php</title>
    </head>
    <body>
        <form action="" method="post">
            <input type="text" name="name" value="名前"><br>
           <input type="text"
            name= "comment" value="コメント"><br>
            <input type="submit" name="submit">
        </form>
        <form action="" method="post">
             <input type="text" 
           name="sakujo" value="削除番号"><br>
           <input type="submit" name="submit">
</form>

<?php
$filename="mission_3-03.txt";

$name=$_POST["name"];
$comment=$_POST["comment"];
$num=1;

if(file_exists($filename)){
       $lines=file($filename,FILE_IGNORE_NEW_LINES);
$num=count($lines)+1;
}

        $date = date("Y年m月d日 H時i分s秒");
        if($comment!=""&&$comment!="コメント"){
            echo $comment."を受け付けました";
            $s="";
            foreach(array($num,$name,$comment,$date) as $i){
            $s=$s.$i;
            if($i !=$date){
                $s=$s."<>";
            }
}
        $s=$s."\n";
        $f=fopen($filename,"a");
        fwrite($f,$s);
        fclose($f);
        }
        if(file_exists($filename)){
     $lines=file($filename,FILE_IGNORE_NEW_LINES);
     foreach($lines as $l){
         echo $l;
         echo"<br>";
     }
        }
        
        $sakujo=$_POST["sakujo"];
        if($sakujo!=""&&$sakujo!="削除番号"){
      $lines=file($filename,FILE_IGNORE_NEW_LINES);   
      $f=fopen($filename,"w");
           $s="";
            foreach(array($num,$name,$comment,$date) as $i){
            if($sakujo=$num){$i="";
                }elseif($sakujo!=$num){
                    $i=$i;
            $s=$s.$i;
            if($i !=$date){
                $s=$s."<>";
            }
             }
              }
      fwrite($f,$s);
        fclose($f);
      }
        ?>
        </body>
anonymous No title
HTML
<html>
  <head>
    <meta charset="utf-8">
    <title>kadai_2-1</title>
  </head>
  <body>
    <h1>投稿フォーム</h1>
    <form action="kadai_2-2.php" method="get">
    &emsp;名前&emsp;:  <input type="text" name="name"><br/>
    コメント: <input type="text" name="comment"><br/>
    <input type="submit" value = "投稿">
    </form>
  </body>
</html>
anonymous No title
HTML
<html>
  <head>
    <meta charset="utf-8">
    <title>kadai_6</title>
  </head>
  <body>
    <h1>フォームの送信</h1>
    <form action="kadai_6.php" method="get">
    名前: <input type="text" name="name"><br/>
    <input type="submit">
    </form>
  </body>
</html>
anonymous No title
HTML
<html>
  <head>
    <meta charset="utf-8">
    <title>kadai_5</title>
  </head>
  <body>
    <h1>フォームの送信</h1>
    <form action="kadai_5.1.php" method="get">
    名前: <input type="text" name="name"><br/>
    <input type="submit">
    </form>
  </body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>kadai_4</title>
  </head>
  <body>
    <h1>フォームの送信</h1>
    <form action="kadai_4.1.php" method="get">
    名前: <input type="text" name="name"><br/>
    <input type="submit">
    </form>
  </body>
</html>
anonymous No title
HTML
<!DOCTYPE html>
<html>
    <head>
     <meta charset="UTF-8">
        <title>mission_0-22</title>
        <style>
            .class1{
                background-color:black;
            }
            .class2{
                color:white;
            }
        </style>

    </head>>

    <body>
        <div class="class1">夜</div>
        <div class="class2">朝</div>
    </body>
</html>
anonymous No title
HTML
<html>
  <head>
    <meta charset="UTF-8" />
    <title>javascript課題</title>
  </head>
  <body>
    <div>
      <input type="”text”" id="”input”" />
      <button type="”button”" id="”button”" onclick="OnButtonClick();">
        送信
      </button>
    </div>
    <div id="”outputArea”"></div>
    <script>
      var stockList = [];
      function OnButtonClick() {
        // エラーの表示
        if (document.getElementById("”input”").value.match(/[^0-9]+/)) {
          return alert("エラー:数字以外が入力されています。");
        }
        // コンマ区切りで追加して表示
        stockList.push(document.getElementById("”input”").value);
        target = document.getElementById("”outputArea”");
        // 重複の削除
        target.innerHTML = stockList.filter(function(x, i, self) {
          return self.indexOf(x) === i;
        });
        // フォームの空欄化
        document.getElementById("”input”").value = "";

        // ソートの実装が時間内にできませんでした。
        // function TestSort(a, from, to) {
        // var third_index = 0;
        // while (true) {
        // if (to - from <= 10) { InsertionSort(a, from, to); return; } if (to - from> 1000) {
        //   third_index = GetThirdIndex(a, from, to);
        //   } else {
        //   third_index = from + ((to - from) >> 1);
        //   }
      }
    </script>
  </body>
</html>
anonymous No title
HTML
<!-- layout.html -->

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

<head>
  {% block head %}
  <meta charset="utf-8">
  <meta name='viewport' content="width=device-width, initial-scale=1">

  <!-- CSS -->
  <link rel="stylesheet" href="../static/css/style.css">
  <link rel="stylesheet" href="../static/css/reset.css">
  {% endblock %}
</head>

<body>
  <div class="wrapper">
    <header>header</header>

    {% block content %}
    {% endblock %}

    <footer>footer</footer>
  </div>
</body>

</html>
anonymous No title
HTML
<!-- hello.html -->

{% extends 'layout.html' %}
{% block head %}
{{ super() }}
<meta name="description" content="Hello Page">
<title> Main Page </title>
{% endblock %}

{% block content %}
<div class="container">
  <div class="main">
    MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS
    MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS
    MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS MAIN CONTENTS
    MAIN CONTENTS
  </div>
  <div class="sub">
    SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB
    CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS
    SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS SUB CONTENTS
  </div>
</div>
{% endblock %}
Don't you submit code?
Submit