The Taylor Ipsum Generator is a Lorem Ipsum generator that uses Taylor Swift lyrics to create placeholder text for your projects. This project is built using HTML, CSS, and JavaScript.
The project gets the Taylor Swift lyrics using the Taylor Swift API
Fun Fact: Almost all of this code (including this README file) was generated with ChatGPT
Every time you open the website you are greeted with a random Taylor Album cover and correpsonding lyrics from that album.
This website is currently hosted using Cloudflare Pages here: https://taylor-ipsum-website.pages.dev
To get started with the project, follow these steps:
- Clone the repository to your local machine.
- Run your choice of server in the root directory such as
python3 -m http.server
- Open the
index.html
file in your preferred web browser.
The project consists of the following files:
index.html
: The main HTML file that contains the structure of the web page.style.css
: The CSS file that contains the styling for the web page.script.js
: The JavaScript file that contains the logic for generating the Taylor Swift lorem ipsum text.constants.js
: The JavaScript file that contains the constants used in the project, such as the album-to-lyrics mapping and the API endpoint URL.
To generate Taylor Swift lorem ipsum text, follow these steps:
- Enter the number of paragraphs you want to generate in the "Number of Paragraphs" input field.
- Click the "Generate" button to generate the lorem ipsum text.
- The generated text will appear in the textarea below the form.