master
Ryan Sobol 8 years ago
parent 670a7de318
commit 9f424e9ebb
  1. 6
      README.md
  2. 8
      index.css

@ -49,6 +49,6 @@ Add **one** DOM event listener and **one** handler to log the state of each bulb
- [How JavaScript Event Delegation Works](https://davidwalsh.name/event-delegate)
[stop-color]: https://github.com/gSchool/stoplight-event-exercise/blob/master/index.css#L37
[slow-color]: https://github.com/gSchool/stoplight-event-exercise/blob/master/index.css#L41
[go-color]: https://github.com/gSchool/stoplight-event-exercise/blob/master/index.css#L45
[stop-color]: https://github.com/gSchool/stoplight-event-exercise/blob/master/index.css#L39
[slow-color]: https://github.com/gSchool/stoplight-event-exercise/blob/master/index.css#L43
[go-color]: https://github.com/gSchool/stoplight-event-exercise/blob/master/index.css#L47

@ -1,6 +1,9 @@
body {
display: flex;
}
#controls {
float: left;
padding-top: 30px;
margin-top: 30px;
}
.button {
@ -18,7 +21,6 @@
#traffic-light {
background-color: #ababab;
border-radius: 40px;
float: left;
margin: 30px 0;
height: 550px;
padding: 20px;

Loading…
Cancel
Save