day 3 classwork.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Exercise #1</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Primary heading</h1>
|
||||
<?php
|
||||
echo '<p>Lorem ipsum</p>';
|
||||
echo '<h1>Another One</h1>';
|
||||
?>
|
||||
<p>dorem something</p>
|
||||
<?php echo '<h2>Smaller One</h2>'; ?>
|
||||
<img src="https://images.unsplash.com/photo-1448375240586-882707db888b?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8Zm9yZXN0fGVufDB8fDB8fHww" />
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>Exercise #2</title
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php
|
||||
$x = 'red';
|
||||
echo '<p style="color: ' . $x . '">Some words here</p>';
|
||||
?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user