<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JavaScript Snippets Archives - The NOKIA Blog</title>
	<atom:link href="https://thenokiablog.com/tag/javascript-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>https://thenokiablog.com/tag/javascript-snippets/</link>
	<description></description>
	<lastBuildDate>Thu, 06 Aug 2026 22:58:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://thenokiablog.com/wp-content/uploads/2024/03/cropped-Cjdowner-Cryptocurrency-Flat-ICON-ICX.512-32x32.png</url>
	<title>JavaScript Snippets Archives - The NOKIA Blog</title>
	<link>https://thenokiablog.com/tag/javascript-snippets/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Runtime instances: persistent compute for production AI agents on Amazon Bedrock AgentCore</title>
		<link>https://thenokiablog.com/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Thu, 06 Aug 2026 22:58:00 +0000</pubDate>
				<category><![CDATA[Nokia Mobile Phone]]></category>
		<category><![CDATA[Amazon Bedrock]]></category>
		<category><![CDATA[Amazon Bedrock AgentCore]]></category>
		<category><![CDATA[AWS CLI]]></category>
		<category><![CDATA[AWS Management Console]]></category>
		<category><![CDATA[Compute]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Identity]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Snippets]]></category>
		<category><![CDATA[Launch]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Regions]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Strands Agents]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore/</guid>

					<description><![CDATA[<p>When you move AI agents from prototype to production, the infrastructure challenges multiply. Your agents need...</p>
<p>The post <a href="https://thenokiablog.com/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore/">Runtime instances: persistent compute for production AI agents on Amazon Bedrock AgentCore</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<table id="amazon-polly-audio-table">
<tbody>
<tr>
<td id="amazon-polly-audio-tab">
<div id="amazon-polly-by-tab">
            <img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore.png" alt="Voiced by Polly" width="554" height="56">
           </div>
</td>
</tr>
</tbody>
</table>
<p>When you move AI agents from prototype to production, the infrastructure challenges multiply. Your agents need to persist state across multi-step workflows that run for hours or days. They need to coordinate with other agents, share context, and sometimes access GPUs for specialized tasks. Amazon Bedrock AgentCore runtime microVMs provide a fully managed environment for invocations that can run for up to 8 hours and support stateful workflows through managed session storage. Some workloads also benefit from dedicated, larger-capacity environments &mdash; for example, when agents need to run continuously for multiple days, access GPUs or the underlying OS, or run multiple collaborating agents on the same host.</p>
<p>Today, I&rsquo;m happy to announce runtime instances, a new complementary compute option in Amazon Bedrock AgentCore Runtime that gives your agents persistent, managed infrastructure purpose-built for complex agent workloads.</p>
<p><span><strong>What you get</strong></span><br>Runtime instances provides AWS-managed EC2 infrastructure where you deploy multiple agents in a single runtime, each with their own dependencies and artifact types. Your agents can collaborate on the same host within shared sessions that persist for up to 14 days. The service supports GPU acceleration for compute-intensive tasks, session stop/restart to save costs during idle periods, and containerized deployments for teams that want to ship independently. For knowledge that needs to survive beyond a session, runtime instances pairs naturally with Amazon Elastic Block Store (Amazon EBS) and AgentCore Memory, which gives your agents long-term recall across sessions and environments.</p>
<p>Before today, if you wanted to keep your agents running for days or they needed GPU access, or multi-agent coordination, you had to build and manage that infrastructure yourself. You provisioned EC2 instances, configured networking, set up session management, handled scaling, and stitched together monitoring. Runtime instances handles all of that for you while integrating with the same AgentCore APIs, identity controls, and observability you already use with AgentCore Runtime microVMs.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/html-element-select-envato-tuts/" class="template-2"><span class="cta">Read more</span><span class="postTitle">HTML Element: select | Envato Tuts+</span></a></div><p>A few things that should make agent developers smile: your agents can call each other as tools within a shared session, iterating autonomously until the job is done. You bring any framework (CrewAI, LangGraph, LlamaIndex, Strands) and any model. Packaging is minimal, a <code>@app.entrypoint</code> decorator and a zip file or container image. And if your workflow spans days, hibernate Monday night and resume Wednesday morning with everything intact.</p>
<p>Runtime microVMs and runtime instances are complementary compute options that you can use independently or together through the same AgentCore runtime APIs. A lightweight orchestrator agent on runtime microVM can coordinate and dispatch work to specialized worker agents running on instances. The orchestrator handles API calls, task routing, and result aggregation using runtime microVM&rsquo;s fast scaling, while workers on Instances perform compute-intensive tasks like code compilation, security scanning, or GUI automation that require persistent state and direct OS access.</p>
<p><span><strong>Let me show you how it works<br></strong></span>I built two agents for this demo: a code writer agent that generates Python code from natural language descriptions, and a code reviewer agent that analyzes the generated code for bugs, security issues, and style improvements. Both agents share the same file system, so the reviewer can read whatever the writer produces without any data transfer or API calls between them.</p>
<p>Here is the code writer (simplified, no error handling):</p>
<pre><code class="lang-python">writer = Agent(
    model="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
    system_prompt=(
        "You are a senior Python engineer. "
        "Given a task, return ONLY a single Python code block &mdash; no prose."
    ),
)

@app.entrypoint
def handler(event, context):
    task = event.get("task") or event.get("prompt")
    session_id = getattr(context, "session_id", None) or event.get("session_id")
    session_dir = SHARED_DIR / session_id
    session_dir.mkdir(parents=True, exist_ok=True)

    code = str(writer(task))
    (session_dir / "code.py").write_text(code)

    return {"agent": "writer", "wrote": str(session_dir / "code.py"), "code": code}</code></pre>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/skipping-the-whm-getting-started-wizard-cpanel-blog/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Skipping the WHM Getting Started Wizard | cPanel Blog</span></a></div><p>Here is the code reviewer agent (simplified, no error handling):</p>
<pre><code class="lang-python">reviewer = Agent(
    model="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
    system_prompt=(
        "You are a strict Python code reviewer. "
        "Given code, return 3 bullet points: bugs, style, suggestions."
    ),
)

@app.entrypoint
def handler(event, context):
    session_id = getattr(context, "session_id", None) or event.get("session_id")
    code_path = SHARED_DIR / session_id / "code.py"
    code = code_path.read_text()
    review = str(reviewer(f"Review this code:nn{code}"))

    return {"agent": "reviewer", "read": str(code_path), "review": review}
</code></pre>
<p>Each agent is a Python application using Strands Agents with an <code>@app.entrypoint</code> decorator and a model of its choice. I package each one as a zip file. For this demo, I use the AWS Management Console. You can also use the AgentCore CLI, the AWS Command Line Interface (AWS CLI) or infrastructure as code.</p>
<p><strong>Step 1: Create a capacity provider.</strong></p>
<p>A capacity provider defines the EC2 infrastructure your agents run on. In the AgentCore console, I select <strong>Runtime</strong> in the left navigation, then select the <strong>Capacity providers</strong> tab and <strong>Create capacity provider</strong>.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/gone-phishing-cpanel-blog/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Gone Phishing | cPanel Blog</span></a></div><p><img fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-104781" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-1.png" alt="ACI Create Capcity Provider 1" width="1024" height="769"></p>
<p>I give it a <strong>Name</strong>, select Linux (64-bit ARM) as the <strong>Operating system</strong>, and choose <code>c7g.2xlarge</code> as the <strong>Allowed instance types</strong>. This gives me 8 vCPUs and 16 GiB of memory, enough for both agents to run comfortably side by side.</p>
<p>Further down, I configure the <strong>VPC</strong>, <strong>subnets</strong>, and <strong>security groups</strong> for network access. Under <strong>Storage configuration</strong>, I keep the default gp3 volume. Under <strong>Service access</strong>, I select <strong>Create a new service role</strong> and let the console create the infrastructure role that manages EC2 instances on my behalf.</p>
<p>I select <strong>Create capacity</strong> provider and wait a few seconds. The status moves to <strong>Active</strong>.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104783" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-2.png" alt="ACI Create Capacity Provider 2" width="1024" height="834"></p>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-104784" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-3.png" alt="ACI Create Capacity Provider 3" width="934" height="712"></p>
<p>Note the capacity provider configuration summary: operating system, instance type, subnets, security group, instance profile, and infrastructure role. Once created, only the description can be edited, so verify your settings before you proceed.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104782" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-4.png" alt="ACI Create Capcity Provider 2" width="1024" height="860"></p>
<p><strong>Step 2: Create a runtime and deploy the first agent.</strong></p>
<p>Back on the <strong>Runtime</strong> page, I select <strong>Create runtime</strong>. I give it a <strong>Name</strong>, select Instances as the <strong>Compute type</strong>, and choose the <strong>Capacity provider</strong> I created in the previous step.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104785" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-5.png" alt="ACI Create Runtime 1" width="1024" height="444"></p>
<p>Under <strong>Agent source</strong>, I select <strong>S3 Source</strong>, then <strong>Upload to S3</strong>. I choose my agent zip file (<code>ACIDemoWriter.zip</code>), set the <strong>Language runtime</strong> to <code>Python 3.13,</code> and specify <code>agent.py</code> as the <strong>Agent entry point</strong>. This is the file that contains my <code>@app.entrypoint</code> decorated function. Under <strong>Permissions</strong>, I select <strong>Create default role</strong> to let the console provision the IAM role my agent needs.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104786" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-6.png" alt="ACI Create Runtime 2" width="1024" height="986"></p>
<p>I select <strong>Create runtime</strong> and wait for the status to become <strong>Ready</strong>.</p>
<p>I repeat the same process for my code reviewer agent. I create a second runtime, select the same capacity provider, upload my reviewer agent zip file, and wait for it to become <strong>Ready</strong>. Both agents now share the same underlying EC2 infrastructure.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104926" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-7.png" alt="AgentCore Runtime Instances - Agent Ready" width="1024" height="646">The console shows me a <strong>View invocation code</strong> section with ready-to-use Python, TypeScript, and JavaScript snippets to invoke my agent programmatically. But for this demo, I use the built-in test feature. I select <strong>Test</strong> on the writer agent&rsquo;s page.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104927" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-8.png" alt="AgentCore Runtime Instances - Show invocation code" width="1024" height="679"><strong>Step 3: Invoke agents and observe collaboration.</strong></p>
<p>The <strong>Runtime playground</strong> opens. At the top, I see three fields: <strong>Runtime agent</strong>, <strong>Endpoint</strong>, and <strong>Session ID</strong>. The console generates a session ID automatically. I take note of it because I will reuse it with the reviewer agent.</p>
<p>In the <strong>Input</strong> field, I type a JSON payload asking the writer agent to generate code:</p>
<pre><code class="lang-json">{"prompt": "write a fibonacci suite"}</code></pre>
<p>I select <strong>Run</strong>. After a few seconds, the <strong>Output</strong> panel shows the agent&rsquo;s response. The writer agent generated a Python module with two implementations of a Fibonacci sequence (a list-based function and a generator) and wrote it to <code>/tmp/agentcore-session/ca5ec24d-07f5-4eeb-add1-5ba416bf9eb2/code.py</code>. Notice the session ID in the file path. That directory is the shared file system for this session.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104928" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-9.png" alt="AgentCore Runtime Instances - Invoke code writer agent" width="1024" height="722"></p>
<p><strong>Step 4: Invoke the reviewer agent in the same session.</strong></p>
<p>Now I switch the <strong>Runtime agent</strong> dropdown to <strong>ACIDemoReviewer</strong>. The important part: I paste the same session ID (<code>ca5ec24d-07f5-4eeb-add1-5ba416bf9eb2)</code> in the <strong>Session ID</strong> field. This is what connects the two agents.</p>
<p>I type a simple prompt:</p>
<pre><code class="lang-json">{"prompt": "review the code"}</code></pre>
<p>I select <strong>Run</strong>. The reviewer agent reads the file the writer produced from the shared session directory and returns a detailed code review. It finds no critical bugs but suggests adding type hints, input validation, and simplifying the edge case handling.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-large wp-image-104929" src="https://thenokiablog.com/wp-content/uploads/2026/08/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore-10.png" alt="AgentCore Runtime Instances - Invoke code reviewer agent" width="1024" height="740">The two agents never exchanged messages or called each other&rsquo;s APIs. They collaborated through the shared file system that runtime instances provide within a session. You can extend this pattern to any number of agents: a test agent that runs the code, a documentation agent that generates README files, a security agent that scans for vulnerabilities, all sharing the same working directory.</p>
<p><span><strong>Key details<br></strong></span>Here are a few things to know as you get started:</p>
<ul>
<li><strong>Supported OS</strong>: Linux (ARM64 and x86_64) at launch.</li>
<li><strong>Session persistence</strong>: Sessions persist for up to 14 days.</li>
<li><strong>Runtimes</strong>: Python 3.11-14 with native code support. Container images also supported.</li>
<li><strong>GPU</strong>: Support for GPU-accelerated instance types.</li>
<li><strong>Integration</strong>: Uses the same AgentCore APIs, identity, observability, and policy controls as AgentCore Runtime.</li>
<li><strong>Pricing</strong>: Standard EC2 pricing plus a management fee for AgentCore orchestration.</li>
<li><strong>Regions</strong>: US East (Ohio, N. Virginia), US West (Oregon), Asia Pacific (Mumbai, Singapore, Sydney, Tokyo), and Europe (Frankfurt, Ireland)</li>
</ul>
<p>To get started, visit the runtime instance in Amazon Bedrock AgentCore documentation<strong>&nbsp;</strong>and create your first capacity provider.</p>
<p>&mdash; seb <!-- '"` --></p>
<p>The post <a href="https://thenokiablog.com/runtime-instances-persistent-compute-for-production-ai-agents-on-amazon-bedrock-agentcore/">Runtime instances: persistent compute for production AI agents on Amazon Bedrock AgentCore</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>8 CSS &#038; JavaScript Snippets for Adding Scroll Effects to Your Website</title>
		<link>https://thenokiablog.com/8-css-javascript-snippets-for-adding-scroll-effects-to-your-website/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Tue, 02 Jun 2026 07:36:22 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Effect Snippets]]></category>
		<category><![CDATA[CSS Snippets]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Snippets]]></category>
		<category><![CDATA[Long Scrolling]]></category>
		<category><![CDATA[Parallax Scrolling]]></category>
		<category><![CDATA[Scrolling]]></category>
		<category><![CDATA[UI Components]]></category>
		<category><![CDATA[UI Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/8-css-javascript-snippets-for-adding-scroll-effects-to-your-website/</guid>

					<description><![CDATA[<p>Scrolling is among the most boring necessities of digital design. Or is it? It&#8217;s easy for...</p>
<p>The post <a href="https://thenokiablog.com/8-css-javascript-snippets-for-adding-scroll-effects-to-your-website/">8 CSS &amp; JavaScript Snippets for Adding Scroll Effects to Your Website</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2026/06/8-css-javascript-snippets-for-adding-scroll-effects-to-your-website.jpg" class="ff-og-image-inserted"></div>
<p>Scrolling is among the most boring necessities of digital design. Or is it? It&rsquo;s easy for both designers and users to ignore. Yet, we spend much of our days moving up, down, and all around. There&rsquo;s something to be said for going the extra mile.</p>
<p>Thankfully, there is an opportunity to do more. Scroll effects can add an element of fun to the mix. They&rsquo;re also great for adding context and drawing attention to important content. Some effects even create a sense of immersion.</p>
<p>Web developers have found all manner of creative use cases. We scoured the CodePen archives to find eight prime examples of how CSS and JavaScript level up the user experience. We were quite impressed with the results.</p>
<p>Below, you&rsquo;ll find everything from basic elements to jaw-dropping visual presentations. You&rsquo;re sure to find inspiration for your next project. Let&rsquo;s get started!</p>
<h2><span id="Premium_ScrollTrigger_Panels">Premium ScrollTrigger Panels</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p class="title-details">Created by Ashish Ranjan</p>
<p>Here&rsquo;s a unique way to scroll through the sections of a webpage. This pen creates a &ldquo;stacking&rdquo; effect, where each new section is layered on top of the last. The previous section zooms and fades out, allowing you to read the current content distraction-free.</p>
<p>Impressively, scrolling up reverses the effect. The technique uses GSAP scroll trigger and makes a long page seem shorter.</p>
<p class="codepen" data-height="450" data-pen-title="PinStack Showcase - Premium ScrollTrigger Panels" data-preview="true" data-default-tab="result" data-slug-hash="JoKXJYQ" data-user="ash1198">See the Pen PinStack Showcase &ndash; Premium ScrollTrigger Panels by Ashish Ranjan</p>
<h2><span id="Scrolling_Text_Rotating_3D_Gallery">Scrolling Text &amp; Rotating 3D Gallery</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p class="title-details">Created by Luis Alberto Martinez Riancho</p>
<p>This 3-D gallery turns the classic carousel on its head. It combines scrolling text with a rotating cube that syncs in perfect harmony. Notice the shading and textures used to create a photorealistic feel.</p>
<p>The button-based navigation lets you avoid scrolling altogether, if that&rsquo;s your thing.</p>
<p class="codepen" data-height="450" data-pen-title="Six Faces / Walking The Cow" data-preview="true" data-default-tab="result" data-slug-hash="ZYpyoRV" data-user="luis-lessrain">See the Pen Six Faces / Walking The Cow by Luis Alberto Martinez Riancho</p>
<h2><span id="Stars_Scroll_Effect">Stars Scroll Effect</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p class="title-details">Created by Aleksa Rakocevic</p>
<p>Scroll effects don&rsquo;t have to be bold. There are times when subtlety is called for and appreciated by visitors. This starry background features a parallax motif with a hint of sparkles.</p>
<p>The result is a fun, yet classy, trip down the page. Consider it for blogs or other long-form content.</p>
<p class="codepen" data-height="450" data-pen-title="Stars scroll effect" data-preview="true" data-default-tab="result" data-slug-hash="QwEEWam" data-user="aleksa-rakocevic">See the Pen Stars scroll effect by Aleksa Rakocevic</p>
<h2><span id="Smooth_Scroll_Behavior">Smooth Scroll Behavior</span></h2>
<p class="title-details">Created by Margarita</p>
<p>Staying with the subtle aesthetic, the on-scroll effects of this pen are a great way to dress up an article. Text gently appears as you make your way down the page.</p>
<p>HTML scroll-behavior is used to ensure a smooth ride and add some flair to static content. This one is appropriate for virtually everyone.</p>
<p class="codepen" data-height="450" data-pen-title=" It Was Never A Competition &mdash; Full Story" data-preview="true" data-default-tab="result" data-slug-hash="OPRxZmV" data-user="Margarita-the-solid">See the Pen It Was Never A Competition &mdash; Full Story by Margarita</p>
<h2><span id="Infinite_Loop_Spiral">Infinite Loop Spiral</span></h2>
<p class="title-details">Created by Toc</p>
<p>Are you looking for a completely twisted take on a photo gallery? This spiral masterpiece will certainly grab attention. Scroll down, and this 3-D ribbon-shaped gallery spins through each image.</p>
<p>Use your mouse or finger to change perspectives. The effect is silky-smooth and will enhance your portfolio projects.</p>
<p class="codepen" data-height="450" data-pen-title="Infinite loop spiral" data-preview="true" data-default-tab="result" data-slug-hash="MYjZpOJ" data-user="ol-ivier">See the Pen Infinite loop spiral by Toc</p>
<h2><span id="CSS_Scroll-Timeline_Word_Highlight">CSS Scroll-Timeline Word Highlight</span></h2>
<p class="title-details">Created by Daniel Haim</p>
<p>Here&rsquo;s a way to list your services and/or accomplishments with style. The text on the left stays put as you scroll, while the right side jumps to the next word or phrase. </p>
<p>It uses the scroll-snap-align and scroll-snap-type CSS properties to keep the presentation tidy. JavaScript sets properties based on user action. The result is an attractive method for making an impact with typography.</p>
<p class="codepen" data-height="450" data-pen-title="CSS Scroll-Timeline Word Highlight" data-preview="true" data-default-tab="result" data-slug-hash="azmBEPL" data-user="danielhaim">See the Pen CSS Scroll-Timeline Word Highlight by Daniel Haim</p>
<h2><span id="Springy_Section_Edges">Springy Section Edges</span></h2>
<p class="title-details">Created by Tom Miller</p>
<p>Scrolling from one page section to another doesn&rsquo;t have to be boring. A small effect, like this &ldquo;springy&rdquo; animation, adds context and entertainment value to the process. Reach the bottom of a section, and you&rsquo;re welcomed with a bounce.</p>
<p>Here&rsquo;s an idea: maybe add some confetti when you reach the end of the page. After all, loyal visitors should be celebrated!</p>
<p class="codepen" data-height="450" data-pen-title="Springy Section Edges" data-preview="true" data-default-tab="result" data-slug-hash="WboQLVe" data-user="creativeocean">See the Pen Springy Section Edges by Tom Miller</p>
<h2><span id="Reverse_Scrolling_Columns">Reverse Scrolling Columns</span></h2>
<p class="title-details">Created by Ryan Yu</p>
<p>This photo gallery&rsquo;s multi-column scrolling is reminiscent of a slot machine. The columns are synced, but the middle section moves in the reverse direction. It&rsquo;s fun and immersive without overwhelming users.</p>
<p>Once again, GSAP scroll trigger serves as the secret sauce to the effect.</p>
<p class="codepen" data-height="450" data-pen-title="Reverse scrolling columns" data-preview="true" data-default-tab="result" data-slug-hash="XJdvXym" data-user="iamryanyu">See the Pen Reverse scrolling columns by Ryan Yu</p>
<h2><span id="Use_Scroll_Effects_To_Enhance_User_Experience">Use Scroll Effects To Enhance User Experience</span></h2>
<p>Scrolling doesn&rsquo;t have to be an afterthought in your design projects. The examples above demonstrate what&rsquo;s possible with a little code and imagination.</p>
<p>In some cases, these effects can be the star of the show. Consider the photo galleries in our roundup. They become more interesting and interactive when you go beyond the default grid layout. You get high-end form and functionality.</p>
<p>On the other hand, subtlety also has a place when adding scroll effects to more traditional pages. A hint of elegance can transform static content into something more memorable.</p>
<p>The decision is yours to make. Consider your audience and accessibility needs, then choose the effect that makes the most sense.</p>
<p>Want to see even more awesome scroll effects? Check out our CodePen collection!</p>
<h2><span id="More_CSS_Effects_Snippets">More CSS Effects Snippets</span></h2>
<p>here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/8-css-javascript-snippets-for-adding-scroll-effects-to-your-website/">8 CSS &amp; JavaScript Snippets for Adding Scroll Effects to Your Website</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>8 Autumn-Inspired CSS &#038; JavaScript Effects</title>
		<link>https://thenokiablog.com/8-autumn-inspired-css-javascript-effects/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Mon, 08 Sep 2025 13:14:36 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Animation]]></category>
		<category><![CDATA[CSS Snippets]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Snippets]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/8-autumn-inspired-css-javascript-effects/</guid>

					<description><![CDATA[<p>Every season has a distinct vibe. People celebrate them by wearing seasonal colors and delighting in...</p>
<p>The post <a href="https://thenokiablog.com/8-autumn-inspired-css-javascript-effects/">8 Autumn-Inspired CSS &amp; JavaScript Effects</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/09/8-autumn-inspired-css-javascript-effects.jpg" class="ff-og-image-inserted"></div>
<p>Every season has a distinct vibe. People celebrate them by wearing seasonal colors and delighting in traditional flavors. Autumn appears to have taken over as a favorite time of year for many. Pumpkin spice, anyone?</p>
<p>Yes, the fall season is being celebrated like never before &ndash; and for good reason. It&rsquo;s when we embrace cooler weather, colorful leaves, and ugly sweaters. We&rsquo;re also preparing for the upcoming holidays.</p>
<p>Naturally, web developers want to get in on the fun. They&rsquo;re creating homages to the season that also show off their skills. They combine the latest in CSS and JavaScript with fun snapshots of fall life.</p>
<p>It all convinced us to collect some of the best autumn-inspired effects for your enjoyment. Their creativity will keep you cozier than a blanket and a warm cup of cider.</p>
<h2><span id="Virtual_Autumn_Corn_Maze">Virtual Autumn Corn Maze</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p class="title-details">Created by Kit Jenson</p>
<p>Nothing screams &ldquo;autumn&rdquo; like getting lost in a corn maze. This virtual maze challenges you to guide your pumpkin to safety. The game has a fun retro look and is powered by JavaScript. It&rsquo;s also a more comfortable experience for those of us who are claustrophobic.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="XWEGePe" data-pen-title="Autumn Corn Maze" data-preview="true" data-user="kitjenson"><span>See the Pen Autumn Corn Maze by Kit Jenson (@kitjenson)<br>on CodePen.</span></p>
<h2><span id="Autumn_Leaf_Fall_Preloader">Autumn Leaf Fall Preloader</span></h2>
<p class="title-details">Created by Nicolas</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>This snippet is proof that loading graphics don&rsquo;t have to be boring. You can add seasonal flavor like this leaf animation. Watch as CSS animation spirals leaves into a virtual black hole.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="avNrEO" data-pen-title="autumn leaf fall preloader" data-preview="true" data-user="Terramaster"><span>See the Pen autumn leaf fall preloader by Nicola</span></p>
<h2><span id="Hexagonal_Autumn_Leaves_Animation">Hexagonal Autumn Leaves Animation</span></h2>
<p class="title-details">Created by Philip Warkentien II</p>
<p>How about something a bit more abstract? This mesmerizing presentation uses SVG hexagon shapes to represent leaves. The fall color scheme is beautiful. And it&rsquo;s hard to take your eyes off the sparkly animation.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="ZEQOoyE" data-pen-title="Autumn Leaves" data-preview="true" data-user="warkentien2"> <span>See the Pen  Autumn Leaves by Philip Warkentien II</span></p>
<h2><span id="Animated_Glowing_Spooky_Spectral_Ghost">Animated Glowing Spooky Spectral Ghost</span></h2>
<p class="title-details">Created by Filip Zrnzevic</p>
<p>We can&rsquo;t forget about Halloween! The spooky season is well-represented by this glowing ghost presentation. Move your cursor and watch as the spirit follows you. WebGL and Three.js are the forces behind the animation &ndash; not magic.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="GgpMOEq" data-pen-title="[webgl/threejs] &#10061; Spooky Spectral Ghost" data-preview="true" data-user="filipz"> <span>See the Pen [webgl/threejs] &#10061; Spooky Spectral Ghost by Filip Zrnzevic</span></p>
<h2><span id="Autumnal_Sweater_Weather">Autumnal Sweater Weather</span></h2>
<p class="title-details">Created by McCambley</p>
<p>The chilly weather is a perfect excuse to dig out those old sweaters. You know, the ones with the wild patterns and scratchy fabric. Or, you might enjoy this garment built with CSS. The light-up diamonds are a nice touch.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="GRroGGg" data-pen-title="Sweater Weather" data-preview="true" data-user="mccambley"><span>See the Pen Sweater Weather by McCambley</span></p>
<h2><span id="Single_Div_CSS_Pumpkin_Spice_Latte">Single Div CSS Pumpkin Spice Latte</span></h2>
<p class="title-details">Created by Greg Robleto</p>
<p>Pumpkin spice has become a phenomenon. Coffee shops pump out lattes before the first leaf hits the ground &ndash; and people can&rsquo;t get enough. The flavor of the season is recreated here with a single <code>DIV</code> element. CSS gradients are used to create the various shading effects.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="BavPqPL" data-pen-title=" Pumpkin Spice Latte - Single Div CSS Art (Divtober 2023 :Day 1 :Fall)" data-preview="true" data-user="robleto"> <span>See the Pen Pumpkin Spice Latte &ndash; Single Div CSS Art (Divtober 2023 :Day 1 :Fall) by Greg Robleto</span></p>
<h2><span id="Falling_Autumn_Leaves_Shader">Falling Autumn Leaves Shader</span></h2>
<p class="title-details">Created by CeramicSoda</p>
<p>Raking leaves is perhaps the least popular autumn ritual. Watching them fall, on the other hand, is great fun. Here, you can shake a virtual tree and make the yellow-and-orange foliage fly. The best part? No cleanup!</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="xxQJqVv" data-pen-title=" Falling autumn leaves shader " data-preview="true" data-user="ceramicSoda"> <span>See the Pen Falling autumn leaves shader  by CeramicSoda</span></p>
<h2><span id="Snickers_Bar_Pure_CSS">Snickers Bar Pure CSS</span></h2>
<p class="title-details">Created by Zerde Turdybek</p>
<p>Technically, you can eat a Snickers bar any time of the year. But there&rsquo;s something special about receiving one when trick-or-treating. You can almost smell the chocolate and peanuts emanating from this CSS-rendered candy bar.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="jEPEKow" data-pen-title="Snickers" data-preview="true" data-user="3epge"> <span>See the Pen Snickers by Zerde Turdybek</span></p>
<h2><span id="The_Colors_Flavors_and_Code_of_Fall">The Colors, Flavors, and Code of Fall</span></h2>
<p>Web developers are always looking for a reason to build something fun. The colors and flavors of fall offer plenty of inspiration. The snippets above allow us to explore the season and sharpen our skills.</p>
<p>We hope you enjoyed this fresh harvest of autumn-themed code in all its glory! Please check out our CodePen collection for even more examples.</p>
<hr>
<p>here. He recently started a writing service for WordPress products: WP Product Writeup.  He also has an opinion on just about every subject. You can follow his rants on Bluesky @karks.com.</p>
<p>
                        Read more articles by Eric Karkovack
                    </p>

<hr>
<p>The post <a href="https://thenokiablog.com/8-autumn-inspired-css-javascript-effects/">8 Autumn-Inspired CSS &amp; JavaScript Effects</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>8 Comic-Inspired Snippets Powered by CSS &#038; JavaScript</title>
		<link>https://thenokiablog.com/8-comic-inspired-snippets-powered-by-css-javascript/</link>
		
		<dc:creator><![CDATA[Mister Nokia]]></dc:creator>
		<pubDate>Sun, 13 Apr 2025 16:54:13 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Cartoon Design]]></category>
		<category><![CDATA[Comic Book Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Animation]]></category>
		<category><![CDATA[CSS Snippets]]></category>
		<category><![CDATA[Digital Art]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Snippets]]></category>
		<category><![CDATA[Web Design]]></category>
		<guid isPermaLink="false">https://thenokiablog.com/8-comic-inspired-snippets-powered-by-css-javascript/</guid>

					<description><![CDATA[<p>Comics have served as an inspiration to many of us. They impact every corner of our...</p>
<p>The post <a href="https://thenokiablog.com/8-comic-inspired-snippets-powered-by-css-javascript/">8 Comic-Inspired Snippets Powered by CSS &amp; JavaScript</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Comics have served as an inspiration to many of us. They impact every corner of our culture. Just try going to the movies without at least one comic-based film showing. It seems nearly impossible.</p>
<p>Their style has also crept into web design. We see it in bold colors, outrageous typography, and unique layouts.</p>
<p>Advancements in both CSS and JavaScript allow designers to bring these styles to life. There is no shortage of ways to add comic-inspired flair to your website.</p>
<p>So, how are web designers bringing comic styles online? Let&rsquo;s check out a few examples of what a combination of code and creativity can do.</p>
<hr class="aside-bar">
<img decoding="async" src="https://thenokiablog.com/wp-content/uploads/2025/04/8-comic-inspired-snippets-powered-by-css-javascript.jpg" width="870" height="223" alt="Envato Elements Unlimited Creative Assets, All In One pLace">
<h2><span id="Comic_Style_Text_Bubbles_-_CSS">Comic Style Text Bubbles &ndash; CSS</span></h2>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/rose-gold-design/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Rose gold design</span></a></div><p class="title-details">Created by Josetxu</p>
<p>This snippet demonstrates a classic comic book style. Large, bold text screams on top of colorful backgrounds. CSS Grid is used to line up the various layout pieces. Bonus: click on a word to edit the text. Wow! That was cool.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="eYoKONP" data-preview="true" data-user="josetxu">See the Pen Comic Style Text Bubbles &ndash; CSS by Josetxu</p>
<h2><span id="Side_Scroller_Comic_Web_Template">Side Scroller Comic Web Template</span></h2>
<p class="title-details">Created by Terry Scrimsher</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/passion-work/" class="template-2"><span class="cta">Read more</span><span class="postTitle">Passion &amp; work</span></a></div><p>Here&rsquo;s an example that adds movement to the mix. The side-scrolling hero area makes for an attention-grabbing experience. The animated text provides contrast and an element of fun.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="eBgZWR" data-preview="true" data-user="terryscrimsher">See the Pen Side Scroller Web Template by Terry Scrimsher</p>
<h2><span id="Comic_Book_Style_CSS_UI">Comic Book Style CSS UI</span></h2>
<p class="title-details">Created by Gabriele Corti</p>
<p>This experiment ponders a comic book UI. It&rsquo;s a small starting point inspired by Spider-Man. However, imagine expanding it to cover every element of a website. That&rsquo;s a way to stand out from the mere mortals.</p>
<div class="internal-linking-related-contents"><a href="https://thenokiablog.com/the-joy-of-art/" class="template-2"><span class="cta">Read more</span><span class="postTitle">The joy of art</span></a></div><p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="GeXMgm" data-preview="true" data-user="borntofrappe">See the Pen Comic Book UI by Gabriele Corti</p>
<h2><span id="Style_Stage_Comic_Book_CSS">Style Stage Comic Book CSS</span></h2>
<p class="title-details">Created by Katherine Kato</p>
<p>Let&rsquo;s go a step further with a comic-inspired UI. This page manages to balance bold styling and legibility. The layout is fun but remains super clean. It shows that &ldquo;comic&rdquo; doesn&rsquo;t have to mean inaccessible.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="wvgNVeJ" data-preview="true" data-user="kathykato">See the Pen Style Stage &ndash; Comic by Katherine Kato</p>
<h2><span id="Pure_CSS_Comic_Coder_Cat">Pure CSS Comic Coder Cat</span></h2>
<p class="title-details">Created by Annie Bombanie</p>
<p>This humorous bit pokes fun at developers. It also shows some impressive use of CSS. The black-and-white comic takes advantage of clip paths, gradients, and flexbox. The strip is also responsive.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="QWNLjKB" data-preview="true" data-user="anniebombanie">See the Pen Comic Coder Cat &ndash; Pure CSS by Annie</p>
<h2><span id="Generate_Comic-Style_Typography">Generate Comic-Style Typography</span></h2>
<p class="title-details">Created by Antoinette Janus</p>
<p>Use this snippet to generate comic-style text. Click into the box and then start typing. You&rsquo;ll get a classic comic book font on top of a halftone background.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="GRKVZOE" data-preview="true" data-user="internette">See the Pen Comic Types by Antoinette Janus</p>
<h2><span id="Responsive_Accessible_Comic_Page">Responsive &amp; Accessible Comic Page</span></h2>
<p class="title-details">Created by Sarah Frisk</p>
<p>It can be a challenge to make an accessible comic strip. The fonts aren&rsquo;t always legible. And what if you&rsquo;re using images? This snippet aims to fix these issues. It offers a &ldquo;CC&rdquo; mode that provides text descriptions of each panel. The result is an improved user experience.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="XWdLWZY" data-preview="true" data-user="sfrisk">See the Pen Responsive and Accessible Comic Page by Sarah Frisk</p>
<h2><span id="Comic_Style_Crystal_Field">Comic Style Crystal Field</span></h2>
<p class="title-details">Created by Tibix</p>
<p>It&rsquo;s easy to admire the groundbreaking illustrations in our favorite comics. This example combines beautiful artwork with the power of code. Click on the presentation to regenerate a new version of this crystal field.</p>
<p class="codepen" data-height="550" data-default-tab="result" data-slug-hash="REEJpK" data-preview="true" data-user="Tibixx">See the Pen Comic Style Crystal Field by Tibix</p>
<h2><span id="Adding_Some_Pop_to_the_Web">Adding Some Pop to the Web</span></h2>
<p>Not every website requires a staid corporate look. Comic styles offer an alternative for these sites. You can use this technique to create a fun and memorable UX.</p>
<p>What&rsquo;s more, you don&rsquo;t have to go over the top to find success. Even subtle elements of comic design can make a positive impact. Look no further than some of the examples above for proof.</p>
<p>Want to see even more examples of comic styles? Use your superpowers and head on over to our CodePen collection!</p>
<div class="topics">
<h2>Related Topics</h2>
</div>
<p><i class="fa fa-arrow-up"></i><br>Top</p>
<p>The post <a href="https://thenokiablog.com/8-comic-inspired-snippets-powered-by-css-javascript/">8 Comic-Inspired Snippets Powered by CSS &amp; JavaScript</a> appeared first on <a href="https://thenokiablog.com">The NOKIA Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
