<?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 Jamie Tomlinson on Medium]]></title>
        <description><![CDATA[Stories by Jamie Tomlinson on Medium]]></description>
        <link>https://medium.com/@jamietomlinson312?source=rss-88350944e837------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PoPACOoUPwl1JyHM</url>
            <title>Stories by Jamie Tomlinson on Medium</title>
            <link>https://medium.com/@jamietomlinson312?source=rss-88350944e837------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 00:07:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jamietomlinson312/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[Portfolio Project 3: Investment Calculator App]]></title>
            <link>https://medium.com/@jamietomlinson312/portfolio-project-3-investment-calculator-app-0a6e569f59c9?source=rss-88350944e837------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a6e569f59c9</guid>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[tailwind-css]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Jamie Tomlinson]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 10:26:50 GMT</pubDate>
            <atom:updated>2026-10-22T10:26:50.556Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to use React and building a simple, functional calculator application — some perspectives from someone new to coding and programming.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PjIKnlgsMeS5mc_DRUOsw.png" /><figcaption>Screenshot of the finished application.</figcaption></figure><p>The aim of this project was to build a simple investment calculator that takes user input, performs calculations and displays the results. It gave me an opportunity to practise several key React concepts, particularly <strong>JSX, state management and hooks</strong>.</p><p>One of my early learnings was React’s component-based architecture. This project is divided into five components: a header, an input form, an output section, a reset button and a button to download a report. Breaking the application into smaller, focused components makes the code easier to understand, maintain and expand as projects grow.</p><p>I kept the state variables for user input (userInput) and the calculated results (output) in the main App component. The project was scaffolded using Vite, with Tailwind CSS for styling. I then passed the relevant state variables and functions to child components through <strong>props</strong>, allowing them to access and update the data they need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YJ1EsYzmnyCZMQ1T9c-sHA.png" /><figcaption>State variable for user input, stored as an Object.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*2OfY_nxes-lLrJNTtOqEgQ.png" /><figcaption>Setting userInput with values from the input form.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QgE9lpsB0mHIQ0l8wS6BIw.png" /><figcaption>Overview of the component structure in App.</figcaption></figure><p>In the input form, each field uses an event handler (handleChange) to update the userInput state. The inputIdentifier parameter identifies which field has changed, allowing the same function to handle updates across multiple inputs. This helped me understand how React manages user interactions and how changes to state can be reflected in the interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItRSuN2hHqCJ7kSzB1fORQ.png" /><figcaption>‘Initial investment’ field of the input form, with an onChange event handler.</figcaption></figure><p>The output component receives the output state, which contains an array of objects representing the calculated results (calculated automatically by calculateInvestment whenever userInputchanges). It uses JavaScript’s map() method to iterate through the data and render each result on the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ykH8GXMqmsl618HAsX5EUQ.png" /><figcaption>OutputData component.</figcaption></figure><p>The calculations themselves are handled by a separate JavaScript function, calculateInvestment, which keeps the calculation logic separate from the UI. This function returns an array of annual results (annualData), which is passed to setOutput to update the state. React then uses the updated data to render the results. A useEffecthook with userInputas a dependency ensures that the output state only changes when the user changes one of the fields.</p><p>Separating the calculations from the components was another useful lesson in keeping code organised and giving different parts of an application distinct responsibilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4w2NEI6LDZezGzlO8Z5mGA.png" /><figcaption>Calculator function.</figcaption></figure><p>Finally, the reset and PDF download buttons receive their respective functions from the App component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F9lnzaPyFpVqjvtpiSpDFA.png" /><figcaption>Functions passed to the button components from App.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LuEyP5GWAhfwwdV5LQ0P4A.png" /><figcaption>Exported function to generate a PDF from the output data and save to local machine.</figcaption></figure><p>The resetFields function uses setUserInput to restore the input fields to their default values. The generatePDF function uses an imported JavaScript module to generate a PDF report, which the user can then save locally.</p><p>Building on what I’ve learnt about JavaScript, exploring React has been an interesting next step. What stands out most is its modular approach and the way components help organise an application into manageable pieces.</p><p>I’m still at the beginning of my coding journey, but this project has given me a better understanding of how React brings together JavaScript, state and reusable components to build interactive applications. I hope this will provide a solid foundation for developing more complex web applications and, eventually, broader software development skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a6e569f59c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Portfolio Project 2: Digital Diary]]></title>
            <link>https://medium.com/@jamietomlinson312/portfolio-project-2-digital-diary-5a248e167699?source=rss-88350944e837------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a248e167699</guid>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[tailwind-css]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Jamie Tomlinson]]></dc:creator>
            <pubDate>Wed, 16 Sep 2026 15:18:03 GMT</pubDate>
            <atom:updated>2026-09-16T15:18:03.600Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Building a functional, multi-page digital diary using HTML5, tailwindcss and JavaScript — some perspectives from someone new to coding and programming.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y-xWE7ZPFezsk5BN82Lirw.png" /><figcaption>Data capture page.</figcaption></figure><p>The task for this second project was to build a functional ‘digital diary’ — consisting of a page for adding new entries (shown above), an archive page to display all entries, and a profile page showing only the most recent entries. As a beginner to coding and JavaScript, two concepts stood out to me as particularly important when completing this project: <strong>objects and DOM manipulation</strong>.</p><p>In an application like this, where each entry has the same data structure — for example, a date, title, tag and body text — it makes sense to create a template for these objects: a <strong>class</strong>. The constructor method is used to create and initialise each instance of the class, with the arguments passed to it being assigned to properties of the object. These properties contain the data required to display each entry correctly.</p><p>I also created a method to add each new object to an array, which is ultimately stored in localStorage. It is important to note that localStorage stores data as strings, so JSON.stringify() is used to convert the array into a string before it is stored. When the data is retrieved, JSON.parse() can then be used to convert it back into a JavaScript array.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ns9cyKgCBveu6P4cu0O1SQ.png" /><figcaption>Creating the Post Class.</figcaption></figure><p>An important part of this application is taking data provided by the user and turning it into a new post. As shown below, when the ‘save’ button is clicked, the relevant data is obtained from the form using the .value property and passed as arguments to create a new Post object. The tags are handled slightly differently: because users can add as many tags as they want, document.querySelectorAll(&quot;#tag&quot;) is used to return a NodeList containing all of the relevant elements, which can then be looped through to collect their values. I initially struggled with this until I realised that a NodeList, whilst not an array, is still an iterable object.</p><p>Once the new instance of the Post class has been created, the .addToList() method is called to add the object to the array and update the data stored in localStorage, as shown above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h1T_8f2J3zQjEg1qjooNlA.png" /><figcaption>Code for adding new tags and saving an entry.</figcaption></figure><p>Another fundamental part of JavaScript is <strong>DOM manipulation</strong>, which allows developers to create dynamic applications that respond to user interaction. The HTML provides the underlying structure into which new content can be added or modified. In this case, new posts are dynamically inserted into the grid-section container, which has been set up using Tailwind CSS to display the entries in a grid layout. This was a key learning point for me, both in understanding how to render new posts in the desired layout and in seeing how HTML, CSS and JavaScript work together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ocUEJ23N4f-0wWzI94yN3w.png" /><figcaption>HTML for the index page.</figcaption></figure><p>Once the DOM has loaded, the displayPosts() function is called. This function retrieves the data stored in localStorage, parses it back into an array, and then loops through a sliced copy of that array to render the five most recent entries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q9rYOQzkke06ex7l5mEz7w.png" /><figcaption>Function for displaying the five most recent elements of newArray.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VcxZjTA2ZGeU6_zpYS7PAg.png" /><figcaption>displayPosts function continued.</figcaption></figure><p>As I am using Tailwind CSS, the .classList property is used to add the relevant utility classes to each element. I found it easier to approach this by initially creating the layout using placeholder elements and hard-coded text. Once I was happy with the appearance, I could copy the relevant Tailwind utility classes into the JavaScript-generated elements.</p><p>The JavaScript for the ‘Vault’ page followed a similar approach, except that it loops through the full array of posts rather than a sliced version, allowing all entries to be displayed on one page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lna6OCbBj3wHoKFcrU7_4w.png" /><figcaption>displayPosts function for the vault page.</figcaption></figure><p>JavaScript has been a useful entry point into learning a higher-level programming language and has allowed me to start building functioning web applications rather than simply working through isolated coding exercises. One of the things I have found particularly useful is that many of the concepts introduced through JavaScript — such as variables, objects, functions, arrays and classes — are applicable to other programming languages too. This gives me a foundation that I can build on as I continue my learning journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a248e167699" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Portfolio Project 1: Tailwind CSS]]></title>
            <link>https://medium.com/@jamietomlinson312/portfolio-project-1-tailwind-css-49bc910a749b?source=rss-88350944e837------2</link>
            <guid isPermaLink="false">https://medium.com/p/49bc910a749b</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[tailwind-css]]></category>
            <dc:creator><![CDATA[Jamie Tomlinson]]></dc:creator>
            <pubDate>Thu, 23 Jul 2026 08:49:58 GMT</pubDate>
            <atom:updated>2026-07-23T08:49:58.728Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Building a small multi-page website using HTML5 and tailwindcss — some perspectives from someone new to coding and programming.</em></p><figure><img alt="Itonlinelearning Coding Challenge" src="https://cdn-images-1.medium.com/max/1024/1*WR2F4i8VrX5U7I9QtvI39w.png" /><figcaption>Landing page for a website styled using Tailwind v4.</figcaption></figure><p>I’m writing this post (and, hopefully, many more) from the perspective of someone who is new to coding and programming. I have a PhD in chemistry and spent seven years working in drug discovery before my role was made redundant in March 2025. Combined with a difficult job market, that pushed me to explore programming as a potential new career.</p><p>A key part of that transition is demonstrating to employers that I can build real, working applications. I’ll be documenting that journey through blog posts, YouTube walkthroughs, and a personal portfolio website.</p><p>The first project in this series is a multi-page website featuring a landing page, project gallery, and contact page, built with HTML5 and Tailwind CSS.</p><p>Tailwind is a CSS framework that has become increasingly popular in recent years. Unlike traditional CSS, where styling is typically kept in external stylesheets, Tailwind lets you build your design directly in your HTML using utility classes. Although there is some shorthand syntax to learn, I’ve found it speeds up the development process considerably.</p><figure><img alt="ITonline learning coding challenge" src="https://cdn-images-1.medium.com/max/1024/1*aOTDvFQOh1btR9FF4majLQ.png" /><figcaption>Markup for the website header and nav bar, using tailwind’s utility classes for the styling.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ZKwI4wJ9YS8wNsChmw9Jw.png" /></figure><p>For example, instead of using the standard &lt;property&gt;: &lt;value&gt; CSS syntax, Tailwind uses utility classes such as p- for padding, with values based on a spacing scale (0.25rem by default). To evenly space the page sections, I used Flexbox (flex) with the justify-between utility class. The hover: variant makes it straightforward to add hover effects to links and buttons without writing custom CSS.</p><p>One important consideration when using Tailwind is that it ships with a predefined colour palette. If you want to use your own brand colours, you’ll need to define them as theme variables:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HabeyCKxxmBs3Aog18SPuw.png" /><figcaption>Adding colours and fonts using theme variables.</figcaption></figure><p>For this project I added custom colours (color-*) using hex values and custom fonts (font-*) via the Google Fonts API.</p><p>Responsive design is a fundamental part of modern web development, and Tailwind handles it using breakpoints that can be applied to any utility class. They are effectively CSS media queries, but I found them much more intuitive to work with.</p><figure><img alt="ITonlinelearning coding challenge" src="https://cdn-images-1.medium.com/max/1024/1*2ZZKjwZ4vBjWfo5Uht7KRg.png" /><figcaption>Markup for the responsive gallery section.</figcaption></figure><p>For example, the lg: breakpoint corresponds to a minimum viewport width of 1024px. At that size and above, the grid is displayed with three columns (grid-cols-3):</p><figure><img alt="ITOnline coding challenge" src="https://cdn-images-1.medium.com/max/1024/1*_Uz_FzYf7A96geVI-trynA.png" /><figcaption>3-column layout for larger screens.</figcaption></figure><p>On smaller screens, however, a single-column layout makes more sense, so the unprefixed grid-cols-1 utility is used instead:</p><figure><img alt="ITOnline coding challenge" src="https://cdn-images-1.medium.com/max/960/1*aHeXaiAZfrSOaxV0wbjU0A.png" /><figcaption>1-column layout for smaller (mobile) screen sizes.</figcaption></figure><p>This took me a while to understand. Unprefixed utility classes (such as grid-cols-1) apply at every screen size, while prefixed classes (such as lg:grid-cols-3) only take effect from their specified breakpoint upwards.</p><p>Learning HTML and CSS has been a great introduction to web development. Although they are markup languages rather than programming languages, many of the habits they encourage — writing clean, readable code, documenting your work, and using version control — are just as important as I continue learning more advanced programming concepts.</p><p><em>Live demo of the finished website, deployed on Netlify:</em></p><p><a href="https://jamie-architect-portfolio-tailwind.netlify.app/">Home Page</a></p><p><em>Link to my GitHub repo:</em></p><p><a href="https://github.com/jamietomlinson312-blip/architect-portfolio-tailwind">GitHub - jamietomlinson312-blip/architect-portfolio-tailwind: multi-page portfolio website</a></p><p><em>Walkthrough of the code showcasing some of the design features discussed above:</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4vNzrbELJns%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4vNzrbELJns&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4vNzrbELJns%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8bb1ccbc19d58744da3b0c13120b3c00/href">https://medium.com/media/8bb1ccbc19d58744da3b0c13120b3c00/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49bc910a749b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>