Skip to content

Commit

Permalink
docs: fixed and updated readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
nombrekeff committed Oct 3, 2023
1 parent 76d9083 commit 32876d0
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion examples/generated/readme-1.html
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
<html><head><title>My Page Title</title><style>.wrapper {background:black;display:flex;align-items:center;justify-content:center;}</style></head><body><div class="wrapper"><p>I'm a child of div.wrapper</p><b style="color:aliceblue;">And so am I</b><hr/><a href="http://example.com">Click me</a><button id="button-id">I'm also a child</button></div><script>const btn = document.querySelector('#button-id');</script></body></html>
<html>
<head>
<title>My Page Title</title>
<style>
.wrapper {
background: black;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<div class="wrapper">
<p>I'm a child of div.wrapper</p>
<b style="color: aliceblue">And so am I</b>
<hr />
<a href="http://example.com">Click me</a><button id="button-id">I'm also a child</button>
</div>
<script>
const btn = document.querySelector('#button-id');
</script>
</body>
</html>

0 comments on commit 32876d0

Please sign in to comment.