Git Product home page Git Product logo

lerobles-svg-logo-maker's Introduction

Command-Line Application to Generate an SVG Logo

logo-screenshot

This command-line application prompts the user for input to generate an SVG file named logo.svg based on the following criteria:

  1. Prompt for text input (up to 3 characters)
  2. Prompt for text color (keyword or hexadecimal number)
  3. Present a list of shapes to choose from (circle, triangle, square)
  4. Prompt for shape color (keyword or hexadecimal number)
  5. Generate logo.svg file
  6. Print "Generated logo.svg" in the command line
  7. When logo.svg file is opened in a browser, it should display a 300x200 pixel image matching the user's criteria.

How to Use

To use this command-line application, follow these steps:

  1. Open a command-line interface.
  2. Navigate to the directory where the application is located.
  3. Run the application by entering the command node index.js.
  4. Enter text input when prompted (up to 3 characters).
  5. Enter text color when prompted (either a keyword such as "red" or a hexadecimal number such as "#FF0000").
  6. Using the up and down keys to navigate, choose a shape option then press enter to select the shape.
  7. Enter the shape color when prompted (either a keyword or a hexadecimal number).
  8. Once all prompts have been answered, the logo.svg file will be generated in the same directory as the application file and "Generated logo.svg" will be printed in the command line.
  9. Open the logo.svg file in a web browser to view the generated image.

Video

Video Link

Technologies

  • JavaScript
  • Node.js
  • Inquirer
  • Jest

lerobles-svg-logo-maker's People

Contributors

robles1999 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.