Git Product home page Git Product logo

bear-muffin-bird's Introduction

Bear🐻 Muffin🧁 Bird🐦

This is a small activity for FE1 students to help reinforce event bubbling and delegation.

Set Up

Clone this repository down and run locally with open index.html.

Existing Code

Before jumping in to work, get a lay of the code base. Get the project up and running, explore what it does in the browser. Skim through the code so you have a feel for how the currently functionality has been achieved.

Tasks

Level 1: When a bear, muffin, or bird emoji has been clicked on, it should be removed from the DOM.

Level 2: There are currently 3 event handlers, one for each button. How could you utilize a SINGLE event handler on the parent element of the button? This will likely require making a handler function!

Level 3: Bears are known for being stubborn. Modify the functionality so that only birds and muffins can be removed. When a bear is clicked on, the user should see "GRRRR" appear under the specific bear that was clicked on.

bear-muffin-bird's People

Contributors

ameseee avatar ericweissman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.