Giter Site home page Giter Site logo

nvsmith / color-box Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.81 MB

A swatch app that makes use of the colornames API, i.e. when React inputs meet CSS styles.

Home Page: https://nvsmith.github.io/color-box/

HTML 13.70% CSS 30.32% JavaScript 55.98%
api css javascript react node

color-box's Introduction

NEW README Tecnate | Last Updated: 2024.05.29

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This is a color swatch app built with React that implements:

  • Functional components
  • Click events
  • useState & useEffect hooks
  • Lists & keys
  • Props & prop drilling
  • Controlled component inputs
  • APIs

Type in any valid color name or select from the list in the sidebar to view swatches, imported from the colornames API. Compare light vs dark themes to view what text looks like against your chosen background.

screenshot1 screenshot2

(back to top)

Built With

(back to top)

Getting Started

Click here to view the current version of this app in your browser.

Prerequisites

All dependencies will need to be built from the package.json file to modify code and run this app locally. You will need to have installed:

  • A text editor
  • Node.js
    • Node Package Manager (npm)

Installation

  1. Clone this repo.
  2. In your project root, you will need to install this project's dependencies by executing npm install in the terminal.
    • This will read the package.json file and create the node_modules folder with all the necessary packages and dependencies.
  3. Once installation is finished, you can launch the app in your browser by executing npm run start.
    • Keep this terminal instance running in the background during development.
    • You can end this terminal session with Ctrl+C.
  4. Open a separate terminal instance for any other development/version control needs.

Usage

  • src/App.js: Container component: structure & business logic.
  • src/components: Presentational components: UI rendering.
  • src/index.css: design and aesthetics.

(back to top)

Roadmap

There are no plans to develop additional features at this time.

(back to top)

License

Distributed under the MIT License.

(back to top)

Contact

Nate: Website | GitHub | Grepper

(back to top)

Acknowledgments

Dave Gray - React JS Full Course for Beginners

README Template

(back to top)

color-box's People

Contributors

nvsmith 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.