Git Product home page Git Product logo

Comments (11)

wingkwong avatar wingkwong commented on June 2, 2024

So what is your proposal of the change? Appending the mark to the question?

from react-quiz-component.

Aditya-Chaurasia11 avatar Aditya-Chaurasia11 commented on June 2, 2024

can you assign this to me?

from react-quiz-component.

aabbi15 avatar aabbi15 commented on June 2, 2024

So what is your proposal of the change? Appending the mark to the question?

Yes. I will be able to do so but for it can you let me know what the scoring scheme is or where can I find it in the codebase? What questions hold what marks?

from react-quiz-component.

wingkwong avatar wingkwong commented on June 2, 2024

each question has point. The total point is simply the sum of the points of corrected questions.

ref:

{
  question: 'ReactJS is developed by _____?',
  questionType: 'text',
  answerSelectionType: 'single',
  answers: [
    'Google Engineers',
    'Facebook Engineers',
  ],
  correctAnswer: '2',
  messageForCorrectAnswer: 'Correct answer. Good job.',
  messageForIncorrectAnswer: 'Incorrect answer. Please try again.',
  explanation: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.',
  point: '20',
  segment: segment.basic,
}

from react-quiz-component.

aabbi15 avatar aabbi15 commented on June 2, 2024

How does this look?
image

image

I added a new text span in renderQuizResultQuestionsfunction in Core.jsx with the css "answer-score" added to styles.css

from react-quiz-component.

wingkwong avatar wingkwong commented on June 2, 2024

IMO it doesn't look good as it gives too much space there. What about making it as a tag or just append the wording to the question, e.g. Q1: XXXXXX? (20 marks)?

from react-quiz-component.

aabbi15 avatar aabbi15 commented on June 2, 2024

Does this look better?

image
Uploading image.png…

from react-quiz-component.

wingkwong avatar wingkwong commented on June 2, 2024

I couldn't see the second photo. Based on the first one, I think it's fine. I'd suggest to use marks instead of Marks. Also this text should be put in AppLocale as well so that people can configure it.

from react-quiz-component.

aabbi15 avatar aabbi15 commented on June 2, 2024

Cool I will do that.
Can you mark this issue as hacktoberfest and hacktoberfest-accepted as I want it to count as one of my contributions?

from react-quiz-component.

wingkwong avatar wingkwong commented on June 2, 2024

The repository has been labelled hacktoberfest, which means all PRs under this repository will be counted without adding the label one by one.

from react-quiz-component.

aabbi15 avatar aabbi15 commented on June 2, 2024

I changed to marks and now it is written using appLocale dynamically i will generate a pull request

image

from react-quiz-component.

Related Issues (20)

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.