How ibrahimtanoli/color-flipper works
Color-Flipper is a small browser app with two color-changing implementations: one selects from named colors, and the other generates six-digit hexadecimal colors. In each sampled script, a button click triggers selection and updates the displayed color and page background. The HTML files are present, but their contents were not sampled, so their connections to the scripts cannot be confirmed.
Main entry points: app.js Named-color flipper · hex.js Hex-color generator
Components 6
Other components
- User
- Main page
index.html - Hex page
hex.html - Named-color flipper
app.js - Hex-color generator
hex.js - Page DOM
Connections 4
- User → Named-color flipper: clicks button
- Named-color flipper → Page DOM: updates background and label
- User → Hex-color generator: clicks button
- Hex-color generator → Page DOM: updates background and label