Advertisement
Guest User

Untitled

a guest
Sep 8th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. AUTHOR = "Stuart Pullinger"
  2.  
  3. page = (
  4. DOCTYPE.html
  5. +html
  6. +head
  7. +title +AUTHOR
  8. +link(href="css/style.css", rel="stylesheet")
  9. +body
  10. +h1('#top') +f"Welcome to {AUTHOR}'s webpage!"
  11. +div .menu
  12. +h2 +"Menu"
  13. +ul
  14. +li
  15. +a(href="about.html") +f"Learn more about {AUTHOR}" # single line comment
  16. +li
  17. +a(href="contact.html") +f"Get in contact with {AUTHOR}"
  18. +li
  19. +a(href="#top") +"Return to top"
  20.  
  21. # This is Python
  22. # No multi-line comments
  23.  
  24. +script(src="js/script.js")
  25. +button(type_="button", onClick="fireConfetti()")
  26. +"click here for a surprise!"
  27. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement