Skip to content

Introduce CSS Color Property Visualization Page - #17

Merged
fahdi merged 1 commit into
mainfrom
feat/color
Nov 23, 2023
Merged

fahdi merged 1 commit into
mainfrom
feat/color

Conversation

@fahdi

@fahdi fahdi commented Nov 23, 2023

Copy link
Copy Markdown
Owner

This Pull Request integrates a new interactive page dedicated to exploring the CSS color property within the CSS Visual Learner tool. This addition enriches the learning experience by providing users with hands-on examples of how different color values impact text and background styling.

Enhancements include:

  • A new color.html page presenting a variety of color manipulation scenarios.
  • Interactive elements that demonstrate real-time changes in text and background colors upon mouse hover.
  • A new JavaScript file scripts/colors.js that dynamically applies CSS effects to illustrate color changes.
  • Navigation updates across existing pages to include a link to the new Color Visualizer page.

Details of the Additions:

  • color.html: Showcases interactive examples such as changing text colors, background colors, and combinations of both, offering insights into hex color values and the use of random colors.
  • scripts/colors.js: Contains logic for applying color changes on hover events, enhancing user engagement with visual feedback.

Testing Steps:

  1. Access the Color Visualizer through the sidebar navigation.
  2. Hover over the interactive elements to see the immediate effect of CSS color properties.
  3. Observe the CSS rule display update with the corresponding CSS code snippet.
  4. Test the responsiveness of the visualizer on various devices and browsers.

File Changes:

  • color.html: New file creating the visualization page for CSS color properties.
  • flex-box.html, index.html, nth-child.html: Updated with new navigation links.
  • scripts/color.js: New script handling dynamic CSS effects for the color property.

We encourage reviewers to pull this feature branch, interact with the new Color Visualizer, and provide feedback on the implementation and user experience.

Screenshot:

Screenshot 2023-11-24 at 12 14 12 AM

@fahdi fahdi self-assigned this Nov 23, 2023
@fahdi
fahdi requested a review from imran-khani November 23, 2023 19:24
@fahdi
fahdi merged commit 2b47b1f into main Nov 23, 2023
@fahdi
fahdi deleted the feat/color branch November 24, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant