Giter VIP home page Giter VIP logo

spanish-verb-quiz's Introduction

Overview

This app is a simple "fill-in-the-blank" quiz, where students are asked to conjugate a Spanish verb to fit a sentence.

It is very bare-bones right now. I threw this together for some quick studying. It doesn't keep track of right/wrong answers right now; the "enter your answer" input textbox is just there for convenience.

screenshot

Live website

The app is deployed here, so you don't need to clone the repo to use it:

https://spanish.joshforde.com/

Adding custom questions

You can import questions while using the deployed app (no need to modify the code).

To do this, use the Import questions button, and paste a JSON array, where each element follows this schema:

    answer: string;
    infinitive: string; // same as correctAnswer but in infinitive
    sentencePartOne: string;
    sentencePartTwo: string;
}

(thus, a completed sentence is `sentencePartOne + answer + sentencePartTwo``, separated by spaces.)

Using ChatGPT, etc. to generate custom questions for you

The following prompt can be used, which should generate JSON that you can import. Be aware that AI bots like ChatGPT sometimes produce incorrect answers - I have encountered this frequently - so be careful.

Write a 10 question Spanish quiz where I have to fill in the blank to complete a sentence and the parts that I have to type in is a conjugated verb. you should tell me the infinitive form of the verb. Use only Mexican Spanish not Spain Spanish.

I want you to output the quiz as an array of JSON objects in this format:

{
answer: '',
infinitive: '',
sentencePartOne: '',
sentencePartTwo: ''
}

where sentencePartOne and sentencePartTwo are the parts of the sentence that come before and after the answer, respectively. Ensure that the quiz is unambiguous enough, such that there is only one correct answer per question; to do so, the sentences you form will need to have sufficient context that the answer is not ambiguous.

Installing

  1. Ensure you have Node.js and Angular CLI installed.
  2. Run npm install

Running

  1. Run npm start
  2. Go to http://localhost:4200/

spanish-verb-quiz's People

Stargazers

 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.