In this tutorial, we'll show you how to create a website from... a simple PDF.
Obviously it's not something you're going to be doing very often, but we found this use case really impressive! Consider it more like a technical demo of what might be doable in the near future.
It could pave the way for interactive mini-sites instead of just sharing PDFs.
Key Objectives:
- Upload the PDF
- Generate the website
- Customize the website
- Implement interactive features and test the website.
- Enhance and refine the website with Claude AI based on feedback and preferences.
First, you need to go to Claude and if you don't already have one create an account (free or not).
Uploading the PDF
For this tutorial, we will use this PDF, which is a tutorial on how to create green screen images in Midjourney.
Provide the PDF to Claude and go to the next step.

Generating the website
This is the part where we ask Claude to generate the website based on the PDF we provided earlier.
You can use two prompts here.
Prompt 1 (the most simple one):
Craft a narrative-driven website from a PDF that weaves together unexpected visual element and storytelling techniques to reinforce the information in the PDF.

Now let's use a (way) more detailed prompt:
Craft a narrative-drive, visually appealing and informative single-page website that introduces the concept of creating green screen images with Midjourney.
The website should be easy to navigate, visually engaging, and provide clear information about the technique.
Follow these guidelines:
1. Structure and Content:
* Create a single-page website with the following sections: Hero, What is Green Screen Magic?, How It Works, Examples, Use Cases, and Call-to-Action.
* Use the provided content about Midjourney's green screen capabilities as the basis for the information.
* Focus on clear, concise explanations that are easy for beginners to understand.
2. Design and Visual Elements:
* Implement a clean, modern design that emphasizes the green screen concept.
* Use a color scheme that incorporates green as the primary color, with complementary colors for contrast.
* Include simple, illustrative SVG graphics to represent the green screen concept and examples.
3. Interactivity:
* Add smooth scrolling between sections for better navigation.
* Implement a simple interactive demo in the "How It Works" section to showcase the green screen effect.
4. Responsive Design:
* Ensure the website is fully responsive and works well on mobile devices, tablets, and desktops.
5. Performance and Accessibility:
* Optimize the website for fast loading times.
* Ensure proper contrast and readability for all text.
* Include appropriate alt text for all images and SVGs.
6. Call-to-Action:
* Include a prominent call-to-action that encourages users to try Midjourney's green screen feature.
* Add a simple email signup form for users interested in learning more or receiving updates.
7. Code Structure:
* Use semantic HTML5 elements for better structure and SEO.
* Keep CSS and JavaScript minimal and focused on enhancing the user experience.
Remember to keep the design simple and focused on clearly communicating the concept of green screen images in Midjourney. The goal is to create an informative and visually appealing introduction to this technique that encourages users to try it out for themselves.

This one is more creative but you will need to add images yourself as Claude isn't capable of adding any (yet). Also, if you don't like the result you can always try to re-run the prompt. Usually a few details will change.
Customizing the website
Here's a feature you could add: a quiz.
Prompt:
Add a tab with an interactive quiz consisting of 5 multiple choice questions.

You can also reorganize the sections with the following prompt:
Organize the website into the following chapters:
1. Introduction
2. How to Achieve Green Screen Images
3. Examples and Prompts
4. Use Cases and Applications
5. Conclusion
This will give you something more structured.



And that's it! You can now publish the website and share it with your friends. Here's mine!
