Coder Social home page Coder Social logo

Fill in the blanks quiz about quizdown-js HOT 4 CLOSED

bonartm avatar bonartm commented on June 8, 2024
Fill in the blanks quiz

from quizdown-js.

Comments (4)

kheitkamp avatar kheitkamp commented on June 8, 2024 1

That's a nice idea!
I would add something to handle case sensitivity:

{{< quizdown >}}

### Name the following inorganic compound

HNO<sub>3</sub>

[x] nitric acid > caseSensitive = false

### Formulate the following inorganic compound

Sulfuric acid

[x] H2SO4 

{{< /quizdown >}}

I think false should be the default value.

from quizdown-js.

bonartm avatar bonartm commented on June 8, 2024 1

You can add a yaml header with options to each specific question. I'd recommend the following format and also use a single checked task list to keep it valid markdown. This will also make it look nice when editing the quizdown in a markdown editor.

{{< quizdown >}}

#### Name the following inorganic compound

---
caseSensitive: false

---

HNO<sub>3</sub>

1. [x] nitric acid 

### Formulate the following inorganic compound

Sulfuric acid

1.  [x] H2SO4 

{{< /quizdown >}}

from quizdown-js.

bonartm avatar bonartm commented on June 8, 2024

Thanks for the suggestion!

I have not worked on a fill in the blanks question type yet and I want to first improve the code base before implementing big new features. But having only a single blank is much simpler to implement than having a text with several blanks in it.

Could you write down some examples for questions and how you would like to write that down in markdown?

Thank you.

from quizdown-js.

rodrigoalcarazdelaosa avatar rodrigoalcarazdelaosa commented on June 8, 2024

Could you write down some examples for questions and how you would like to write that down in markdown?

I'm thinking about the short answer type of question from Google Forms. I'm a Physics and Chemistry teacher and, specifically, I'd like to have a quiz for practicing nomenclature of chemistry where I ask for example for the formula of a compound, such as sulfuric acid, and the correct answer would be H2SO4. Or the other way around: asking for the name of HNO3 and the correct answer would be nitric acid (I guess those strings should be lowercased to avoid mismatches).

As for the markdown syntax for typing that, I'm not really sure which is the best way, but this is a suggestion:

{{< quizdown >}}

### Name the following inorganic compound

HNO<sub>3</sub>

[x] nitric acid

### Formulate the following inorganic compound

Sulfuric acid

[x] H2SO4

{{< /quizdown >}}

from quizdown-js.

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.