fixed bugs that prevented proper grading.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<h1>beavisandbutthead</h1>
|
||||
<h1>beavisandbutthead</h1>
|
||||
<h1>beavisandbutthead</h1>
|
||||
<h1>first:beavis</h1><h1>middle:and</h1><h1>first:butthead</h1>
|
||||
<h1>first:beavis</h1><h1>:and</h1><h1>last:butthead</h1>
|
||||
@@ -0,0 +1,4 @@
|
||||
<h2>Fail</h2>
|
||||
<h3>Match</h3>
|
||||
<h4>Match</h4>
|
||||
<h2>Match</h2>
|
||||
@@ -0,0 +1,29 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Dummy Title</title>
|
||||
<link href="css/styles.css" type="text/css" rel="stylesheet">
|
||||
<script src="js/index.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Hello cruel world!</h1>
|
||||
|
||||
<?php
|
||||
if (isset($_POST['fname'])) {
|
||||
echo '<p>' . $_POST['fname'] . '</p>';
|
||||
echo '<p>' . $_POST['lname'] . '</p>';
|
||||
} else {
|
||||
echo '
|
||||
<form method="POST">
|
||||
<input name="fname">
|
||||
<input name="lname">
|
||||
<button>Submit</button>
|
||||
</form>
|
||||
';
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user