DEV Community

elizabeth-delor
elizabeth-delor

Posted on • Edited on

1

Button Updates

Current State of Button

Currently we have two buttons, one which is normal coloring and has hovering & clicking abilities. The second is a duplication of the first but has the color variation requirement by using an inverted coloring.

Challenges

Some challenges which we are having involves having the button disabled and also adding an icon/image over our current button. In addition, we are working to make sure there are no other issues involving GitHub pushing, pulling, and committing.

What We Have Learned

  • invert the color of a button
  • using reflect
  • how to duplicate a button in index.html
  • how to make an image a button by pulling from files
  • how to use 'this.addEventListener'

Github and Button Preview

Alt Text

Github
https://github.com/elizabeth-delor/PenStat-CTA/tree/master/penguin-button

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay