Skip to content

Commit

Permalink
✏️ typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lisztomania23 committed Nov 20, 2023
1 parent a46cc2d commit 436ea1a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,24 @@ var aText = [
"<li>Laws of Gravity</li>",
"</ul>",
"",
"Let's add a few more images and a 'View more' button to visit her Instagram:",
"Let's add a few more images and a link to visit her Instagram.",
"<img src='/images/purr-bath.jpg' alt='cat in a pool in sunlight'>",
"<img src='images/purr-caught-red-dot.jpg' alt='cat trying to taste red dot'>",
"<button href='https://www.instagram.com/FuriousPawFury'>View more of Purr</button>",
"<a href='https://www.instagram.com/FuriousPawFury'>View more of Purr</a>",
"",
"You could also allow people to add comments:",
"<label for='comment'>Comment:</label>",
"We added the 'for' attribute to the label for better accessibility,",
"the 'name' attribute to the input to identify where to save the input,",
"and the 'href' attribute to the button for the address of the database.",
"<input type='text' id='comment' name='comments'>",
"<button type='submit' href='purr-inbox.php'>Send</button>",
"and the 'formaction' attribute to the button for the address of the database.",
"<textarea id='comment' name='comments' rows='2' cols='10'></textarea>",
"<button type='submit' formaction='purr-inbox.php'>Send</button>",
"Although making a form would be good practice, so we can change to that.",
"",
"Let's see:",
"<!DOCTYPE html> ",
"<html lang='en'>",
"<head>",
"<head lang='en'>",
"<meta charset='UTF-8'>",
"<meta name='viewport' content='width=device-width, initial-scale=1.0'>",
"<title>Purr! 😺</title>",
Expand All @@ -95,7 +96,7 @@ var aText = [
"<img src='pictures/kitty-images/purr.jpg' alt='my green eye baby kito purr'>",
"<img src='/images/purr-bath.jpg' alt='cat in a pool in sunlight'>",
"<img src='images/purr-caught-red-dot.jpg' alt='cat trying to taste red dot'>",
"<button href='https://www.instagram.com/FuriousPawFury'>View more of Purr</button>",
"<a href='https://www.instagram.com/FuriousPawFury'>View more of Purr</a>",
"<br>",
"<p>Meet my tiny paw, Purr! 🐾😺</p>",
"<p>Be careful—she might try to scratch down your whole face, but worry not, she got soft paws and might be just asking for some milk.</p>",
Expand All @@ -111,9 +112,10 @@ var aText = [
"<li>Tidy Table</li>",
"<li>Laws of Gravity</li>",
"</ul>",
"<form action='purr-inbox.php' method='post'></form>",
"<label for='comment'>Comment:</label>",
"<input type='text' id='comment' name='comments'>",
"<button type='submit' href='purr-inbox.php'>Send</button>",
"<textarea id='comment' name='comments' rows='2' cols='10'></textarea>",
"<button type='submit'>Send</button>",
"</main>",
"</body>",
"</html>",
Expand Down

0 comments on commit 436ea1a

Please sign in to comment.