Taylor Ipsum Generator

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.

View Live

This website is currently hosted using Cloudflare Pages here: https://taylor-ipsum-website.pages.dev

Screenshots

Screenshot 1

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository to your local machine.
  2. Run your choice of server in the root directory such as python3 -m http.server
  3. Open the index.html file in your preferred web browser.

Project Structure

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.

How to Use

To generate Taylor Swift lorem ipsum text, follow these steps:

  1. Enter the number of paragraphs you want to generate in the "Number of Paragraphs" input field.
  2. Click the "Generate" button to generate the lorem ipsum text.
  3. The generated text will appear in the textarea below the form.