免费试用:最火的人工智能查询工具
     最强AI人工智能聊天工具
     对话机器人解答疑难问题
星外智问直连原始API接口(GPT-4o)
➡️未登录受限条数,请登陆使用完整服务>>>➡️
请输入您要问的问题:


查下百度  查下必应

以下是单个问题的回复:

问:使用html和css写一个问答网页,要求有提问框,回答框,都在网页中间,网页最上边有一行标题,叫做chatgpt机器人,还需要有一个提问按钮,要求按钮是比较好看的按钮,并且与chatgpt官方api的回答相连接,按钮点击获取回答结果并展示出来
GPT答: 7i24.cn
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Chatgpt机器人</title>
  <style>
    body {
      background-color: #f5f5f5;
      margin: 0px;
      padding: 0px;
    }
    #chat {
      background-color: #fff;
      width: 600px;
      margin: 10px auto;
      font-size: 16px;
      padding: 10px;
      overflow:auto;
    }
    #chat h1 {
      font-size: 22px;
      font-weight: bold;
      padding: 0px;
      margin: 5px 0px;
      text-align: center;
    } 
    #chat #user_form {
      padding-bottom: 5px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    #chat #user_form div {
      float: left;
    }
    #chat #user_form #user_question {
      width: 400px;
      line-height: 30px;
      height: 30px;
      font-size: 16px;
    }
    #chat #user_form #get_question {
      width: 120px;
      line-height: 30px;
      height: 30px;
      font-size: 14px;
      background: blue;
      color: #fff;
      text-align: center;
      border: none;
      margin-right: 10px;
      cursor: pointer;
    }
    #chat #user_form #get_question:hover {
      background-color: #2196F3;
    }
    #chat #answer_form {
      padding: 10px 0px;
    }
    #chat #answer_form #user_answer {
      width: 500px;
      height: 120px;
      font-size: 16px;
      border: none;
      padding: 10px;
    }
  </style>
</head>
<body>
  <div id="chat">
    <h1>Chatgpt机器人</h1>
    <div id="user_form">
      <div>
        <input type="text" id="user_question" name="user_question">
      </div>
      <div>
        <input type="submit" id="get_question" value="提问" onclick="getAnswer()"/>
      </div>
      <div>
        <span id="show_answer"></span>
      </div>
    </div>
    <div id="answer_form">
      <textarea name="user_answer" id="user_answer" cols="30" rows="10" disabled></textarea>
    </div>
  </div>
  <script type="text/javascript">
      function getAnswer() {
          var the_question = document.getElementById("user_question");
          var..
一星  二星  三星  四星  五星 

互联网非法外之地,请不要输入不良内容
 查下百度 查下必应 02-20 00:07:45



chatGPT中国版--星外智问--8v6.CN
当前运行网址:haoadm.com
客服微信:xwgdd_com APP下载 怎么问 识别真假GPT4 使用GPT赚钱 退出登陆