DEV Community

yuellian
yuellian

Posted on

Button Web Component

In my cta button project, my partner and I have coded the basic css designs and the javascript function for the drop down button. We also created a slot element to practice reducing repetitive code and implemented the simple-icon library so we can included an icon for our button. Over this weekend, I am working on adding the states to the button.

My main difficulty has been launching my code onto the browser. My laptop already has the necessary installations but neither yarn start or npm run start is working. Lately, I've been copying the code that is being partner pushed onto github and pasting the changes into my code; then, I will send new code over through discord and he will implement it on his end. I will continue to look online to look for solutions.

As I continue to work on this project, I am learning more of how HTML, CSS, and JavaScript are working together to make the button work.

Repo Link: https://github.com/IST402/btnproject1

Top comments (0)