Adding the getTimes button

هذا الالتزام موجود في:
2025-08-19 00:33:30 +03:00
الأصل 43831eb01a
التزام f234eb7344
6 ملفات معدلة مع 27 إضافات و6 حذوفات

4
app.js
عرض الملف

@@ -1 +1,3 @@
alert("Test") function getTimes(city, countryCode){
}

عرض الملف

@@ -8,13 +8,14 @@
<h1>Get Praying Times Anywhere </h1> <h1>Get Praying Times Anywhere </h1>
<div class="block"> <div class="block">
<label class="city_label">Enter Your City Name</label> <label class="city_label">Enter Your City Name</label>
<input class="city"> <input id="city">
</div> </div>
<div class="block"> <div class="block">
<label class="code_label">Enter The Country Code</label> <label class="code_label">Enter The Country Code</label>
<input class="code"> <input id="code">
</div> </div>
<div class="show"> <div class="show">
<button id="getTimes">Get Times</button>
<h3>Here is the praying times of <span id="show_city"> </span>and </h3><span id="show_country"> </span> <h3>Here is the praying times of <span id="show_city"> </span>and </h3><span id="show_country"> </span>
</div> </div>
</body> </body>

عرض الملف

@@ -8,11 +8,12 @@ html
.block .block
label.city_label Enter Your City Name label.city_label Enter Your City Name
input.city input#city
.block .block
label.code_label Enter The Country Code label.code_label Enter The Country Code
input.code input#code
.show .show
button#getTimes Get Times
h3 Here is the praying times of h3 Here is the praying times of
span#show_city span#show_city
| and | and

عرض الملف

@@ -29,4 +29,13 @@ label {
margin: 10px 0; margin: 10px 0;
} }
button {
padding: 10px 20px;
background-color: #998768;
border: none;
border-radius: 5px;
width: max(220px, 100%);
margin: 20px auto;
}
/*# sourceMappingURL=style.css.map */ /*# sourceMappingURL=style.css.map */

عرض الملف

@@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["style.sass"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AACF;EACE;EACA;EACA;EACA;;;AAEF;EACE;EACA","file":"style.css"} {"version":3,"sourceRoot":"","sources":["style.sass"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AACF;EACE;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA","file":"style.css"}

عرض الملف

@@ -21,3 +21,11 @@ input
label label
display: block display: block
margin: 10px 0 margin: 10px 0
button
padding: 10px 20px
background-color: #998768;
border: none
border-radius: 5px
width: max(220px, 100%)
margin: 20px auto