Giter Site home page Giter Site logo

Comments (1)

bonartm avatar bonartm commented on June 19, 2024

Thanks a lot for your suggestions. I like the idea and how you implemented it using localStorage and the showOverview option. So as far as I understand the user writes quizzes as before but can also setup a page with an empty "quiz":

<div class="quizdown">
	---
	showOverview: true
	---
</div>

Would it make sense to implement this functionality inside the Quiz class using static methods? Then the svelte app can check itself whether it should render a results overview or a regular quiz.

The intension of quizdown is to have a simple, flexible widget that works on all different kind of pages, typically static site generators that use markdown. Is this possible with this feature or can it break certain sites?

Another option could also to write quiz data to localStorage but leave it to the (advanced) end user to read those values and design a results page with it, if needed. We could provide documentation on how to do it. This would free us from implementing, designing and maintaining a new widget.

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.