Skip to content

Commit

Permalink
Create basic html
Browse files Browse the repository at this point in the history
  • Loading branch information
rxx committed Mar 31, 2024
1 parent 399f4c1 commit 05df27a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/node/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
<main>
<h1>HTML Sandbox</h1>
<p>Simple paragraph</p>
<div>Simple div</div>
<hr />
<ul>
<li>Point 1</li>
<li>Point 2</li>
<li>Point 3</li>
</ul>
<span>Simple span</span><br /><br />
<a href="#">Simple link</a><br /><br />
<button>Simple button</button>
</main>

<script type="module" src="script.js"></script>
Expand Down
4 changes: 3 additions & 1 deletion src/node/html/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
main {
font-size: 1rem;
font-size: 1.25rem;
line-height: 1.25em;
padding: 5%;
}

0 comments on commit 05df27a

Please sign in to comment.