Skip to content

Commit

Permalink
Merge pull request #5 from emadadel4/update
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
emadadel4 authored Jul 26, 2024
2 parents ea20fd4 + 861bff1 commit 72fc389
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ main {
justify-content: center;
align-items: center;
max-width: 500px;
padding: 20px;
padding: 2px;
border-radius: 20px;
background-color: white;
padding: 100px;
padding: 50px;
text-align: center
}
2 changes: 1 addition & 1 deletion assets/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function playSoura(data) {
const savedTime = localStorage.getItem(`audioTime_${selectedSoura.url}`);
audioPlayer.currentTime = savedTime ? parseFloat(savedTime) : 0;

souraTitle.textContent = `اليوم`;
souraTitle.textContent = `الان: ${selectedSoura.name}`;

audioPlayer.play();

Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

<main>

<p>أستمع كل يوم سورة من القرآن الكريم</p>



Expand All @@ -33,6 +34,8 @@
<i class="fas fa-play"></i>
</div>
<audio id="audioPlayer"></audio>


</main>

<footer>
Expand Down

0 comments on commit 72fc389

Please sign in to comment.