您当前的位置: 首页 >  html

川川菜鸟

暂无认证

  • 3浏览

    0关注

    969博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

html静态网页:自动出题评分系统

川川菜鸟 发布时间:2021-08-01 02:53:08 ,浏览量:3

效果: 在这里插入图片描述 学习交流群:970353786非常勿扰 源码:



	
		
		
        
            *{
                padding: 0;
                margin: 0;
            }
            #app{
                width: 800px;
                height: 600px;
                border: 4px solid green;
                margin: 0 auto;
            }
            #titleBox{
                width: 100%;
                height: 80px;
                /* border: 4px solid green;
                margin: -4px; */
                border-bottom: 4px solid green;
            }
            #questionsBox{
                width: 100%;
                height: 440px;
                border-bottom: 4px solid green;
            }
            #submitBox{
                width: 100%;
                height: 72px;
                line-height: 72px;
                text-align: center;
            }
            #titleBox div{
                float: left;
            }
            #titleBox .div1,#titleBox .div3{
                width: 150px;
                height: 80px;
                line-height: 80px;
                /* background-color: aqua; */
                text-align: center;
                font-size: 30px;
            }
            #titleBox .div1{
                color: green;
                cursor: pointer;
            }
            #titleBox .div3{
                color: red;
                font-size:25px ;
                display: none;
            }
            #titleBox .div2{
                width: 500px;
                height: 80px;
                text-align: center;
            }
            #submitBox button{
                width: 95%;
                height: 40px;
                background-color: #008000;
                font-size: 28px;
                border: none;
                border-radius: 28px;
            }
            #questionsBox ul{
                list-style: none;
            }
            #questionsBox ul li{
                float: left;
                width: 180px;
                font-size: 25px;
                text-align: right;
                margin-top: 40px;
            }
            #questionsBox ul li input{
                width: 60px;
                font-size: 25px;
            }
        
	
	
        
            
                重新出题
                
                    自动出题和评分系统
                    (小学生100以内加减法运算)
                
                得分:XXX分
            
            
                
                    
                
            
            
                提交
            
        
	
    
        getQuestions();
        
        function getQuestions(){
            var ul = document.querySelector("#questionsBox ul");
            for (var i = 1; i = b) {
                            break;
                        } 
                    }
                    if(op == "+"){
                        if (a + b             
关注
打赏
1665165634
查看更多评论
0.1147s