<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lingua Practice</title>
    <description>The latest articles on DEV Community by Lingua Practice (@lingua_practice_5cef6480a).</description>
    <link>https://dev.to/lingua_practice_5cef6480a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4278819%2F05ba50cc-c592-4551-8bfe-4f809bd58cca.gif</url>
      <title>DEV Community: Lingua Practice</title>
      <link>https://dev.to/lingua_practice_5cef6480a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lingua_practice_5cef6480a"/>
    <language>en</language>
    <item>
      <title>How I start the timer for each section of an IELTS mock exam in Laravel</title>
      <dc:creator>Lingua Practice</dc:creator>
      <pubDate>Wed, 02 Dec 2026 15:23:42 +0000</pubDate>
      <link>https://dev.to/lingua_practice_5cef6480a/how-i-start-the-timer-for-each-section-of-an-ielts-mock-exam-in-laravel-pah</link>
      <guid>https://dev.to/lingua_practice_5cef6480a/how-i-start-the-timer-for-each-section-of-an-ielts-mock-exam-in-laravel-pah</guid>
      <description>&lt;p&gt;In LinguaPractice’s IELTS mock exam, students see a device check before Listening. That raised a design question: when should the exam clock start?&lt;/p&gt;

&lt;p&gt;The mock attempt and the timed section are separate records. The attempt tracks which section the student is on. For Listening and Reading, a separate session records when that section started and when it expires.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start the clock when the student enters the section
&lt;/h2&gt;

&lt;p&gt;The pre-section screen reads the current attempt and shows what’s next. The request to enter Listening or Reading creates the timed session if there’s no open one for that section.&lt;/p&gt;

&lt;p&gt;Here’s the timing part of the session data:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
php
[
    'time_remaining_seconds' =&amp;gt; $seconds,
    'started_at' =&amp;gt; now(),
    'expires_at' =&amp;gt; now()-&amp;gt;addSeconds($seconds),
]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
