Skip to content

Commit

Permalink
Debug: add a few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GwynethLlewelyn committed Apr 15, 2024
1 parent e71adba commit ac4dcf2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
body {
background-color: ivory;
font-family: "Work Sans", ui-sans-serif, sans-serif;
}

h1 {
font-size: 1.2rem;
color: navy;
}
p {
color: darkslategray;
}
24 changes: 24 additions & 0 deletions tests/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test page</title>
<link rel="stylesheet" href="test.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Test page for localStorage">
<meta name="author" content="Gwyneth Llewelyn">
<meta name="robots" content="noindex, nofollow">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
</head>
<body>
<h1>This is my test page</h1>
<p>
Saves unsaved text to localStorage.</p>
<form method="POST" action="#">
<textarea id="message"></textarea>
<button type="submit">Submit!</button>
</form>
<script src="../gwynethllewelyn/postlocalstorage/styles/all/template/postlocalstorage_functions.js"></script>
</body>
</html>

0 comments on commit ac4dcf2

Please sign in to comment.