如何链接“添加”以创建提醒系统?

时间:2019-04-18 00:12:04

标签: javascript

我正在为护士制作一个提醒应用程序,以提醒他们为人们提供医疗服务,无论如何,我现在正试图弄清楚如何制作该应用程序或提醒代码部分以查看时间{{1 }}和medic-time1开始通知,但由于运气不好,我不知道该怎么做(我尝试过medic-time2但没有用)

if then
<!DOCTYPE html>
<html>

<head>
  <title>ADD | Nurse's Reminder</title>
  <link rel="stylesheet" href="style.css">
  <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  <meta content="utf-8" http-equiv="encoding">
</head>


<body class="body">
  <form id="patiatint">
    <input id="name" type="text" placeholder="Enter The Name">
    <input id="medic-name" type="text" placeholder="Enter Medic Name">
    <input id="medic-time1" disabled="true" type="text" placeholder="Enter Time">
    <input id="medic-time2" disabled="true" type="text" placeholder="Enter Time">
    <input type="checkbox" onclick="amTime()" id="am">AM</input>
    <input type="checkbox" onclick="bmTime()" id="bm">BM</input>
    <input type="checkbox" onclick="oneTime()" id="one">1:00</input>
    <input type="checkbox" onclick="twoTime()" id="two">2:00</input>
    <input type="checkbox" onclick="threeTime()" id="three">3:00</input>
    <input type="checkbox" onclick="fourTime()" id="four">4:00</input>
    <input type="checkbox" onclick="fiveTime()" id="five">5:00</input>
    <input type="checkbox" onclick="sixTime()" id="six">6:00</input>
    <input type="checkbox" onclick="sevenTime()" id="seven">7:00</input>
    <input type="checkbox" onclick="eightTime()" id="eight">8:00</input>
    <input type="checkbox" onclick="nineTime()" id="nine">9:00</input>
    <input type="checkbox" onclick="tenTime()" id="ten">10:00</input>
    <input type="checkbox" onclick="elevenTime()" id="eleven">11:00</input>
    <input type="checkbox" onclick="twelveTime()" id="twelve">12:00</input>
    <input id="notes" type="text" placeholder="Enter Your Notes">
    <button type="submit" id="submit">Submit</button>
  </form>
  <script src="jquery-3.3.1.js"></script>
  <script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"></script>
  <script src="main.js"></script>

</body>

</html>

我希望该应用程序可以运行,但是没有成功

0 个答案:

没有答案