Giter VIP home page Giter VIP logo

exam's Introduction

1.题目一般是4题,但是可以不定为4题,从数组中获取选项对象时获取其长度。

2.随机题目:在页面加载的时候生成乱序后的题号序列(用数组存储)。通过下标遍历获取对应的题目。

3.随机选项:这里上个版本用的是全局的伪随机,但是题目选项是不定的那么不能用全局的随机映射。

4.界面展示:在选择后有分正误,默认在选择后提供正确选项的展示,如果选择错误还要提供错误的提示。

5.页面切换:在首个版本中承接上个项目在选择后自动切换页面。在最后的页面中展示做对的题目数和评分。

6.题目数组:在js中初始化一个数组,数组里存储正序的题号。

exam's People

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.