

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Copy Static
incomplete
2: Generate Page
incomplete
3: More Pages
incomplete
4: Generate Pages Recursively
incomplete
5: Deploy to the Internet
incomplete
6: Submit Your Repository!
incomplete
This lesson's interactive features are locked, please to keep using them
Time to generate and serve a webpage!
h1 header from the markdown file (the line that starts with a single #) and return it.h1 header, raise an exception.extract_title("# Hello") should return "Hello" (strip the # and any leading or trailing whitespace)python3 src/main.py
cd public && python3 -m http.server 8888
Run and submit the CLI tests with the server running.
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ Title }}</title>
<link href="/index.css" rel="stylesheet" />
</head>
<body>
<article>{{ Content }}</article>
</body>
</html>
# Tolkien Fan Club

Here's the deal, **I like Tolkien**.
> "I am in fact a Hobbit in all but size."
>
> -- J.R.R. Tolkien
## Blog posts
- [Why Glorfindel is More Impressive than Legolas](/blog/glorfindel)
- [Why Tom Bombadil Was a Mistake](/blog/tom)
- [The Unparalleled Majesty of "The Lord of the Rings"](/blog/majesty)
## Reasons I like Tolkien
- You can spend years studying the legendarium and still not understand its depths
- It can be enjoyed by children and adults alike
- Disney _didn't ruin it_ (okay, but Amazon might have)
- It created an entirely new genre of fantasy
## My favorite characters (in order)
1. Gandalf
2. Bilbo
3. Sam
4. Glorfindel
5. Galadriel
6. Elrond
7. Thorin
8. Sauron
9. Aragorn
Here's what `elflang` looks like (the perfect coding language):
```
func main(){
fmt.Println("Aiya, Ambar!")
}
```
Want to get in touch? [Contact me here](/contact).
This site was generated with a custom-built [static site generator](https://www.boot.dev/courses/build-static-site-generator-python) from the course on [Boot.dev](https://www.boot.dev).
Some standard library docs that might be helpful: