Coder Social home page Coder Social logo

nlite's Introduction

nlite

Choose.js

When the user presses Assessment button, calls dispatchThenNav function, then gives parameter of assessment number. Then dispatchThenNav dispatches pick and payload and calls startAssessment function that navigates user to HiPage.js.

App.js

Reducer method takes in action and then inside action object, there are two elements: type and payload. Checks type as either “pick” or “close” (close will reset assessment). When the app starts, all assessments are null. When an assessment is chosen, the dispatch takes the payload and chooses the specific assessment in the assessment list. Payload is between 1-10, so when “pick” is activated, the index gets subtracted by 1. Make sure you understand reducers and context functions.

Paragraph.js, Letter.js, Word.js, and Story.js

These scripts will have an independent scoring script/function. This function will check what score you get depending on whether user gets the answer right or wrong. The score will then navigate the user to the different page.

nlite's People

Contributors

kelvinngure avatar rparmar01 avatar stoginator 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.