GithubHelp home page GithubHelp logo

chippychoppy / react-state-events-self-assessment-100520 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mkoenke/react-state-events-self-assessment-100520

0.0 0.0 0.0 219 KB

HTML 15.84% CSS 7.99% JavaScript 76.17%

react-state-events-self-assessment-100520's Introduction

Good Drake, Bad Drake

Instructions

  • fork and clone this repo and complete the deliverables below

Deliverables

  • You will be given two objects:

    {"yes-image": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQptvy1IuxkMzOgcsR_uWucIkwE67jI04GfUg&usqp=CAU", "yes-statement": "google the answer"}

    {"no-image": "https://thumbs.gfycat.com/ElaborateShinyBernesemountaindog-size_restricted.gif", "no-statement": "learn problem solving, syntax, reading documentation" }

  • Your goal is to make your app look like the attached wireframe. There should be a statement and underneath that statement is the applicable "yes" or "no" image

  • The DOM should first display the no-image and no-statement an img tag and h1 tag

  • When the image is clicked, it should switch to the yes-image and yes-statement

  • When the image is clicked a second time it should flip back

You are given an App.js file, an objects.js file which exports the two objects mentioned above, and a state-basic-assessment-wireframe file which has your wireframe. Use all the tools you have learned to build this app in the way you feel is best. CSS is not mandatory but should be worked on if you have time remaining

  • You can run npm run lab to run tests but use a combination of TDD and BDD to verify functionality
  • You can run npm submit to easily save and push up your work

Food for Thought

  • Based on the attached wireframe how many components do you think you'll need?

react-state-events-self-assessment-100520's People

Contributors

crutell331 avatar chippychoppy 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.