<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hatem Hosny on Medium]]></title>
        <description><![CDATA[Stories by Hatem Hosny on Medium]]></description>
        <link>https://medium.com/@hatemhosny?source=rss-9fb51ff7df8b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Zr8nVmpbb3u3x8DFX28rFA.jpeg</url>
            <title>Stories by Hatem Hosny on Medium</title>
            <link>https://medium.com/@hatemhosny?source=rss-9fb51ff7df8b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:42:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hatemhosny/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[LiveCodes Gets a Fresh Look, and Goes Multilingual!]]></title>
            <link>https://javascript.plainenglish.io/livecodes-gets-a-fresh-look-and-goes-multilingual-d2d9eeff9461?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2d9eeff9461</guid>
            <category><![CDATA[themes]]></category>
            <category><![CDATA[livecode]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[playground]]></category>
            <category><![CDATA[i18n]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Mon, 09 Dec 2024 23:26:31 GMT</pubDate>
            <atom:updated>2024-12-11T13:51:53.386Z</atom:updated>
            <content:encoded><![CDATA[<p>LiveCodes <a href="https://github.com/live-codes/livecodes/releases/tag/v36">recent release</a> provides a major update to the UI. The new UI is more modern, cleaner, more accessible and allows customization with custom theme colors.</p><p>In addition, LiveCodes now supports multiple languages. It already supports 90+ programming languages. But we are adding spoken languages this time! With the new internationalization (i18n) support, the UI now can be displayed in 12 different languages.</p><h3>The New UI</h3><p>The UI is now cleaner, more consistent and more accessible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*xp4OQS48R0ewurZV.jpg" /></figure><p>In addition, the UI theme is now custommizable with custom colors. The theme color can be selected from the UI (Settings menu -&gt; Color).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*ElmcUhucsM-GECpk.jpg" /><figcaption>Theme color can be changed</figcaption></figure><p>The color applies to dark and light themes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*69J93mFocQutL4Hi.jpg" /><figcaption>Light Theme</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*6Otsc3hS75kO7wmj.jpg" /><figcaption>Custom Theme Color</figcaption></figure><p>The theme color can also be selected as the configuration option <a href="https://livecodes.io/docs/configuration/configuration-object#themecolor">themeColor</a>. This allows setting the color using the <a href="https://livecodes.io/docs/sdk/">SDK</a> (for <a href="https://livecodes.io/docs/features/embeds">embedded playgrounds</a>) or <a href="https://livecodes.io/docs/configuration/query-params">query params</a>.</p><p>Example: <a href="https://livecodes.io/?themeColor=lightblue">https://livecodes.io/?themeColor=lightblue</a></p><p>The UI is responsive and can be used in different screen sizes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*hLNh-d9CNEWKWTak.jpg" /><figcaption>LiveCodes UI is responsive</figcaption></figure><h3>Multilingual Support (i18n)</h3><p>The UI can now be displayed in 12 different languages: English (default), Arabic, Chinese, French, German, Hindi, Italian, Japanese, Portuguese, Russian, Spanish and Urdu.</p><p>The language is auto-detected based on the user’s browser language. In addition, the language can be selected from the UI (i18n menu).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*iNZRR4Rh_cdfD9nm.png" /><figcaption>LiveCodes UI language menu</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*cDZmtF-EB-tjnxy2.jpg" /><figcaption>LiveCodes UI in Chinese</figcaption></figure><p>Moreover, the UI language can also be set using the configuration option <a href="https://livecodes.io/docs/configuration/configuration-object#applanguage">appLanguage</a>.</p><p>Example: <a href="https://livecodes.io/?appLanguage=fr">https://livecodes.io/?appLanguage=fr</a></p><h3>Credits</h3><p>A huge shout-out to the wonderful contributors who helped make this release possible by working for months to provide high quality work. Very special thanks to:</p><ul><li><a href="https://x.com/nunoluciano"><strong>Nuno Luciano</strong></a> (aka <a href="https://github.com/gigamaster">gigamaster</a>) for the design and implementation of the new UI.</li><li><strong>Max Alex</strong> (aka <a href="https://github.com/zyf722">zyf722</a>) for the i18n support.</li></ul><p>Contributions are always welcome. Check out the <a href="https://github.com/live-codes/livecodes/blob/develop/CONTRIBUTING.md">contribution guide</a> for more details.</p><h3>What’s next?</h3><p>We have been busy the past few months working on the UI and setting up the infra-structure for more features to come. Now expect more features to be rolling out more frequently.</p><p>Stay tuned!</p><p>You can stay updated by following us on <a href="https://x.com/livecodes_io">X/Twitter</a> and <a href="https://github.com/live-codes/livecodes">GitHub</a>.</p><h3>In Plain English 🚀</h3><p><em>Thank you for being a part of the </em><a href="https://plainenglish.io/"><strong><em>In Plain English</em></strong></a><em> community! Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong>YouTube</strong></a> | <a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Discord</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a></li><li><a href="https://differ.blog/"><strong>Create a free AI-powered blog on Differ.</strong></a></li><li>More content at <a href="https://plainenglish.io/"><strong>PlainEnglish.io</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2d9eeff9461" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/livecodes-gets-a-fresh-look-and-goes-multilingual-d2d9eeff9461">LiveCodes Gets a Fresh Look, and Goes Multilingual!</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing RacingBars ]]></title>
            <link>https://javascript.plainenglish.io/introducing-racingbars-c1a3cb0eb0e4?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1a3cb0eb0e4</guid>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Tue, 20 Aug 2024 23:13:53 GMT</pubDate>
            <atom:updated>2024-08-22T00:37:09.870Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bar Chart Race Made Easy 🎉</h3><p><em>RacingBars</em> is an <a href="https://github.com/hatemhosny/racing-bars">open-source</a>, light-weight (~45kb gzipped), easy-to-use, and <a href="https://racing-bars.hatemhosny.dev/features.md">feature-rich</a> javascript library for bar chart race, based on <a href="https://d3js.org/">D3.js</a>.</p><p><em>RacingBars</em> is available for JavaScript, TypeScript, React, Vue and Svelte.</p><figure><img alt="Screen recording for animated bar chart race using RacingBars" src="https://cdn-images-1.medium.com/max/716/1*fGD51_T2zBdciyPwSLhavQ.gif" /></figure><p>🎡 Try it now on the <a href="https://racing-bars.hatemhosny.dev/playground">online playground</a>.</p><p>📖 <a href="https://racing-bars.hatemhosny.dev/">Documentations</a></p><h3>Features</h3><ul><li>Easy to use.</li><li>Light-weight (~45kb gzipped).</li><li><a href="https://racing-bars.hatemhosny.dev/documentation/options">Highly configurable</a>, with sensible defaults.</li><li>Available for vanilla JavaScript,TypeScript, React, Vue and Svelte.</li><li>Responsive / configurable <a href="https://racing-bars.hatemhosny.dev/guides/chart-size">chart size</a>.</li><li>Light and dark <a href="https://racing-bars.hatemhosny.dev/guides/themes-styles">themes</a>.</li><li>Good looking default <a href="https://racing-bars.hatemhosny.dev/guides/colors">colors</a>, also configurable with color maps or palettes.</li><li>Customizable title, sub-title, caption and date counter. They all allow displaying <a href="https://racing-bars.hatemhosny.dev/guides/dynamic-values">calculated/dynamic values</a>.</li><li>Flexible handling for various <a href="https://racing-bars.hatemhosny.dev/documentation/data">data shapes and formats</a>.</li><li>Data manipulation for <a href="https://racing-bars.hatemhosny.dev/documentation/options#datatransform">data transformation</a>, <a href="https://racing-bars.hatemhosny.dev/documentation/data#cumulative-sum">cumulative sums</a> and <a href="https://racing-bars.hatemhosny.dev/documentation/data#filling-gaps-in-data">filling date gaps</a>.</li><li><a href="https://racing-bars.hatemhosny.dev/guides/icons">Icons</a>.</li><li><a href="https://racing-bars.hatemhosny.dev/guides/labels">Labels</a> on the bars or outside.</li><li><a href="https://racing-bars.hatemhosny.dev/guides/groups">Groups</a> with filters.</li><li>Bar <a href="https://racing-bars.hatemhosny.dev/guides/highlight-select">highlight and selection</a>.</li><li>Autorun or start manually.</li><li>Allows looping.</li><li>Optional fixed scale.</li><li>Custom start/end dates.</li><li>Allows changing speed.</li><li>Controls for play/pause/skip-back/skip-forward (<a href="https://racing-bars.hatemhosny.dev/guides/chart-controls">chart controls</a>).</li><li>Overlays for play/repeat (<a href="https://racing-bars.hatemhosny.dev/guides/chart-controls">chart controls</a>).</li><li>Keyboard and mouse controls (<a href="https://racing-bars.hatemhosny.dev/guides/chart-controls">chart controls</a>).</li><li><a href="https://racing-bars.hatemhosny.dev/guides/multiple-charts">Multiple charts</a> can be inserted in the same page.</li><li><a href="https://racing-bars.hatemhosny.dev/documentation/api">API</a> to control the chart.</li><li>Emits custom DOM <a href="https://racing-bars.hatemhosny.dev/documentation/events">events</a>.</li><li>Comprehensive <a href="https://racing-bars.hatemhosny.dev/category/documentation/">documentation</a>, with <a href="https://racing-bars.hatemhosny.dev/category/guides">usage guides</a>, <a href="https://racing-bars.hatemhosny.dev/category/gallery">examples gallery</a> and an <a href="https://racing-bars.hatemhosny.dev/playground">online playground</a>.</li><li>Open-source (<a href="https://racing-bars.hatemhosny.dev/license">MIT License</a>).</li></ul><figure><img alt="RacingBars: Bar Chart Race Made Easy!" src="https://cdn-images-1.medium.com/max/1024/1*e_2-6CqJoGs-5ZO19FjXcg.png" /></figure><h3>Getting Started</h3><p>Usage options include:</p><h3>Option 1: Using a bundler</h3><p>Install from npm</p><pre>npm install racing-bars</pre><p>then you can import it:</p><pre>import { race } from &quot;racing-bars&quot;;<br><br>const options = {<br>  title: &#39;My Racing Bars&#39;,<br>  // ... other options<br>};<br><br>const data = &#39;https://racing-bars.hatemhosny.dev/data/population.json&#39;;<br><br>race(data, &quot;#race&quot;, options);</pre><h3>Option 2: Load from CDN</h3><h4>ESM</h4><pre>&lt;div id=&quot;race&quot; style=&quot;height: 80vh&quot;&gt;&lt;/div&gt;<br>&lt;script type=&quot;module&quot;&gt;<br>  import { race } from &quot;https://cdn.jsdelivr.net/npm/racing-bars&quot;;<br><br>  const options = {<br>    title: &#39;My Racing Bars&#39;,<br>    // ... other options<br>  };<br><br>  const data = &#39;https://racing-bars.hatemhosny.dev/data/population.json&#39;;<br><br>  race(data, &quot;#race&quot;, options);<br>&lt;/script&gt;</pre><h4>UMD</h4><pre>&lt;div id=&quot;race&quot; style=&quot;height: 80vh&quot;&gt;&lt;/div&gt;<br>&lt;script src=&quot;https://https://cdn.jsdelivr.net/npm/racing-bars/racing-bars.umd.js&quot;&gt;&lt;/script&gt;<br>&lt;script&gt;<br>  const options = {<br>    title: &#39;My Racing Bars&#39;,<br>    // ... other options<br>  };<br><br><br>  const data = &#39;https://racing-bars.hatemhosny.dev/data/population.json&#39;;<br><br>  // the UMD version provides the global object `racingBars`<br>  racingBars.race(data, &quot;#race&quot;, options);<br>&lt;/script&gt;</pre><p>Please refer to <a href="https://racing-bars.hatemhosny.dev/">documentation website</a> for <a href="https://racing-bars.hatemhosny.dev/getting-started/usage">usage</a>, <a href="https://racing-bars.hatemhosny.dev/documentation/data">data preparation</a>, <a href="https://racing-bars.hatemhosny.dev/documentation/options">chart options</a>, <a href="https://racing-bars.hatemhosny.dev/documentation/api">API</a> and more.</p><h3>Examples Gallery</h3><p>See <a href="https://racing-bars.hatemhosny.dev/category/gallery/">gallery</a> for usage examples.</p><h3>Playground</h3><p>Go to the <a href="https://racing-bars.hatemhosny.dev/playground/">online playground</a> to try out the library.</p><h3>License</h3><p><a href="https://github.com/hatemhosny/racing-bars/blob/develop/LICENSE">MIT</a> License © <a href="https://github.com/hatemhosny">Hatem Hosny</a>.</p><h3>Let’s Get Started 🚀</h3><p><a href="https://racing-bars.hatemhosny.dev/getting-started/installation/">Get started now</a>!</p><h3>In Plain English 🚀</h3><p><em>Thank you for being a part of the </em><a href="https://plainenglish.io/"><strong><em>In Plain English</em></strong></a><em> community! Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://twitter.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong>YouTube</strong></a> | <a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Discord</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a></li><li>Visit our other platforms: <a href="https://cofeed.app/"><strong>CoFeed</strong></a> | <a href="https://differ.blog/"><strong>Differ</strong></a></li><li>More content at <a href="https://plainenglish.io/"><strong>PlainEnglish.io</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1a3cb0eb0e4" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/introducing-racingbars-c1a3cb0eb0e4">Introducing RacingBars 📊</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LiveCodes AI Code Assistant]]></title>
            <link>https://hatemhosny.medium.com/livecodes-ai-code-assistant-6bec44ac21a6?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6bec44ac21a6</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[livecode]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Fri, 16 Feb 2024 00:29:24 GMT</pubDate>
            <atom:updated>2024-02-16T00:29:24.102Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m excited to announce the general availability of <em>LiveCodes AI Code Assistant</em>. It is totally <strong>free</strong>, for <strong>unlimited usage</strong>, with <strong>no account or API token required</strong> and with <strong>no need to install any browser extensions</strong>. It can be easily enabled from the UI (as easy as <a href="https://livecodes.io/?screen=editor-settings">flipping a switch</a>!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RCqFw0Cuc5VfGSNh.png" /></figure><p>The AI code completion is powered by <a href="https://codeium.com/">Codeium</a>, the ultrafast Copilot alternative.</p><p>It has a wide range of language support, and it works everywhere (in the <a href="https://livecodes.io/docs/getting-started#standalone-app">standalone app</a>, <a href="https://livecodes.io/docs/features/embeds">embedded playgrounds</a> and <a href="https://livecodes.io/docs/features/self-hosting">self-hosted</a> apps).</p><p>Currently, only <a href="https://livecodes.io/docs/features/editor-settings#code-editor">Monaco editor</a> is supported. Wider editor support is planned.</p><h3>Examples:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*QRV1Lb8FoKAd-ICW.png" /><figcaption>Screenshot for AI code completion</figcaption></figure><p><a href="https://v23.livecodes.io/docs/vid/LiveCodes-AI.mp4">JavaScript demo</a></p><p><a href="https://v23.livecodes.io/docs/vid/LiveCodes-AI-py.mp4">Python demo</a></p><h3>How it works?<a href="https://blog.livecodes.io/ai-code-assistant-generally-available#how-it-works">​</a></h3><p>The large generative machine learning model is capable of understanding the context of your code and comments (across the <a href="https://livecodes.io/docs/features/projects#markup-editor">3 code editors</a>) in order to generate suggestions on what you might want to type next.</p><h3>How can I use it?<a href="https://blog.livecodes.io/ai-code-assistant-generally-available#how-can-i-use-it">​</a></h3><p>The AI code assistant can be enabled from:</p><h3>UI<a href="https://blog.livecodes.io/ai-code-assistant-generally-available#ui">​</a></h3><p>The <a href="https://livecodes.io/?screen=editor-settings">editor settings</a> screen (App menu → Editor Settings → Enable AI Code Assistant).</p><p>When set from the UI, this configuration is saved locally to user settings and is remembered across sessions.</p><h3>Configuration<a href="https://blog.livecodes.io/ai-code-assistant-generally-available#configuration">​</a></h3><p>Alternatively, this can be enabled/disabled (<em>only for the current session</em>) using the <a href="https://livecodes.io/docs/configuration/configuration-object#enableai">enableAI</a> property in the <a href="https://livecodes.io/docs/configuration/configuration-object">configuration object</a>. This can be used to enable the AI code assistant in <a href="https://livecodes.io/docs/features/embeds">embedded playgrounds</a>.</p><p>Example:</p><pre>import { createPlayground } from &#39;livecodes&#39;;<br><br>createPlayground(&#39;#container&#39;, {<br>  config: {<br>    enableAI: true,<br>  },<br>});</pre><p>Also this can be enabled using <a href="https://livecodes.io/docs/configuration/query-params">query params</a> (e.g. <a href="https://livecodes.io/?enableAI">https://livecodes.io/?enableAI</a>).</p><h3>Why isn’t it enabled by default?<a href="https://blog.livecodes.io/ai-code-assistant-generally-available#why-isnt-it-enabled-by-default">​</a></h3><p>When using the AI assistant, your code is sent to <a href="https://codeium.com/">Codeium</a> servers for code completion. LiveCodes has a very <a href="https://livecodes.io/docs/why#client-side">strict philosophy</a> which mandates that your code never leaves your device unless you choose to.</p><p>Please note that even though your code is sent to Codeium, it is not used for training their model. Check Codeium <a href="https://codeium.com/faq#Will-Codeium-regurgitate-private-code%3F">FAQ</a> and <a href="https://codeium.com/privacy-policy">privacy policy</a> for more details.</p><p>Moreover, in many uses of LiveCodes it may not be desireable to have AI code completions (e.g. courses, quizzes, etc.).</p><h3>Let’s try it! 🚀<a href="https://blog.livecodes.io/ai-code-assistant-generally-available#lets-try-it-">​</a></h3><p>Go to the <a href="https://livecodes.io/?screen=editor-settings">editor settings</a> screen. Enable the AI code assistant and enjoy the magic! ✨</p><p>Please ⭐ <a href="https://github.com/live-codes/livecodes">star the project on GitHub</a> if you like it, and follow <a href="https://twitter.com/livecode_io">LiveCodes on Twitter</a> to be notified with latest updates!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bec44ac21a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Make Learning Frontend Great Again!]]></title>
            <link>https://javascript.plainenglish.io/lets-make-learning-frontend-great-again-802835b864e?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/802835b864e</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Fri, 25 Aug 2023 06:16:04 GMT</pubDate>
            <atom:updated>2023-08-25T06:16:04.412Z</atom:updated>
            <content:encoded><![CDATA[<p>Gone are the happy days when we used to start a frontend project by creating 3 files (for HTML, CSS, and JavaScript), and start coding. Frontend development is becoming increasingly complex with a large number of frameworks (and meta frameworks) each with its own (non-standard) syntax, processors, build tools, and configuration files. These are all great tools, and each solves a real set of problems. However, the ecosystem has become overwhelming for newcomers who want to start a frontend development career.</p><h3>JavaScript Fatigue<a href="https://blog.livecodes.io/lets-make-learning-frontend-great-again/#javascript-fatigue">​</a></h3><p>The rapidly expanding ecosystem of modern JavaScript can be intimidating for new frontend developers. The complexity added by each new tool is increasing, to the extent that people started taking <a href="https://frontendmasters.com/learn/webpack/">multiple courses</a> to learn the build tool, instead of learning the technology they use! This has been the situation over the <a href="https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f">past few years</a> and it does not seem to be improving.</p><p>Why should a junior web developer, who wants to learn something new, need to run terminal commands and download the heaviest object in the universe, just to get started?!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*vtay4n3dUbbUTs22.jpg" /><figcaption>node_modules — the heaviest object in the universe!</figcaption></figure><p>Then comes the configuration hell, with the need to configure zillion different things to work together. Just to start a hello-world project!</p><p>Such environment setup may be needed for a production scale project, but it should not be required for learning, exploring, prototyping, experimenting, reproducing issues, sharing or teaching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/0*oub6iQ0zZyTQY52O.jpg" /><figcaption>Configuration hell in action</figcaption></figure><h3>In Search for a Solution​</h3><p>To simplify local environment setup, many platforms have provided online IDE/playgrounds to abstract away the build process and allow users to write code and see its result. These are great tools and they do solve parts of the problem. However, there has always been something missing. Since a lot of processing (e.g. compiling, bundling, etc.) occurs on their servers, there are always limitations for use (e.g. number of projects, private projects, processing power/memory, down-time etc.).</p><p>To overcome these limitations users are either required to pay for a subscription, or, in case of open-source solutions, users are required to self-host the tool and deal with the complexity themselves (and still pay for the hosting provider).</p><blockquote>As a developer I can understand why I need to pay for servers that host my websites for users. But why do I need to pay for servers to write code? I can use my local device. I just needed to take away the complexity! <em>🤔</em></blockquote><p>Other alternatives were able to run all the processing inside the browser on the user device, which is a great step forwards indeed. However, that required downloading a whole nodejs runtime and then, also downloading the heaviest object in the universe (see above) every time you load the playground. And you still need to go through the configuration hell (also see above). Just to start a hello-world project!</p><p>This is where LiveCodes comes to the scene.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7m-Wbyyp8x1b_pIBIHfeMw.png" /><figcaption>Let’s make frontend great again!</figcaption></figure><h3>What is LiveCodes?<a href="https://blog.livecodes.io/lets-make-learning-frontend-great-again/#what-is-livecodes">​</a></h3><p><a href="https://livecodes.io/">LiveCodes</a> is a <a href="https://livecodes.io/docs/features/">feature-rich</a>, <a href="https://github.com/live-codes/livecodes">open-source</a>, <a href="https://livecodes.io/docs/why#client-side">client-side</a>, code playground that supports <a href="https://blog.livecodes.io/lets-make-learning-frontend-great-again/#language-support">80+ languages and frameworks</a>. Check out the <a href="https://blog.livecodes.io/introducing-livecodes">announcement</a> for details.</p><p>When a user selects any of the supported languages/frameworks, the compiler of that language is downloaded and runs in the browser. After that, all code changes are compiled locally on the user device.</p><p>No server rounds are required for compilation or processing. No need to download a nodejs runtime. No npm installs. No build steps. No configuration hell. It just works!</p><p>LiveCodes is a client-side app, with no servers required. This allows it to be free with no limits to usage, no ads and no account required.</p><p>Another added benefit is privacy. All projects created in LiveCodes are private by default. The code written in LiveCodes does not leave the local device unless the user chooses to <a href="https://livecodes.io/docs/features/share">share</a>, <a href="https://livecodes.io/docs/features/export">export</a> or <a href="https://livecodes.io/docs/features/deploy">deploy</a> it.</p><p>A large number of <a href="https://livecodes.io/?new">starter templates</a> are available to make starting with a new framework a seamless experience. In addition, any <a href="https://livecodes.io/docs/features/projects">project</a> can be saved as a <a href="https://livecodes.io/docs/features/templates#user-templates">user template</a>.</p><h3>Demo</h3><p>Try the interactive demo for an embedded LiveCodes playground that runs React with JSX on <a href="https://blog.livecodes.io/lets-make-learning-frontend-great-again/#demo">LiveCodes blog</a>.</p><h3>Language Support</h3><p>Currently, there are 80+ languages/frameworks supported in LiveCodes. These include:</p><ul><li>Web languages (HTML, CSS &amp; JavaScript)</li><li>Web frameworks/libraries (e.g. React JSX/TSX, Vue SFC, Svelte SFC, Solid, MDX, Astro).</li><li>Languages that transpile to JavaScript (e.g. TypeScript, CoffeeScript, LiveScript, ReScript).</li><li>Languages/frameworks that generate CSS (e.g. SCSS, Less, Stylus, Tailwind CSS, UnoCSS).</li><li>CSS processors (e.g. PostCSS, Autoprefixer, Lightning CSS, CSS Modules, cssnano).</li><li>Traditional programming languages (e.g. Python, Ruby, Go, PHP, C++, R, Lua, Scheme, Perl).</li><li>Data manipulation/logic languages (e.g. SQL, Prolog).</li><li>Authoring/templating languages (e.g Markdown, AsciiDoc, Pug, Handlebars, Haml).</li><li>Low-code/visual editors (e.g. blockly, rich text editor).</li><li>Modeling languages/diagram-as-code (e.g. Gnuplot, Graphviz, Mermaid, Vega, Plotly).</li><li>Languages that target WebAssembly (e.g. AssemblyScript, WebAssembly Text Format).</li><li>… and <a href="https://livecodes.io/docs/languages">many more</a>.</li></ul><p>Generally, if you are a developer (or want to be one), there is a big chance you will find something interesting to do with LiveCodes.</p><h3>One Interface for Many Tools</h3><p>Many tools have provided playgrounds to help exploration and learning. However, each playground has different UI and features. A big advantage for LiveCodes is that it has a wide range of language/framework support. Through this single interface users can explore and learn many tools in one place. In addition, the large set of <a href="https://livecodes.io/docs/features/">features</a> becomes available while using any of these tools.</p><h3>Development Environment</h3><p>LiveCodes provides many of the commonly used developer tools. These include Monaco editor (that powers <a href="https://code.visualstudio.com/">VS Code</a>), <a href="https://prettier.io/">Prettier</a>, <a href="https://emmet.io/">Emmet</a>, Vim/Emacs modes, <a href="https://babeljs.io/">Babel</a>, <a href="https://www.typescriptlang.org/">TypeScript</a>, <a href="https://sass-lang.com/">SCSS</a>, <a href="https://lesscss.org/">Less</a>, <a href="https://postcss.org/">PostCSS</a>, <a href="https://jestjs.io/">Jest</a> and <a href="https://testing-library.com/">Testing Library</a>, among others. All these tools run seamlessly in the browser without any installations or configurations. It feels like a very light-weight version of your own local development environment including the keyboard shortcuts, IntelliSense and code navigation features.</p><p>The integrated <a href="https://livecodes.io/docs/features/console">console</a> allows quick inspection of logged values. And the <a href="https://livecodes.io/docs/features/compiled-code">compiled code viewer</a> improves the learning experience.</p><p><a href="https://livecodes.io/docs/features/module-resolution">NPM modules</a> can be imported as usual. It just works™ without having to npm install anything. Not even on the server (because there is no server!).</p><h3>AI Code Assistant</h3><p>The <a href="https://livecodes.io/docs/features/ai">AI code assistant</a> provides code completion based on the current context and comments. This is powered by <a href="https://codeium.com/">Codeium</a>, the <strong>free</strong> ultrafast Copilot alternative. This can significantly boost the learning experience. See <a href="https://livecodes.io/docs/features/ai">how to enable it</a>.</p><h3>Sharing/Exporting/Deploying Projects</h3><p>Projects can be easily <a href="https://livecodes.io/docs/features/share">shared</a> as URLs, QR codes or to social media platforms. In addition, any project can be <a href="https://livecodes.io/docs/features/export">exported</a> as HTML, JSON or zip file containing source code files. Projects can also be exported to other services like GitHub gists, CodePen or JSFiddle.</p><p>User data can be <a href="https://livecodes.io/docs/features/sync">synchronized</a> across devices. Also it can be <a href="https://livecodes.io/docs/features/backup-restore">backed-up and restored</a> on same or different device.</p><p>Projects can be <a href="https://livecodes.io/docs/features/deploy">deployed</a> to public URLs that can be shared with others. This is hosted for free on GitHub Pages.</p><h3>Embedded Playgrounds</h3><p>Playgrounds can be <a href="https://livecodes.io/docs/features/embeds">embedded</a> in any web page. This can be very useful for blogs, tutorials and documentation websites. The <a href="https://livecodes.io/docs/features/embeds">embed screen</a> allows customization of embed options and previewing the resulting playground. Code can be easily <a href="https://livecodes.io/docs/features/code-prefill">prefilled</a> into embedded playgrounds.</p><p>An easy-to-use, yet powerful, <a href="https://livecodes.io/docs/sdk/">SDK</a>, allows <a href="https://livecodes.io/docs/sdk/js-ts#sdk-methods">communication</a> between the embedding page and the playground. This can be used to make <a href="https://../2023-08-04-lets-make-an-interactive-coding-tutorial/index.md">interactive coding tutorials</a>.</p><h3>Can I Use it to Make a Full Website?</h3><p>You probably can, but you probably should NOT!</p><p>LiveCodes <a href="https://livecodes.io/docs/features/project">projects</a> are kept simple, by design, where each project represents a single web page/component. There is no concept of multi-file projects. This makes it more suitable for learning, prototyping, experimenting, sharing and teaching. Once you cross that limit and require something bigger, you can then move back to your local IDE.</p><p>In fact, many of the features of LiveCodes were initially prototyped in LiveCodes, then later integrated into the big project.</p><h3>Does it Work Offline?</h3><p>Not Yet!</p><p>Offline use is definitely on the roadmap. However, it is not ready yet.</p><h3>Open-Source</h3><p>LiveCodes is released under the permissive <a href="https://livecodes.io/docs/license">MIT License</a> which allows anyone to use (including commercial use), modify, and distribute. It can also be <a href="https://livecodes.io/docs/features/self-hosting">self-hosted</a> (for free) on any static file server.</p><h3>Conclusion</h3><p>LiveCodes makes getting started with frontend development easier, more accessible and more fun. Of course this alone does not solve the problem of increasing complexity in the frontend web development, however, it can be a great tool for learning, prototyping, experimenting, sharing and teaching. And it is free!</p><p>What will you learn (or teach) today?</p><ul><li>Start now: <a href="https://livecodes.io/?new">https://livecodes.io?new</a></li><li>Check the docs: <a href="https://livecodes.io/docs">https://livecodes.io/docs</a></li><li>Star the repo: <a href="https://github.com/live-codes/livecodes">https://github.com/live-codes/livecodes</a></li></ul><p>This article was originally published at <a href="https://blog.livecodes.io/lets-make-learning-frontend-great-again/">LiveCodes blog</a>.</p><h3>In Plain English</h3><p><em>Thank you for being a part of our community! Before you go:</em></p><ul><li><em>Be sure to </em><strong><em>clap</em></strong><em> and </em><strong><em>follow</em></strong><em> the writer! 👏</em></li><li><em>You can find even more content at </em><a href="https://plainenglish.io/"><strong><em>PlainEnglish.io</em></strong></a><strong><em> 🚀</em></strong></li><li><em>Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. 🗞️</em></li><li><em>Follow us on </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>Twitter</em></strong></a>, <a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a>, and <a href="https://discord.gg/GtDtUAvyhW"><strong><em>Discord</em></strong></a><strong><em>.</em></strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=802835b864e" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/lets-make-learning-frontend-great-again-802835b864e">Let’s Make Learning Frontend Great Again!</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing LiveCodes ]]></title>
            <link>https://javascript.plainenglish.io/introducing-livecodes-9d1a44b434d5?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d1a44b434d5</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[playground]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 16:17:50 GMT</pubDate>
            <atom:updated>2023-08-15T16:17:50.109Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://livecodes.io/">LiveCodes</a> is here! 🎊</p><p>A Code Playground That Just Works!</p><p>I’m thrilled to announce the public release of LiveCodes, a <a href="https://livecodes.io/docs/features/">feature-rich</a>, <a href="https://github.com/live-codes/livecodes">open-source</a>, <a href="https://livecodes.io/docs/why#client-side">client-side</a>, code playground that supports <a href="https://livecodes.io/docs/why#language-support">80+ languages and frameworks</a>. With LiveCodes, learning, prototyping, experimenting, documenting, teaching, and sharing code is easier and more enjoyable than ever.</p><p><a href="https://github.com/live-codes/livecodes">GitHub - live-codes/livecodes: Code Playground That Just Works!</a></p><h3>Why another playground?</h3><p>With already existing excellent playgrounds, LiveCodes tries to be different. The major differences include:</p><h4>Language Support</h4><p>Currently, there are 80+ languages/frameworks supported. These include:</p><ul><li>Web languages (HTML, CSS &amp; JavaScript).</li><li>Web frameworks/libraries (e.g. React JSX/TSX, Vue SFC, Svelte SFC, Solid, MDX, Astro).</li><li>Languages that transpile to JavaScript (e.g. TypeScript, CoffeeScript, LiveScript, ReScript).</li><li>Languages/frameworks that generate CSS (e.g. SCSS, Less, Stylus, Tailwind CSS, UnoCSS).</li><li>CSS processors (e.g. PostCSS, Autoprefixer, Lightning CSS, CSS Modules, cssnano).</li><li>Traditional programming languages (e.g. Python, Ruby, Go, PHP, C++, R, Lua, Scheme, Perl).</li><li>Data manipulation/logic languages (e.g. SQL, Prolog).</li><li>Authoring/templating languages (e.g Markdown, AsciiDoc, Pug, Handlebars, Haml).</li><li>Low-code/visual editors (e.g. blockly, rich text editor).</li><li>Modeling languages/diagram-as-code (e.g. Gnuplot, Graphviz, Mermaid, Vega, Plotly).</li><li>Languages that target WebAssembly (e.g. AssemblyScript, WebAssembly Text Format).</li><li>… and <a href="https://livecodes.io/docs/languages">many more</a>.</li></ul><p>Generally, if you are a developer (or want to be one), there is a big chance you will find something interesting to do with LiveCodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*yjDxEpC2QTUvujiA.png" /></figure><h4>Client-Side!</h4><p>All processing and code transformations run in the browser on the client-side. After the initial load, the app gets significantly faster without having to wait for server rounds. Lazy-loading is heavily used. Only parts of the app required for the selected languages/features are downloaded.</p><p>The code you write in LiveCodes does not leave your computer. All projects are private unless you choose to <a href="https://livecodes.io/docs/features/share">share</a>/<a href="https://livecodes.io/docs/features/export">export</a>/<a href="https://livecodes.io/docs/features/deploy">deploy</a> them.</p><h4>Developer Tool</h4><p>An important goal for LiveCodes is to allow library developers to use it for the documentation of their libraries and showcase their products. This can be achieved by <a href="https://livecodes.io/docs/features/embeds">embedding playgrounds</a> in blogs, documentation and educational websites. In addition, private (unpublished) modules <a href="https://livecodes.io/docs/features/module-resolution#custom-module-resolution">can be imported</a> with editor auto-completion and <a href="https://livecodes.io/docs/features/intellisense#custom-types">IntelliSense</a>.</p><p>LiveCodes does NOT aim to be a social coding platform. It will stay as a backendless developer tool. Other platforms are already doing a great job in this regard.</p><h4>Build-Free Development Environment</h4><p>LiveCodes provides many of the tools you may already be using. These include Monaco editor (that powers <a href="https://code.visualstudio.com/">VS Code</a>), <a href="https://prettier.io/">Prettier</a>, <a href="https://emmet.io/">Emmet</a>, <a href="https://babeljs.io/">Babel</a>, <a href="https://www.typescriptlang.org/">TypeScript</a>, <a href="https://sass-lang.com/">SCSS</a>, <a href="https://lesscss.org/">Less</a>, <a href="https://postcss.org/">PostCSS</a>, <a href="https://jestjs.io/">Jest</a> and <a href="https://testing-library.com/">Testing Library</a>, among others. <a href="https://livecodes.io/docs/features/module-resolution">NPM modules</a> can be imported as usual. All these tools run seamlessly in the browser without any explicit build step. It feels like a very light-weight version of your own local development environment with the keyboard shortcuts, IntelliSense and code navigation features.</p><p>It just works™ without having to npm install anything. Not even on the server (because there is no server!).</p><blockquote><strong><em>Fun Fact</em></strong></blockquote><blockquote><em>Significant portions of LiveCodes features were experimented/prototyped inside LiveCodes!</em></blockquote><h4>Web Platform</h4><p>The output of code written in LiveCodes is a <a href="https://livecodes.io/docs/features/result">web page</a>. Whatever language/syntax you use, the result can ultimately be viewed as a web page which you can interact with, <a href="https://livecodes.io/docs/features/tests">test</a>, <a href="https://livecodes.io/docs/features/share">share</a> or <a href="https://livecodes.io/docs/features/deploy">deploy</a>. Check the <a href="https://livecodes.io/?screen=new">starter templates</a> for examples.</p><h4>Powerful SDK</h4><p>The LiveCodes playground can be <a href="https://livecodes.io/docs/features/embeds">embedded</a> in any web page. A powerful <a href="https://livecodes.io/docs/sdk/">SDK</a> allows the embedding page to interact with the playground (e.g. run, get/set source code, format, get result page or compiled code, get share URL, listen to changes, run tests, get test results, change layout, etc.). This enables other apps to be built on top of LiveCodes.</p><p>Check how you can <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial">build an interactive coding tutorial with LiveCodes SDK</a>!</p><p>Your imagination is the limit!</p><h4>Free and Open-Source</h4><p>LiveCodes is free, with no limits for use, no ads and no account required.<br>Do you want to <a href="https://livecodes.io/docs/features/self-hosting">self-host</a> it for commercial use? No problem! It is <a href="https://livecodes.io/docs/license">MIT-licensed</a> 🎉</p><h3>Show me a demo</h3><p>Try the embedded interactive playground in <a href="https://blog.livecodes.io/introducing-livecodes#show-me-a-demo">LiveCodes blog</a>.</p><p>Or, go to <a href="https://livecodes.io/">livecodes.io</a> to try the full standalone playground.</p><h3>What are the main features?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*zI75Sv-UT2Z64pCh.png" /></figure><h4>Powerful Editor</h4><p>The default code editor is the powerful editor that powers <a href="https://code.visualstudio.com/">VS Code</a>, featuring code-completion, go-to-definition, multi-cursor support and other powerful features you got used to. The editor is very <a href="https://livecodes.io/docs/features/editor-settings">customizable</a>. It supports keyboard shortcuts, <a href="https://livecodes.io/docs/features/code-format">code formatting</a>, <a href="https://livecodes.io/docs/features/editor-settings#emmet">Emmet abbreviations</a> and even <a href="https://livecodes.io/docs/features/editor-settings#editor-modes">Vim and Emacs bindings</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Nj--dGf4vhGvCUKE.png" /></figure><h4>Mobile-friendly</h4><p>The responsive layout allows working on devices with different screen sizes. On mobile, a lighter-weight touch-friendly code editor (CodeMirror 6) is used, so that you can experiment your ideas on the go.</p><h4>External Code/Libraries</h4><p><a href="https://livecodes.io/docs/features/external-resources">External scripts/stylesheets</a> can be added to the web page. There is a UI screen that helps you search for and add NPM libraries and google fonts. Moreover, <a href="https://livecodes.io/docs/features/module-resolution">NPM modules can be imported</a> without the need for any npm installs.</p><h4>Import and Code Pre-fill</h4><p>Code can be <a href="https://livecodes.io/docs/features/import">imported</a> from a variety of sources including GitHub gist, GitHub file, directory in a GitHub repo, Gitlab snippet, Gitlab file, directory in a Gitlab repo, JS Bin, raw code, code in web page DOM and code in zip file. You can also <a href="https://livecodes.io/docs/features/code-prefill">pre-fill code</a> using various ways.</p><h4>Share/Export</h4><p>Projects can be easily <a href="https://livecodes.io/docs/features/share">shared</a> as URLs or QR codes. In addition, you may <a href="https://livecodes.io/docs/features/export">export</a> any project as HTML, JSON or zip file containing source code files. You may also export to other services like GitHub gists, CodePen or JSFiddle.</p><h4>Embedded Playgrounds</h4><p>Projects can be <a href="https://livecodes.io/docs/features/embeds">embedded</a> in any web page. The embed screen allows you to customize the embed options and preview the resulting playground. An easy-to-use, yet powerful, <a href="https://livecodes.io/docs/sdk/">SDK</a>, allows <a href="https://livecodes.io/docs/sdk/js-ts#sdk-methods">communication</a> between the embedding page and the playground. In addition, code can be easily <a href="https://livecodes.io/docs/features/code-prefill">prefilled</a>.</p><p>This is particularly useful for educational websites and for library documentations. It is secure and highly <a href="https://livecodes.io/docs/configuration/">configurable</a>. Custom modules can be <a href="https://livecodes.io/docs/features/module-resolution#custom-module-resolution">imported</a> with full <a href="https://livecodes.io/docs/features/intellisense">IntelliSense</a>!</p><h4>Lite mode</h4><p>In <a href="https://livecodes.io/docs/features/lite">lite mode</a>, a light-weight, minimal code editor is used. This is specifically useful if you expect your users to make very little code edits, specially if you want to embed multiple playgrounds in the same webpage.</p><p><a href="https://livecodes.io/docs/features/intellisense/code-format">Code formatting</a>, <a href="https://livecodes.io/docs/features/intellisense/emmet">Emmet abbreviations</a> and <a href="https://livecodes.io/docs/features/intellisense/tools-pane">dev tools</a> are not available in lite mode. However, any language supported by LiveCodes can be used, with syntax highlighting. Code edits are compiled and shown in the <a href="https://livecodes.io/docs/features/intellisense/result">result page</a> as usual.</p><h4>Deploy</h4><p>Projects can be <a href="https://livecodes.io/docs/features/deploy">deployed</a> to public URLs that can be shared with others. This is hosted for free on GitHub Pages.</p><h4>Starter Templates</h4><p>A large number of <a href="https://livecodes.io/docs/features/templates">starter templates</a> are available. They can be used to get you started with most of the supported technologies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*eFLj1tCC2_WUdf1-.png" /></figure><h4>Assets</h4><p>Your own local assets (e.g. images, icons, fonts, local scripts and stylesheets) can be added to the app and then used in any project. The assets are made available even when the projects are shared, exported or deployed.</p><h4>Dev Tools</h4><p><a href="https://livecodes.io/docs/features/tools-pane">Tools</a> like <a href="https://livecodes.io/docs/features/console">console</a>, <a href="https://livecodes.io/docs/features/compiled-code">compiled code viewer</a> and <a href="https://livecodes.io/docs/features/tests">test runner</a> can significantly improve your development experience.</p><h4>Broadcast</h4><p>You can <a href="https://livecodes.io/docs/features/broadcast">broadcast</a> source code or <a href="https://livecodes.io/docs/features/result">result page</a> in real-time to others. This can be of great value as an educational tool and for demo purposes.</p><h4>Sync/Backup/Restore</h4><p>Do you work on multiple devices? No Problem! You may <a href="https://livecodes.io/docs/features/sync">sync</a> or <a href="https://livecodes.io/docs/features/backup-restore">backup and restore</a> your data any time on any device.</p><h4>Developer-friendly</h4><p>LiveCodes makes it easy to <a href="https://livecodes.io/docs/getting-started">get started</a>. It is highly <a href="https://livecodes.io/docs/configuration/">configurable</a>. Lots of features can be configured by URL <a href="https://livecodes.io/docs/configuration/query-params">query params</a>. The <a href="https://livecodes.io/docs/sdk/">SDK</a> facilitates <a href="https://livecodes.io/docs/features/embeds">embedding</a> playgrounds and allows easy <a href="https://livecodes.io/docs/sdk/js-ts#sdk-methods">communication</a> with them. The SDK is available for use in <a href="https://livecodes.io/docs/sdk/js-ts">Vanilla JS/TS</a>, <a href="https://livecodes.io/docs/sdk/react">React</a>, <a href="https://livecodes.io/docs/sdk/vue">Vue</a> and <a href="https://livecodes.io/docs/sdk/svelte">Svelte</a>.</p><h4>Focused on Privacy</h4><p>Projects are private by default. The code you write in LiveCodes never leaves your computer, unless you choose to <a href="https://livecodes.io/docs/features/share">share</a>, <a href="https://livecodes.io/docs/features/export">export</a>, <a href="https://livecodes.io/docs/features/broadcast">broadcast</a> or <a href="https://livecodes.io/docs/features/sync">sync</a> it. User data is stored in the browser.</p><h4>Documentation</h4><p>Comprehensive documentations are available for <a href="https://livecodes.io/docs/features/">features</a>, <a href="https://livecodes.io/docs/configuration/">configuration</a>, <a href="https://livecodes.io/docs/languages/">supported languages</a> and <a href="https://livecodes.io/docs/sdk/">SDK</a> (including <a href="https://livecodes.io/docs/api/modules">TypeScript Types</a>). Documentations are rich with code samples, live demos and screenshots. A gallery of usage examples is provided as a <a href="https://livecodes.io/stories">storybook</a>. You can even just ask our <a href="https://livecodes.io/docs">AI chatbot</a>.</p><h4>More Features</h4><p>Go to the <a href="https://livecodes.io/docs/features/">features</a> documentation to know about more features with detailed description.</p><h3>How do I get started?</h3><p>Check the <a href="https://livecodes.io/docs/getting-started">getting started guide</a>. However, in a nutshell:</p><p>To use the standalone App:</p><ul><li>Just go to <a href="https://livecodes.io/">livecodes.io</a> and enjoy all the <a href="https://livecodes.io/docs/features">features</a>!</li></ul><p>To embed a playground in your web page:</p><ul><li>Add this code to your web page:</li></ul><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &#39;https://unpkg.com/livecodes&#39;;<br>  createPlayground(&#39;#container&#39;, {<br>    params: {<br>      markdown: &#39;# Hello LiveCodes!&#39;,<br>      css: &#39;h1 {color: dodgerblue;}&#39;,<br>      js: &#39;console.log(&quot;Hello, from JS!&quot;);&#39;,<br>      console: &#39;open&#39;,<br>    },<br>  });<br>&lt;/script&gt;</pre><p>Please check the documentation about <a href="https://livecodes.io/docs/features/embeds">embedded playgrounds</a> and <a href="https://livecodes.io/docs/sdk/">SDK</a> for more details.</p><h3>Can I self-host it?</h3><p>Sure!</p><ul><li>Download a <a href="https://github.com/live-codes/livecodes/releases">release</a>.</li><li>Put it on a static file server.</li></ul><p>… and it just works!</p><p>Please check the documentation about <a href="https://livecodes.io/docs/features/self-hosting">self-hosting</a> for more details.</p><h3>What about commercial use?</h3><p>Feel free to use it for commercial purposes. It is <a href="https://livecodes.io/docs/license">MIT-licensed</a> 🎉</p><p>If you find it useful, please consider <a href="https://livecodes.io/docs/sponsor">supporting the project</a> 💚.</p><h3>Can I use LiveCodes today?</h3><p>Yes!</p><p>However, please note that LiveCodes is currently in <strong>public beta</strong>. It is in active development.</p><p>Having said that, the public-facing API has been stable for a while. <a href="https://livecodes.io/docs/features/permanent-url">Permanent URLs</a> are available for the app and SDK to avoid later breaking changes in your embedded playgrounds.</p><h3>Can I contribute?</h3><p>Of course! You are very welcome. Please <a href="https://livecodes.io/docs/contribution">start here</a>.</p><h3>Let’s start coding!</h3><p>Visit <a href="https://livecodes.io/">livecodes.io</a> to experience LiveCodes for yourself!</p><p>Please <a href="https://github.com/live-codes/livecodes">star the repo</a>, <a href="https://livecodes.io/docs/contact">let us know</a> what you think and <a href="https://github.com/live-codes/livecodes/issues">report any bugs</a> you find.</p><p>If you do use LiveCodes in a project, we’d <a href="https://livecodes.io/docs/contact">love to hear</a> about it (we may add a link to it!).</p><p>What will you learn/build/teach with LiveCodes today?</p><h3>Where can I learn more?</h3><ul><li><a href="https://livecodes.io/">LiveCodes</a></li><li><a href="https://livecodes.io/docs">Docs</a></li><li><a href="https://blog.livecodes.io/">Blog</a></li><li><a href="https://github.com/live-codes/livecodes">GitHub</a></li><li><a href="https://twitter.com/livecodes_io">Twitter</a></li><li><a href="https://dev.to/livecodes_io">Dev</a></li><li><a href="https://livecodes.io/docs/contact">Contact</a></li></ul><p><a href="https://github.com/live-codes/livecodes">GitHub - live-codes/livecodes: Code Playground That Just Works!</a></p><p>This article was originally published at <a href="https://blog.livecodes.io/introducing-livecodes">LiveCodes blog</a>.</p><h3>In Plain English</h3><p><em>Thank you for being a part of our community! Before you go:</em></p><ul><li><em>Be sure to </em><strong><em>clap</em></strong><em> and </em><strong><em>follow</em></strong><em> the writer! 👏</em></li><li><em>You can find even more content at </em><a href="https://plainenglish.io/"><strong><em>PlainEnglish.io</em></strong></a><strong><em> 🚀</em></strong></li><li><em>Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. 🗞️</em></li><li><em>Follow us on </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>Twitter</em></strong></a>, <a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a>, and <a href="https://discord.gg/GtDtUAvyhW"><strong><em>Discord</em></strong></a><strong><em>.</em></strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d1a44b434d5" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/introducing-livecodes-9d1a44b434d5">Introducing LiveCodes 🎉</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Make an Interactive Coding Tutorial]]></title>
            <link>https://javascript.plainenglish.io/lets-make-an-interactive-coding-tutorial-11402c68f95e?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/11402c68f95e</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[interactive]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[sdk]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 04:17:53 GMT</pubDate>
            <atom:updated>2023-08-15T04:17:53.870Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s assume we want to make an interactive coding tutorial (for HTML, CSS and JavaScript) on a blog or a tutorials website. The tutorial should have a playground that helps us guide the students to write code, see the results and complete an assignment task.</p><p>We are going to use <a href="https://livecodes.io/docs">LiveCodes</a> and its powerful <a href="https://livecodes.io/docs/sdk">SDK</a> to achieve this. So, here we go.</p><h3>What Are We Building?<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#what-are-we-building">​</a></h3><p>We are going to build a playground for a simple interactive coding tutorial.</p><p>We will add some HTML, add styles using CSS and dynamically change its content using JavaScript. The student can interact with the playground, add code and see its result. At the end, the student is asked to complete a simple task (e.g. changing the value of a variable), then the task is verified and a feedback is given if the task was completed successfully.</p><figure><img alt="Final result for tutorial demo" src="https://cdn-images-1.medium.com/max/1024/1*YLbzfRGj67TwJPwWJ15qmw.png" /><figcaption><em>A screenshot for the final result of the tutorial demo</em></figcaption></figure><h3>Demo</h3><p>Check a live demo on <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#demo">LiveCodes blog</a>.</p><p>The full source code (in vanilla JavaScript and also in React TSX) can be found <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial/#full-code">here</a>.</p><h3>What is LiveCodes?<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#what-is-livecodes">​</a></h3><p>LiveCodes is a <a href="https://livecodes.io/docs/features/">feature-rich</a>, <a href="https://github.com/live-codes/livecodes">open-source</a>, <a href="https://livecodes.io/docs/why#client-side">client-side</a>, code playground that supports <a href="https://livecodes.io/docs/languages/">80+ languages and frameworks</a>. Playgrounds can be <a href="https://livecodes.io/docs/features/embeds">embedded</a> in any web pages. A powerful, yet easy-to-use, <a href="https://livecodes.io/docs/sdk">SDK</a> allows creating and communicating with playgrounds.</p><p>LiveCodes is free with no limits to usage, no ads and no account required. It is <a href="https://livecodes.io/docs/license">MIT-licensed</a> which allows its use, distribution and modification even for commercial projects.</p><p>Read more in the <a href="https://blog.livecodes.io/introducing-livecodes">announcement</a>.</p><p>Enough talk, let’s get started!</p><h3>The Playground<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#the-playground">​</a></h3><p>The LiveCodes <a href="https://livecodes.io/docs/sdk">SDK</a> makes it easy to create code playgrounds. The SDK can be <a href="https://livecodes.io/docs/sdk/#cdn">loaded from CDN</a> or can be <a href="https://livecodes.io/docs/sdk/#npm-package">installed from npm</a>. To keep things simple, we will just use the CDN.</p><p>The SDK is available for <a href="https://livecodes.io/docs/sdk/js-ts">vanilla JavaScript/TypeScript</a>, <a href="https://livecodes.io/docs/sdk/react">React</a>, <a href="https://livecodes.io/docs/sdk/vue">Vue</a> and <a href="https://livecodes.io/docs/sdk/svelte">Svelte</a>. Again, for simplicity, we will use vanilla JavaScript.</p><p>You can find the full source code (also in React) <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#full-code">here</a>.</p><p>A new playground can be created using the <a href="https://livecodes.io/docs/sdk/js-ts#createplayground">createPlayground</a> function. It takes the container HTML element (or its selector) and optionally <a href="https://livecodes.io/docs/sdk/js-ts#embed-options">embed options</a>.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &#39;https://unpkg.com/livecodes&#39;;<br>  createPlayground(&#39;#container&#39;, { /* embed options */ });<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%27https%3A%2F%2Funpkg.com%2Flivecodes%27%3B%0A%0A++createPlayground%28%27%23container%27%2C+%7B+%2F*+embed+options+*%2F+%7D%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><p>This creates a playground that the user can interact with and see the result immediately, without having to install or build anything (not even for any of the <a href="https://livecodes.io/docs/languages/">supported languages</a>).</p><p>It is generally a good practice to specify the SDK version and a <a href="https://livecodes.io/docs/features/permanent-url">permanent URL</a> for the app to avoid later potential breaking changes with updates to the SDK or the app.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &#39;https://unpkg.com/livecodes@0.1.2&#39;;<br>  const options = {<br>    appUrl: &#39;https://v10.livecodes.io&#39;,<br>  };<br>  createPlayground(&#39;#container&#39;, options);<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++%2F%2F+highlight-next-line%0A++import+%7B+createPlayground+%7D+from+%27https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%27%3B%0A%0A++const+options+%3D+%7B%0A++++%2F%2F+highlight-next-line%0A++++appUrl%3A+%27https%3A%2F%2Fv10.livecodes.io%27%2C%0A++%7D%3B%0A++createPlayground%28%27%23container%27%2C+options%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><p>We now have an empty playground. Let’s fill it with code.</p><h3>Adding Content<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#adding-content">​</a></h3><p>When creating the playground, embed options can be used to add content (e.g. using the options <a href="https://livecodes.io/docs/sdk/js-ts#config">config</a>, <a href="https://livecodes.io/docs/sdk/js-ts#params">params</a>, <a href="https://livecodes.io/docs/sdk/js-ts#import">import</a> or <a href="https://livecodes.io/docs/sdk/js-ts#template">template</a>).</p><p>This loads the playground prefilled with the code you specified.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &#39;https://unpkg.com/livecodes@0.1.2&#39;;<br>  const options = {<br>    appUrl: &#39;https://v10.livecodes.io&#39;,<br>    config: {<br>      markup: {<br>        language: &#39;html&#39;,<br>        content: &#39;Welcome to the tutorial!&#39;,<br>      },<br>    },<br>  };<br>  createPlayground(&#39;#container&#39;, options);<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%27https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%27%3B%0A%0A++const+options+%3D+%7B%0A++++appUrl%3A+%27https%3A%2F%2Fv10.livecodes.io%27%2C%0A++++%2F%2F+highlight-start%0A++++config%3A+%7B%0A++++++markup%3A+%7B%0A++++++++language%3A+%27html%27%2C%0A++++++++content%3A+%27Welcome+to+the+tutorial%21%27%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%2F%2F+highlight-end%0A++%7D%3B%0A++createPlayground%28%27%23container%27%2C+options%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><h3>Adding Tutorial Steps<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#adding-tutorial-steps">​</a></h3><p>Now the student can see the playground, interact with it and see the result. So let’s add some tutorial steps, where new code is added to the playground in different editors (HTML, CSS and JavaScript). This can gradually introduce new concepts to the student without losing context or having to move to a new playground.</p><p>The <a href="https://livecodes.io/docs/sdk/js-ts#createplayground">createPlayground</a> function returns a promise that resolves to the playground instance. This instance has some useful <a href="https://livecodes.io/docs/sdk/js-ts/#sdk-methods">methods</a> that allows interaction with the already running playground (e.g. <a href="https://livecodes.io/docs/sdk/js-ts#run">run</a>, <a href="https://livecodes.io/docs/sdk/js-ts#getconfig">getConfig</a>, <a href="https://livecodes.io/docs/sdk/js-ts#setconfig">setConfig</a>, <a href="https://livecodes.io/docs/sdk/js-ts#getcode">getCode</a>, <a href="https://livecodes.io/docs/sdk/js-ts#format">format</a>, <a href="https://livecodes.io/docs/sdk/js-ts#show">show</a>, <a href="https://livecodes.io/docs/sdk/js-ts#runtests">runTests</a>, <a href="https://livecodes.io/docs/sdk/js-ts#onchange">onChange</a>, <a href="https://livecodes.io/docs/sdk/js-ts#getshareurl">getShareUrl</a>).</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br>&lt;button id=&quot;next&quot;&gt;Next&lt;/button&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &quot;https://unpkg.com/livecodes@0.1.2&quot;;<br>  const steps = [<br>    {<br>      config: {<br>        markup: {<br>          language: &quot;html&quot;,<br>          content: &#39;&lt;h1&gt;Hello,\n  &lt;span id=&quot;title&quot;&gt;World&lt;/span&gt;!\n&lt;/h1&gt;&#39;,<br>        },<br>      },<br>    },<br>  ];<br>  const options = {<br>    appUrl: &quot;https://v10.livecodes.io&quot;,<br>    config: {<br>      markup: {<br>        language: &quot;html&quot;,<br>        content: &quot;Welcome to the tutorial!&quot;,<br>      },<br>    },<br>  };<br>  createPlayground(&quot;#container&quot;, options).then((playground) =&gt; {<br>    const nextBtn = document.querySelector(&quot;#next&quot;);<br>    nextBtn.addEventListener(&quot;click&quot;, async () =&gt; {<br>      const currentStep = steps[0];<br>      await playground.setConfig(currentStep.config);<br>    });<br>  });<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%3C%21--+highlight-next-line+--%3E%0A%3Cbutton+id%3D%22next%22%3ENext%3C%2Fbutton%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%22https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%22%3B%0A%0A++%2F%2F+highlight-start%0A++const+steps+%3D+%5B%0A++++%7B%0A++++++config%3A+%7B%0A++++++++markup%3A+%7B%0A++++++++++language%3A+%22html%22%2C%0A++++++++++content%3A+%27%3Ch1%3EHello%2C%5Cn++%3Cspan+id%3D%22title%22%3EWorld%3C%2Fspan%3E%21%5Cn%3C%2Fh1%3E%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++%5D%3B%0A++%2F%2F+highlight-end%0A%0A++const+options+%3D+%7B%0A++++appUrl%3A+%22https%3A%2F%2Fv10.livecodes.io%22%2C%0A++++config%3A+%7B%0A++++++markup%3A+%7B%0A++++++++language%3A+%22html%22%2C%0A++++++++content%3A+%22Welcome+to+the+tutorial%21%22%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++%7D%3B%0A%0A++%2F%2F+highlight-start%0A++createPlayground%28%22%23container%22%2C+options%29.then%28%28playground%29+%3D%3E+%7B%0A++++const+nextBtn+%3D+document.querySelector%28%22%23next%22%29%3B%0A++++nextBtn.addEventListener%28%22click%22%2C+async+%28%29+%3D%3E+%7B%0A++++++const+currentStep+%3D+steps%5B0%5D%3B%0A++++++await+playground.setConfig%28currentStep.config%29%3B%0A++++%7D%29%3B%0A++%7D%29%3B%0A++%2F%2F+highlight-end%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><p>Now we have defined an array (steps) that will hold the data of each step in the tutorial. The first step has a <a href="https://livecodes.io/docs/configuration/configuration-object">config object</a> that is to be sent to the playground.</p><p>A button with the id &quot;next&quot; controls moving between steps. An event handler for its click event sends the current step config to the playground using the method <a href="https://livecodes.io/docs/sdk/js-ts#setconfig">setConfig</a>.</p><h3>More Steps<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#more-steps">​</a></h3><p>So, let’s add some more steps. Clicking the button should move us to the next step.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br>&lt;button id=&quot;next&quot;&gt;Next&lt;/button&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &quot;https://unpkg.com/livecodes@0.1.2&quot;;<br>  const steps = [<br>    {<br>      config: {<br>        markup: {<br>          language: &quot;html&quot;,<br>          content: &#39;&lt;h1&gt;Hello,\n  &lt;span id=&quot;title&quot;&gt;World&lt;/span&gt;!\n&lt;/h1&gt;&#39;,<br>        },<br>      },<br>    },<br>    {<br>      config: {<br>        markup: {<br>          language: &quot;html&quot;,<br>          content: &#39;&lt;h1&gt;Hello,\n  &lt;span id=&quot;title&quot;&gt;World&lt;/span&gt;!\n&lt;/h1&gt;&#39;,<br>        },<br>        style: {<br>          language: &#39;css&#39;,<br>          content: &#39;#title {\n  color: blue;\n}&#39;,<br>        },<br>      },<br>    },    <br>  ];<br>  const options = {<br>    appUrl: &quot;https://v10.livecodes.io&quot;,<br>    config: {<br>      markup: {<br>        language: &quot;html&quot;,<br>        content: &quot;Welcome to the tutorial!&quot;,<br>      },<br>    },<br>  };<br>  createPlayground(&quot;#container&quot;, options).then((playground) =&gt; {<br>    let step = 0;<br>    const nextBtn = document.querySelector(&quot;#next&quot;);<br>    nextBtn.addEventListener(&quot;click&quot;, async () =&gt; {<br>      const lastStep = steps.length - 1;<br>      const currentStep = steps[step];<br>      await playground.setConfig(currentStep.config);<br>      step = step &lt; lastStep ? step + 1 : 0;<br>    });<br>  });<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%3Cbutton+id%3D%22next%22%3ENext%3C%2Fbutton%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%22https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%22%3B%0A%0A++const+steps+%3D+%5B%0A++++%7B%0A++++++config%3A+%7B%0A++++++++markup%3A+%7B%0A++++++++++language%3A+%22html%22%2C%0A++++++++++content%3A+%27%3Ch1%3EHello%2C%5Cn++%3Cspan+id%3D%22title%22%3EWorld%3C%2Fspan%3E%21%5Cn%3C%2Fh1%3E%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%2F%2F+highlight-start%0A++++%7B%0A++++++config%3A+%7B%0A++++++++markup%3A+%7B%0A++++++++++language%3A+%22html%22%2C%0A++++++++++content%3A+%27%3Ch1%3EHello%2C%5Cn++%3Cspan+id%3D%22title%22%3EWorld%3C%2Fspan%3E%21%5Cn%3C%2Fh1%3E%27%2C%0A++++++++%7D%2C%0A++++++++style%3A+%7B%0A++++++++++language%3A+%27css%27%2C%0A++++++++++content%3A+%27%23title+%7B%5Cn++color%3A+blue%3B%5Cn%7D%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C++++%0A++++%2F%2F+highlight-end%0A++%5D%3B%0A%0A++const+options+%3D+%7B%0A++++appUrl%3A+%22https%3A%2F%2Fv10.livecodes.io%22%2C%0A++++config%3A+%7B%0A++++++markup%3A+%7B%0A++++++++language%3A+%22html%22%2C%0A++++++++content%3A+%22Welcome+to+the+tutorial%21%22%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++%7D%3B%0A%0A++createPlayground%28%22%23container%22%2C+options%29.then%28%28playground%29+%3D%3E+%7B%0A++++%2F%2F+highlight-next-line%0A++++let+step+%3D+0%3B%0A++++const+nextBtn+%3D+document.querySelector%28%22%23next%22%29%3B%0A++++nextBtn.addEventListener%28%22click%22%2C+async+%28%29+%3D%3E+%7B%0A++++++%2F%2F+highlight-start%0A++++++const+lastStep+%3D+steps.length+-+1%3B%0A++++++const+currentStep+%3D+steps%5Bstep%5D%3B%0A++++++await+playground.setConfig%28currentStep.config%29%3B%0A++++++step+%3D+step+%3C+lastStep+%3F+step+%2B+1+%3A+0%3B%0A++++++%2F%2F+highlight-end%0A++++%7D%29%3B%0A++%7D%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><p>The variable step keeps track of the step index. The corresponding data is read from the steps array and sent to the playground.</p><p>However, there is now a lot of duplication in the code of each step. Also, if the student makes some changes to the HTML, the next step will overwrite them.</p><p>So, let’s read the current config object from the playground (using the method <a href="https://livecodes.io/docs/sdk/js-ts#getconfig">getConfig</a>) and then merge the changes for the new step. Now, we can remove the duplication in steps.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br>&lt;button id=&quot;next&quot;&gt;Next&lt;/button&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &quot;https://unpkg.com/livecodes@0.1.2&quot;;<br>  const steps = [<br>    {<br>      config: {<br>        markup: {<br>          language: &quot;html&quot;,<br>          content: &#39;&lt;h1&gt;Hello,\n  &lt;span id=&quot;title&quot;&gt;World&lt;/span&gt;!\n&lt;/h1&gt;&#39;,<br>        },<br>      },<br>    },<br>    {<br>      config: {<br>        style: {<br>          language: &#39;css&#39;,<br>          content: &#39;#title {\n  color: blue;\n}&#39;,<br>        },<br>      },<br>    },    <br>  ];<br>  const options = {<br>    appUrl: &quot;https://v10.livecodes.io&quot;,<br>    config: {<br>      markup: {<br>        language: &quot;html&quot;,<br>        content: &quot;Welcome to the tutorial!&quot;,<br>      },<br>    },<br>  };<br>  createPlayground(&quot;#container&quot;, options).then((playground) =&gt; {<br>    let step = 0;<br>    const nextBtn = document.querySelector(&quot;#next&quot;);<br>    nextBtn.addEventListener(&quot;click&quot;, async () =&gt; {<br>      const lastStep = steps.length - 1;<br>      const currentStep = steps[step];<br>      const prevConfig = step === 0 ? options.config : await playground.getConfig();<br>      await playground.setConfig({ ...prevConfig, ...currentStep.config });<br>      step = step &lt; lastStep ? step + 1 : 0;<br>    });<br>  });<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%3Cbutton+id%3D%22next%22%3ENext%3C%2Fbutton%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%22https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%22%3B%0A%0A++const+steps+%3D+%5B%0A++++%7B%0A++++++config%3A+%7B%0A++++++++markup%3A+%7B%0A++++++++++language%3A+%22html%22%2C%0A++++++++++content%3A+%27%3Ch1%3EHello%2C%5Cn++%3Cspan+id%3D%22title%22%3EWorld%3C%2Fspan%3E%21%5Cn%3C%2Fh1%3E%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%7B%0A++++++%2F%2F+highlight-start%0A++++++config%3A+%7B%0A++++++++style%3A+%7B%0A++++++++++language%3A+%27css%27%2C%0A++++++++++content%3A+%27%23title+%7B%5Cn++color%3A+blue%3B%5Cn%7D%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++++%2F%2F+highlight-end%0A++++%7D%2C++++%0A++%5D%3B%0A%0A++const+options+%3D+%7B%0A++++appUrl%3A+%22https%3A%2F%2Fv10.livecodes.io%22%2C%0A++++config%3A+%7B%0A++++++markup%3A+%7B%0A++++++++language%3A+%22html%22%2C%0A++++++++content%3A+%22Welcome+to+the+tutorial%21%22%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++%7D%3B%0A%0A++createPlayground%28%22%23container%22%2C+options%29.then%28%28playground%29+%3D%3E+%7B%0A++++let+step+%3D+0%3B%0A++++const+nextBtn+%3D+document.querySelector%28%22%23next%22%29%3B%0A++++nextBtn.addEventListener%28%22click%22%2C+async+%28%29+%3D%3E+%7B%0A++++++const+lastStep+%3D+steps.length+-+1%3B%0A++++++const+currentStep+%3D+steps%5Bstep%5D%3B%0A++++++%2F%2F+highlight-start%0A++++++const+prevConfig+%3D+step+%3D%3D%3D+0+%3F+options.config+%3A+await+playground.getConfig%28%29%3B%0A++++++await+playground.setConfig%28%7B+...prevConfig%2C+...currentStep.config+%7D%29%3B%0A++++++%2F%2F+highlight-end%0A++++++step+%3D+step+%3C+lastStep+%3F+step+%2B+1+%3A+0%3B%0A++++%7D%29%3B%0A++%7D%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><h3>Changing Layout<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#changing-layout">​</a></h3><p>We still have a problem!</p><p>Although we were able to add CSS code, the style editor was not activated. We can correct this by using the <a href="https://livecodes.io/docs/sdk/js-ts#show">show</a> method.</p><p>We can even control the position of the cursor, so that your student is guided where to start typing.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br>&lt;button id=&quot;next&quot;&gt;Next&lt;/button&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &quot;https://unpkg.com/livecodes@0.1.2&quot;;<br>  const steps = [<br>    {<br>      panel: &#39;markup&#39;,<br>      position: { line: 2, column: 20 },<br>      config: {<br>        markup: {<br>          language: &quot;html&quot;,<br>          content: &#39;&lt;h1&gt;Hello,\n  &lt;span id=&quot;title&quot;&gt;World&lt;/span&gt;!\n&lt;/h1&gt;&#39;,<br>        },<br>      },<br>    },<br>    {<br>      panel: &#39;style&#39;,<br>      position: { line: 2, column: 10 },<br>      config: {<br>        style: {<br>          language: &#39;css&#39;,<br>          content: &#39;#title {\n  color: blue;\n}&#39;,<br>        },<br>      },<br>    },    <br>  ];<br>  const options = {<br>    appUrl: &quot;https://v10.livecodes.io&quot;,<br>    config: {<br>      markup: {<br>        language: &quot;html&quot;,<br>        content: &quot;Welcome to the tutorial!&quot;,<br>      },<br>    },<br>  };<br>  createPlayground(&quot;#container&quot;, options).then((playground) =&gt; {<br>    let step = 0;<br>    const nextBtn = document.querySelector(&quot;#next&quot;);<br>    nextBtn.addEventListener(&quot;click&quot;, async () =&gt; {<br>      const lastStep = steps.length - 1;<br>      const currentStep = steps[step];<br>      const prevConfig = step === 0 ? options.config : await playground.getConfig();<br>      await playground.setConfig({ ...prevConfig, ...currentStep.config });<br>      await playground.show(currentStep.panel, currentStep.position);<br>      step = step &lt; lastStep ? step + 1 : 0;<br>    });<br>  });<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%3Cbutton+id%3D%22next%22%3ENext%3C%2Fbutton%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%22https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%22%3B%0A%0A++const+steps+%3D+%5B%0A++++%7B%0A++++++%2F%2F+highlight-start%0A++++++panel%3A+%27markup%27%2C%0A++++++position%3A+%7B+line%3A+2%2C+column%3A+20+%7D%2C%0A++++++%2F%2F+highlight-end%0A++++++config%3A+%7B%0A++++++++markup%3A+%7B%0A++++++++++language%3A+%22html%22%2C%0A++++++++++content%3A+%27%3Ch1%3EHello%2C%5Cn++%3Cspan+id%3D%22title%22%3EWorld%3C%2Fspan%3E%21%5Cn%3C%2Fh1%3E%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%7B%0A++++++%2F%2F+highlight-start%0A++++++panel%3A+%27style%27%2C%0A++++++position%3A+%7B+line%3A+2%2C+column%3A+10+%7D%2C%0A++++++%2F%2F+highlight-end%0A++++++config%3A+%7B%0A++++++++style%3A+%7B%0A++++++++++language%3A+%27css%27%2C%0A++++++++++content%3A+%27%23title+%7B%5Cn++color%3A+blue%3B%5Cn%7D%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C++++%0A++%5D%3B%0A%0A++const+options+%3D+%7B%0A++++appUrl%3A+%22https%3A%2F%2Fv10.livecodes.io%22%2C%0A++++config%3A+%7B%0A++++++markup%3A+%7B%0A++++++++language%3A+%22html%22%2C%0A++++++++content%3A+%22Welcome+to+the+tutorial%21%22%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++%7D%3B%0A%0A++createPlayground%28%22%23container%22%2C+options%29.then%28%28playground%29+%3D%3E+%7B%0A++++let+step+%3D+0%3B%0A++++const+nextBtn+%3D+document.querySelector%28%22%23next%22%29%3B%0A++++nextBtn.addEventListener%28%22click%22%2C+async+%28%29+%3D%3E+%7B%0A++++++const+lastStep+%3D+steps.length+-+1%3B%0A++++++const+currentStep+%3D+steps%5Bstep%5D%3B%0A++++++const+prevConfig+%3D+step+%3D%3D%3D+0+%3F+options.config+%3A+await+playground.getConfig%28%29%3B%0A++++++await+playground.setConfig%28%7B+...prevConfig%2C+...currentStep.config+%7D%29%3B%0A++++++%2F%2F+highlight-next-line%0A++++++await+playground.show%28currentStep.panel%2C+currentStep.position%29%3B%0A++++++step+%3D+step+%3C+lastStep+%3F+step+%2B+1+%3A+0%3B%0A++++%7D%29%3B%0A++%7D%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><p>Now, let’s add some steps for JavaScript code. We can even open the integrated <a href="https://livecodes.io/docs/features/console">console</a> to show logs. Let’s also change the text of the “next” button with each step.</p><pre>&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;<br>&lt;button id=&quot;next&quot;&gt;Start Tutorial&lt;/button&gt;<br><br>&lt;script type=&quot;module&quot;&gt;<br>  import { createPlayground } from &quot;https://unpkg.com/livecodes@0.1.2&quot;;<br>  const steps = [<br>    {<br>      btnText: &#39;Next&#39;,<br>      panel: &#39;markup&#39;,<br>      position: { line: 2, column: 20 },<br>      config: {<br>        markup: {<br>          language: &quot;html&quot;,<br>          content: &#39;&lt;h1&gt;Hello,\n  &lt;span id=&quot;title&quot;&gt;World&lt;/span&gt;!\n&lt;/h1&gt;&#39;,<br>        },<br>      },<br>    },<br>    {<br>      btnText: &#39;Next&#39;,<br>      panel: &#39;style&#39;,<br>      position: { line: 2, column: 10 },<br>      config: {<br>        style: {<br>          language: &#39;css&#39;,<br>          content: &#39;#title {\n  color: blue;\n}&#39;,<br>        },<br>      },<br>    },<br>    {<br>      btnText: &#39;Next&#39;,<br>      panel: &#39;script&#39;,<br>      position: { line: 2, column: 19 },<br>      config: {<br>        script: {<br>          language: &#39;javascript&#39;,<br>          content:<br>            &#39;// change this value to &quot;LiveCodes&quot;\nconst newTitle = &quot;???&quot;;\ndocument.querySelector(&quot;#title&quot;).textContent = newTitle;\nconsole.log(newTitle);&#39;,<br>        },<br>      },<br>    },<br>    {<br>      btnText: &#39;Final Result&#39;,<br>      panel: &#39;console&#39;,<br>    },<br>    {<br>      btnText: &#39;Restart Tutorial&#39;,<br>      panel: &#39;result&#39;,<br>    },<br>  ];<br>  const options = {<br>    appUrl: &quot;https://v10.livecodes.io&quot;,<br>    config: {<br>      markup: {<br>        language: &quot;html&quot;,<br>        content: &quot;Welcome to the tutorial!&quot;,<br>      },<br>    },<br>  };<br>  createPlayground(&quot;#container&quot;, options).then((playground) =&gt; {<br>    let step = 0;<br>    const nextBtn = document.querySelector(&quot;#next&quot;);<br>    nextBtn.addEventListener(&quot;click&quot;, async () =&gt; {<br>      const lastStep = steps.length - 1;<br>      const currentStep = steps[step];<br>      const prevConfig = step === 0 ? options.config : await playground.getConfig();<br>      await playground.setConfig({ ...prevConfig, ...currentStep.config });<br>      await playground.show(currentStep.panel, currentStep.position);<br>      nextBtn.textContent = currentStep.btnText;<br>      step = step &lt; lastStep ? step + 1 : 0;<br>    });<br>  });<br>&lt;/script&gt;</pre><p><a href="https://livecodes.io/?mode=result&amp;html=%3Cdiv+id%3D%22container%22%3E%3C%2Fdiv%3E%0A%3C%21--+highlight-next-line+--%3E%0A%3Cbutton+id%3D%22next%22%3EStart+Tutorial%3C%2Fbutton%3E%0A%0A%3Cscript+type%3D%22module%22%3E%0A++import+%7B+createPlayground+%7D+from+%22https%3A%2F%2Funpkg.com%2Flivecodes%400.1.2%22%3B%0A%0A++const+steps+%3D+%5B%0A++++%7B%0A++++++%2F%2F+highlight-next-line%0A++++++btnText%3A+%27Next%27%2C%0A++++++panel%3A+%27markup%27%2C%0A++++++position%3A+%7B+line%3A+2%2C+column%3A+20+%7D%2C%0A++++++config%3A+%7B%0A++++++++markup%3A+%7B%0A++++++++++language%3A+%22html%22%2C%0A++++++++++content%3A+%27%3Ch1%3EHello%2C%5Cn++%3Cspan+id%3D%22title%22%3EWorld%3C%2Fspan%3E%21%5Cn%3C%2Fh1%3E%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%7B%0A++++++%2F%2F+highlight-next-line%0A++++++btnText%3A+%27Next%27%2C%0A++++++panel%3A+%27style%27%2C%0A++++++position%3A+%7B+line%3A+2%2C+column%3A+10+%7D%2C%0A++++++config%3A+%7B%0A++++++++style%3A+%7B%0A++++++++++language%3A+%27css%27%2C%0A++++++++++content%3A+%27%23title+%7B%5Cn++color%3A+blue%3B%5Cn%7D%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%2F%2F+highlight-start%0A++++%7B%0A++++++btnText%3A+%27Next%27%2C%0A++++++panel%3A+%27script%27%2C%0A++++++position%3A+%7B+line%3A+2%2C+column%3A+19+%7D%2C%0A++++++config%3A+%7B%0A++++++++script%3A+%7B%0A++++++++++language%3A+%27javascript%27%2C%0A++++++++++content%3A%0A++++++++++++%27%2F%2F+change+this+value+to+%22LiveCodes%22%5Cnconst+newTitle+%3D+%22%3F%3F%3F%22%3B%5Cndocument.querySelector%28%22%23title%22%29.textContent+%3D+newTitle%3B%5Cnconsole.log%28newTitle%29%3B%27%2C%0A++++++++%7D%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++++%7B%0A++++++btnText%3A+%27Final+Result%27%2C%0A++++++panel%3A+%27console%27%2C%0A++++%7D%2C%0A++++%7B%0A++++++btnText%3A+%27Restart+Tutorial%27%2C%0A++++++panel%3A+%27result%27%2C%0A++++%7D%2C%0A++++%2F%2F+highlight-end%0A++%5D%3B%0A%0A++const+options+%3D+%7B%0A++++appUrl%3A+%22https%3A%2F%2Fv10.livecodes.io%22%2C%0A++++config%3A+%7B%0A++++++markup%3A+%7B%0A++++++++language%3A+%22html%22%2C%0A++++++++content%3A+%22Welcome+to+the+tutorial%21%22%2C%0A++++++%7D%2C%0A++++%7D%2C%0A++%7D%3B%0A%0A++createPlayground%28%22%23container%22%2C+options%29.then%28%28playground%29+%3D%3E+%7B%0A++++let+step+%3D+0%3B%0A++++const+nextBtn+%3D+document.querySelector%28%22%23next%22%29%3B%0A++++nextBtn.addEventListener%28%22click%22%2C+async+%28%29+%3D%3E+%7B%0A++++++const+lastStep+%3D+steps.length+-+1%3B%0A++++++const+currentStep+%3D+steps%5Bstep%5D%3B%0A++++++const+prevConfig+%3D+step+%3D%3D%3D+0+%3F+options.config+%3A+await+playground.getConfig%28%29%3B%0A++++++await+playground.setConfig%28%7B+...prevConfig%2C+...currentStep.config+%7D%29%3B%0A++++++await+playground.show%28currentStep.panel%2C+currentStep.position%29%3B%0A++++++%2F%2F+highlight-next-line%0A++++++nextBtn.textContent+%3D+currentStep.btnText%3B%0A++++++step+%3D+step+%3C+lastStep+%3F+step+%2B+1+%3A+0%3B%0A++++%7D%29%3B%0A++%7D%29%3B%0A%3C%2Fscript%3E%0A&amp;css=body+%7B+margin%3A+50px+2em%3B+%7D">Preview</a></p><h3>Assignments<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#assignments">​</a></h3><p>So, we are progressing very well!</p><p>Now we want our student to complete a task. We then need to validate if the task was completed successfully. This can be achieved by running <a href="https://livecodes.io/docs/features/tests">automated tests</a>.</p><p>LiveCodes supports running automated tests using Jest and Testing Library. You may test the page DOM or test the <a href="https://livecodes.io/docs/features/tests/#importing-code">code exported from the script editor</a>.</p><p>Let’s write some tests for our tutorial.</p><pre>import { screen } from &quot;@testing-library/dom&quot;;<br>import &quot;@testing-library/jest-dom&quot;;<br><br>test(&quot;Should display title&quot;, async () =&gt; {<br>  expect(screen.getByText(&quot;Hello&quot;, { exact: false })).toHaveTextContent(<br>    &quot;Hello, LiveCodes!&quot;<br>  );<br>});<br>test(&quot;Title should be blue&quot;, async () =&gt; {<br>  const style = window.getComputedStyle(document.querySelector(&quot;#title&quot;));<br>  expect(style.color).toBe(&quot;rgb(0, 0, 255)&quot;);<br>});</pre><p>We test that the student was indeed able to complete the task (by changing the value of the variable newTitle to become &quot;LiveCodes&quot;). Also we are testing the color of the title.</p><p>These tests can be added to <a href="https://livecodes.io/docs/configuration/configuration-object#tests">tests</a> property of the <a href="https://livecodes.io/docs/configuration/configuration-object">config object</a>.</p><p>We can then run the tests using the SDK method <a href="https://livecodes.io/docs/sdk/js-ts#runtests">runTests</a>. This method returns a promise that resolves to the test results, which we can then show to our student.</p><h3>Final Result<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#final-result">​</a></h3><p>Check the <a href="https://livecodes.io/?mode=result&amp;x=code/N4IgLglmA2CmIC4QFUB2kawCYAIAKATgPYBWsAxmCADQhawDO5BEADpEaoiDeAIYBzBogDaAXVp9KEAG6wAolihEC3ALZ8CAawCurXhu17EoaH1QCdg+EgAWYNdF7lOYWOm4AeAIRYilAE9WWBx7RwA+AB0CSNRPMOgcMwsAXkiQd3SomNQcHHjYPixs2Ly8zzVYMD4ccltNBiq0lAAVADEAWgAOdJwAehLcsoqqmvswVg7YAEcdWWaADQ7kAEEOgGEiNVY+SAAjOF6XdHcwZoBJeRTsAVhegejS4crqnFQ+SuaZCFgAd1YVGAjq5Ts1fhAsGBbCl6N9yLAOuDIbZqDgIKgoBA+NAOkxsbAUgBGAB0AAZ7oMyvkMHBwgAZWSwTb0Bg4Fo6MAqLGJAAisDURE8fRpsEpwwYYACtMeQypeyIWACOGAMqpVKUDFYZgCCBwADM4AAPADcqrVeQNsENHSUBAoHFQupc0B0alQppy5otrl1pOJAE5+TgGOYGLjYCw9R6nuaSDoJRA9QEOsc3OgnacI9HZWrDAJ0bqAKyk1iGnAAJn52fNAF8zVTbITlfW1W5DWAOtiIAJHbVMwRq169a5cRAAF6wXUkwtVltU50qXUEAR7AAUAHZy6jN9vywBKQdUuuetUAYlTfHREebJ-Ntlg3fsuoAbKSZLZD7nNPne3wOURPzyY8YzKc9XGIaBWRVW81WgCAJVxSU4F1VBOFgQCyg1LU+B1fUjQwvIBD4Vgp1nGCqTjBMkxTEF0z7E4BznMpLWtX4CGI3U2OIgicA0ViIShKdSVJABSHi8wLHBCTIkCqR2LAlAsX0MOAnM8jA9AINZPYOU5XJoNksokUEqSZzUHj70fMBdUrcymLyPYpC0ARiB0VAsBo6BFxwZc13LAAWABmVEAuCisgoPeycHlAh6AIKdS2DIg4NwFzYACHiYrijp2KUeMbNLHjyB0AgGG8gF0TcRjyLKBd4pwLBNC0BgzDcNKMqirDtV1FieMoyBqNTU4MwYniux7DooH5BgRqqlSmNPO0GB0aAwBvQy8gk3tpLsmq8jbDtxt7eFRqY1TzUWxgVrAYllvIeEGCgqK6t1NL3HmmrLuW1biT1S9EgMtTauS7y7SwD6QKFCUpVFM0hXvIoxU8eVFTFcolBkNEsGaC8rxiEBwiFDG0fyDGsZx8DkoYLImOR3TOHJ9JUCtIECYAZWqAg1vZTkWGxIUdLAPSSfKQW9MZ8BGFZ8J1nvcgtBwABZJU2eSjkIE4AX6dQEmidkXWyYhZoluurI9ZkXWmBYdgcElYJmgFLAVruAmmIgbZAWVWo7V2WA8G1FyiDc3Aa31Yg1BwABycZWBmvo+jc1hnOJFw1D6OC5BcFkAAE-RJctI+zJjjglYM3FjnAUhwEQosBr0yj2MBUBaFndUjgA5FnI+oKK8h2ZnoDbwxdFYbve5wAEGExThdWAJIrxs1FnVdXty1JHAax7vbgdQPVu1n8fNqavQD+381kksaw24SMez7VIa6Mj+JCXCAAJWBoC8nunk8TVzAlkUWQADqKhoBYChv3cI3hIixHhi-W+G01Sb3Hsg7eqDEF13rtFJuLd2xt07u2BBQM5LmA-m3aGcAiFYInkQKeDpZ7z2ZovWoas3RCQ3lvRBeRjh7wEKfLhZQKGTnWsQr0F8rC3DbuQR6VDqE7zTNZKOp4RTNieC9aKLp0IwNQDWWR1D0GiKApw0RBj66YPro3Zurco4ELAHor0-cyFRytmwOxxjqGT2nr2OecEmEViXqw7a-oOHjx4fvERcjgzMFcfwwxsFzCX0kVHEgfAZB8Bcewex1CH7WUPmqSO8daj1AsCEKE8EcBpM0bbIgOB0gMjkMyRg6RtElzWszX4LQoBwErrUkAAB+AZ6RTSxD8MVSo6BiSzAjAENmH97QqFXOkZRXSXZ7mJAdTYJx0A9PaZ0zAwzUAl2SrAYkXkBCrl2Ssg8WSvSmKwXc2s7ivTmK9JY3BijI5tHRNiHAAAlK6q0bkkIHlIzgZVKFPMebXcebzrGR3+RKTQ3N-x82gECsojjB5RxNoCyFSC8V5DEEXGqrScBEHYBrVArIq4vKpMRVgyACBYujkLWOCB44yEJH6DOFAFSMGJBrPo6KvJFHRHwqOhRbgEHRWE8VtKvxGBIhEuR4ir5RxvgSr0OS25AI-qnUpNSoSlJRdybwyMCDhA5ki6KSpyBwXlmK2295ora2ih-IgvxiToqMePNwEoZrKuoaqpJkcUlpIyW4vJ2q8l5Eju7AEXMvZW1gO4DeYcti9Ozn6yAFgOhwT2OxAgAQ+h+DUEM7R8bPbpCzVLMVeaIAFs0MWsgCFS3ltiNo7NiyQBs1sEHMBDV4LYSVIAmgOB0kBEOTgVce5K7hFUUMK0wRKCrmTe4YktwwAACEAjvO7e-T+RB0iojnlaKQii-qQRCDWPcazOSv1SbAd5myFGLJAukA9X8cD1KZHyhg0CQDaLyJFWIN6Dmdqlt2vZ3SGB9pWrgPYIQDg6BdqiCdU6Z1zoXdwsFa0hE9PBO5D1G6qibG2BybAHMYarlGa6U4kyUNFtmXASgCylmjtvQcvIS77SrqQicuqd6iBbtgN23yq5SSokkxWQshY9zpBAzo65mqjwqZCTVGsxLDLMEKG4f2OFA7B1XJHDS1Q8bdzJRSsFd77yoFXKuYdhn3KzpSPO+VeQ4B4fLj00kRVcNvBZlupuPTaPjJulMpjczWMEGM6eZmhDIrb1JdmhgQXchV1C-RiLMyou81i9myOiXEHJalgi66IX-B0Ymdl5j8yYsmZxXYorqAorxe3U3YkRQsDyDkOgBkEp3ARmM3aiA8sLPofINOlzbnQn+bMBKDmsBWA9IG7HU57gBBQhwB0KSPEcNUrWsVAgdp0CLeW1XVbDARCraJbNg7E87QyE2bwlb3mUjvZwOvPplmHQMBTpwF7uo+C-EvGtRzrl3IkbAM97sM6tNxOB6DieAcIdYFuqRgHsO57Ehx6wR7MOBCohxynEqJ2wBnf+7vbsG9mvUMR1AZHBnUe3T7b8VcR2ycU8xUvUnpwue0K8c18ebW0vrJZi+04PSOd8-LsSWF7Y9tlyW695XngkjpPJ9577q2cAAGopI4GUlFMDMooopdF11nrpx+tpiG5HEbY20MMEnZNzDrnA1emzWVn6GzaJrSrpHWWFAtCOoCEHAgSUXQOmJ4XX1pWAU3TtekhgNviR2gFHIYzd0HoMEK4rr3CeU7zZT-BG66eiCZ8jn9CAaKhd31JXPRrrJQ5V3p2DlHQdIcEDci3f1cPx6JmnU326WxROrka9NnyhfEVgHjJXD7Vf-qFdne51s8fvo3V91s-3UcgHEAsOOqlvwIyojAEW8dRF0TeFj3ffa6-rpF+T6nrrxnq+18V3fiU3vE-F9T+Xyv2ejAuetO9yOAH8jQHu9cBeG+Yu7YEu2yAemwx29oh+DAx+BAqIx+n8DUaE1+H+ts9+P0Sej0z+CkWeOg90QBeeeS0BD+xBJeEoae-IFeomi+Ne1Bd850tyIBR4PB+QfQEaSMfQKMAQgw8MDg0A4QIAm8IAQiJgIAwaNgIA0iwgtAOS3A0htAEa8hih3AYa6S0S7AzgfuGhMhQisGKaYAwgCA4gWhhhVhogEgyhj0hAjAVQGhtAeO-gQBKg1hthyh8YnIagsyQsYq1hwAMhlaXM4RMhdsjAJgsRUs4RChCSEiShcR2hahJhSAmhIAcgpUlK3AXK0hQAA">final result</a> after adding tests, styles and some final touches. See it in action on <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#final-result">LiveCodes blog</a>.</p><figure><img alt="Final result for tutorial demo" src="https://cdn-images-1.medium.com/max/1024/1*YLbzfRGj67TwJPwWJ15qmw.png" /><figcaption><em>A screenshot for the final result of the tutorial demo</em></figcaption></figure><h3>Full Code</h3><p>The full code in vanilla JavaScript and also in React TSX can be found <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial/#full-code">here</a>.</p><h3>Conclusion<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#conclusion">​</a></h3><p>That was an interesting project to build!</p><p>Using LiveCodes SDK, we have built a very basic tutorial where the student can learn how to add HTML elements, style them with CSS and change the text content with JavaScript. We were even able to check if the assignment was completed successfully.</p><p>During our work, we had an idea about the LiveCodes SDK and how to use it. Please refer to the <a href="https://livecodes.io/docs/sdk">SDK documentations</a> for more details.</p><h3>What’s Next?<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#whats-next">​</a></h3><p>You can now make your tutorials a lot more interactive and fun with LiveCodes. These tutorials can use any of the supported <a href="https://livecodes.io/docs/languages">languages and frameworks</a>. Tutorials may also cover your own libraries (with full editor <a href="https://livecodes.io/docs/features/intellisense">IntelliSense</a>).</p><p>You may want to create full courses and even sell them. LiveCodes is <a href="https://livecodes.io/docs/license">MIT-licensed</a>.</p><p>Your imagination is the limit!</p><h3>Tell Us What You Think<a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial#tell-us-what-you-think">​</a></h3><p>Please <a href="https://github.com/live-codes/livecodes/discussions">let us know</a> what you think. If you have a case that the SDK does not cover, <a href="https://github.com/live-codes/livecodes/issues">tell us about it</a>.</p><p>If you do use LiveCodes for your tutorials/courses, we would <a href="https://livecodes.io/docs/contact">love to know</a> about them (we may even link to them!). And if you find LiveCodes to be useful, please <a href="https://github.com/live-codes/livecodes">give us a star on GitHub</a> and please consider becoming a <a href="https://livecodes.io/docs/sponsor">sponsor</a>.</p><p>What will you learn/build/teach today?</p><p>This article was originally published on the <a href="https://blog.livecodes.io/lets-make-an-interactive-coding-tutorial">LiveCodes blog</a>.</p><h3>In Plain English</h3><p><em>Thank you for being a part of our community! Before you go:</em></p><ul><li><em>Be sure to </em><strong><em>clap</em></strong><em> and </em><strong><em>follow</em></strong><em> the writer! 👏</em></li><li><em>You can find even more content at </em><a href="https://plainenglish.io/"><strong><em>PlainEnglish.io</em></strong></a><strong><em> 🚀</em></strong></li><li><em>Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. 🗞️</em></li><li><em>Follow us on </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>Twitter</em></strong></a>, <a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a>, and <a href="https://discord.gg/GtDtUAvyhW"><strong><em>Discord</em></strong></a><strong><em>.</em></strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11402c68f95e" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/lets-make-an-interactive-coding-tutorial-11402c68f95e">Let’s Make an Interactive Coding Tutorial</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A powerful backend ready for your next app ]]></title>
            <link>https://javascript.plainenglish.io/a-powerful-backend-ready-for-your-next-app-d4acd88d0cbf?source=rss-9fb51ff7df8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4acd88d0cbf</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Hatem Hosny]]></dc:creator>
            <pubDate>Sat, 28 Nov 2020 10:00:44 GMT</pubDate>
            <atom:updated>2020-11-28T11:53:36.895Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vSYjsla7v_qrooKw0K-bqg.png" /></figure><p>I am a primarily frontend developer.</p><h4>Whenever I start a new project I keep going into the dilemma of:</h4><ul><li>Which backend?</li><li>Which database?</li><li>Which hosting provider?</li><li>Which complexity for the cloud service provider will I have to go through this time?</li><li>What if I need later on to move to another provider?</li><li>Should I go serverless?</li><li>Do I need authentication? should I use a 3rd party service for that?</li><li>How to handle HTTPS certificates issuing and renewal?</li><li>How about the CI/CD setup?</li><li>How to get a convenient local development environment that also matches production deployment?</li></ul><p>Services like Firebase and AWS Amplify, have always been appealing. However, I felt uncomfortable with having marked restrictions on the database design (with lots of de-normalization) because of pay-per-read model. I know, I know, this is how NoSQL works, but still I was not happy. In addition, I do not want to <a href="https://hackernoon.com/how-we-spent-30k-usd-in-firebase-in-less-than-72-hours-307490bd24d">pay $30K in 72 hours because of a coding mistake</a>. And then <a href="https://firebase.google.com/docs/firestore/solutions/search">not be able to do a basic full-text search</a>!</p><p>Serverless can be very cost-effective on small scale but can be quite expensive on large scales. I want to have a predictable budget.</p><p>In addition, the ease of local development with a cloud backend was concerning. There are many good solutions or workarounds for all of these questions, but none felt as easy and flexible for the requirements of different projects.</p><p>All of that, and we have not even started talking about what I care about most, my app!</p><p>Frontend development has become complex enough to also get distracted by all of these questions.</p><p>Recently, I have come across <a href="https://github.com/parse-community/parse-server">Parse server</a>. It is a project that was acquired by Facebook (parse.com) and was later open-sourced when they decided to stop providing the cloud service. It is such a nice project that ticks nearly all my boxes.</p><p>So, I created a monorepo starter project that is managed by <a href="https://docs.docker.com/compose/">Docker Compose</a> which runs the feature-rich ready-to-use setup that works out of the box for local development and can be easily deployed.</p><p>You can find it on GitHub:</p><p><a href="https://github.com/hatemhosny/parse-starter">hatemhosny/parse-starter</a></p><h3>Feature Summary</h3><p><a href="https://github.com/parse-community/parse-server"><strong>Parse server</strong></a>: Backend-as-a-Service (BaaS) that features:</p><ul><li><a href="https://parseplatform.org/#sdks">SDKs</a> for popular platforms</li><li><a href="https://docs.parseplatform.org/rest/guide/">REST API</a></li><li><a href="https://docs.parseplatform.org/graphql/guide/">Graphql API</a></li><li><a href="https://docs.parseplatform.org/parse-server/guide/#live-queries">LiveQuery</a> for realtime apps</li><li>Security features including authentication, <a href="https://docs.parseplatform.org/js/guide/#users">users</a>, <a href="https://docs.parseplatform.org/js/guide/#roles">roles</a>, <a href="https://docs.parseplatform.org/rest/guide/#object-level-access-control">access control lists (ACL)</a> and <a href="https://docs.parseplatform.org/rest/guide/#class-level-permissions">class-level permissions (CLP)</a></li><li><a href="https://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication">3rd party authentication</a></li><li><a href="https://docs.parseplatform.org/parse-server/guide/#push-notifications">Push notifications</a></li><li>Adapters for <a href="https://docs.parseplatform.org/parse-server/guide/#configuring-file-adapters">file storage</a> and <a href="https://docs.parseplatform.org/parse-server/guide/#configuring-cache-adapters">caching</a></li><li><a href="https://docs.parseplatform.org/rest/guide/#analytics">Analytics</a></li><li><a href="https://docs.parseplatform.org/rest/guide/#cloud-code">Cloud code</a> for custom server-side logic</li><li><a href="https://docs.parseplatform.org/rest/guide/#hooks">Web hooks</a></li><li>Runs on top of <a href="https://expressjs.com/">Express</a> allowing the use of Express middleware</li><li>Comprehensive <a href="https://docs.parseplatform.org/">documentation</a></li><li>Large <a href="https://github.com/parse-community">community</a></li></ul><p><a href="https://www.mongodb.com/"><strong>MongoDB</strong></a> database.</p><p><a href="https://github.com/parse-community/parse-dashboard"><strong>Parse dashboard</strong></a> (optional): a powerful dashboard for managing the parse server.</p><p><strong>API-First Headless CMS</strong> (optional): using <a href="https://chiselcms.com/">chisel-cms</a>.</p><p>A sample real-time <strong>frontend app</strong>.</p><p><strong>Automatic HTTPS</strong> for the frontend and backend using <a href="https://caddyserver.com/">Caddy server</a>.</p><p>Reproducible setup using <a href="https://www.docker.com/"><strong>Docker</strong></a> containers managed by a single <a href="https://docs.docker.com/compose"><strong>Docker Compose</strong></a> file.</p><p><strong>Local development workflow</strong> with hot reload for frontend and backend.</p><p><strong>Easy deployment</strong>.</p><p><strong>CI/CD</strong> (<a href="https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment">continuous integration and deployment</a>): using <a href="https://docs.github.com/en/free-pro-team@latest/actions">github actions</a>.</p><p>Optional <strong>deployment to multiple environments</strong> (e.g. development, staging and production).</p><p>Highly <strong>configurable</strong>.</p><p>The whole stack is <strong>open source</strong> with no vendor lock-in or pay-per-request restrictions.</p><h3>Getting Started</h3><p>Run the shell command:</p><pre>docker-compose up</pre><p>By default, the following will be served:</p><ul><li>parse server backend: <a href="https://localhost:1337/api">https://localhost:1337/api</a></li><li>parse GraphQL API: <a href="https://localhost:1337/graphql">https://localhost:1337/graphql</a></li><li>parse dashboard: <a href="https://localhost:1337/dashboard">https://localhost:1337/dashboard</a></li><li>frontend local dev server (with HMR): <a href="https://localhost:1234/">https://localhost:1234</a></li></ul><p>After <a href="https://github.com/hatemhosny/parse-starter#production-build">production build</a>:</p><ul><li>frontend app: <a href="https://localhost/">https://localhost</a></li></ul><p>When <a href="https://github.com/hatemhosny/parse-starter#headless-cms">CMS is enabled</a>:</p><ul><li>chisel CMS: <a href="https://localhost:1337/">https://localhost:1337</a></li></ul><p>Now you can edit/replace the app in the frontend directory and start building your own app making use of the feature-rich backend.</p><h3>Deployment</h3><p>Docker and Docker Compose significantly simplify deployment. All the setup and dependencies are already taken care of in the docker images.</p><p>So, in principle, the steps required for deployment are:</p><ul><li>Defining the variables for the deployment environment.</li><li>Building the docker images and verifying them.</li><li>Running the containers on the host server.</li></ul><p>Although this can be done manually, it is greatly simplified using the included automated CI/CD setup that uses GitHub Actions.</p><h3>Quick Start</h3><p>Assuming you can connect using SSH to your server which has Docker and Docker Compose installed (see <a href="https://github.com/hatemhosny/parse-starter#server-setup">Server Setup</a>), and that you have a GitHub personal access token (see <a href="https://github.com/hatemhosny/parse-starter#container-registry">Container Registry</a>), add the following <a href="https://github.com/hatemhosny/parse-starter#github-secrets">Github Secrets</a>:</p><ul><li>PROD_DOCKER_REGISTRY_TOKEN: your personal github access token</li><li>PROD_SSH_HOST: your server IP address</li><li>PROD_SSH_KEY: your server SSH private key</li><li>PROD_ENV_VARS: edit the following example with your values</li></ul><pre>HOST_NAME=mywebsite.com<br>  APP_ID=myappid<br>  MASTER_KEY=mymasterkey<br>  PARSE_DASHBOARD_USER_ID=user<br>  PARSE_DASHBOARD_USER_PASSWORD=pass</pre><p>Note: The environment variable HOST_NAME is required for remote deployment.</p><p>Now pushing code to main/master branch should trigger build and deploy to your server. Note that you can follow the progress and read logs of CI/CD workflows on the “Actions” tab in the GitHub repo.</p><h3>That’s it!</h3><p>You have launched your powerful backend locally and deployed it within a few minutes.</p><p>You can find the documentation and configuration details in the github repo: <a href="https://github.com/hatemhosny/parse-starter">https://github.com/hatemhosny/parse-starter</a></p><p>This is clearly not the magic bullet that solves all the problems of the world, but it has made my life easier, and I hope it makes yours too.</p><p>Please let me know your suggestions/advices/comments, and I would be very grateful for contributions.</p><p>Happy coding, go build some great apps!</p><p><em>Originally posted on </em><a href="https://dev.to/hatemhosny/a-powerful-backend-ready-for-your-next-app-55a"><em>dev.to</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4acd88d0cbf" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/a-powerful-backend-ready-for-your-next-app-d4acd88d0cbf">A powerful backend ready for your next app 🚀</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>