Skip to content

cadars/john-doe

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 

Demo: https://john-doe.neocities.org/

A website in a single HTML file. It simply uses the #anchor suffix and the :target CSS selector to show and hide pages/content.

To create a new page, add a <section> with a unique id:

<section id="contact">
   Contact me!
</section>

Then you could add a link to it inside <nav>:

<a href="#contact">Contact</a>