<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Debra Williams</title>
    <description>The latest articles on DEV Community by Debra Williams (@debra_williams_b7bdb03f63).</description>
    <link>https://dev.to/debra_williams_b7bdb03f63</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3477771%2F3c09e786-7aaf-48a8-b90f-142d49f3280a.png</url>
      <title>DEV Community: Debra Williams</title>
      <link>https://dev.to/debra_williams_b7bdb03f63</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/debra_williams_b7bdb03f63"/>
    <language>en</language>
    <item>
      <title>Building a Starbucks Calorie Tracker with JavaScript + Custom Logic</title>
      <dc:creator>Debra Williams</dc:creator>
      <pubDate>Wed, 03 Sep 2025 19:47:23 +0000</pubDate>
      <link>https://dev.to/debra_williams_b7bdb03f63/building-a-starbucks-calorie-tracker-with-javascript-custom-logic-39n4</link>
      <guid>https://dev.to/debra_williams_b7bdb03f63/building-a-starbucks-calorie-tracker-with-javascript-custom-logic-39n4</guid>
      <description>&lt;p&gt;I love coffee, but I don’t love the hidden calories and sugar that come with it. Starbucks drinks, in particular, can swing wildly in nutritional values depending on the milk, syrup, and size you choose.&lt;/p&gt;

&lt;p&gt;So instead of guessing, I decided to build my own Starbucks Calorie Calculator — a small project that combines my love for web development with my need to track nutrition.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why I Built It&lt;/strong&gt;&lt;br&gt;
Like many, I was surprised at how a “simple latte” could turn into a 400+ calorie drink just by changing the milk or adding flavored syrups. I wanted a tool that would:&lt;/p&gt;

&lt;p&gt;Instantly update calories and sugar based on customization&lt;br&gt;
Be mobile-friendly and easy to use&lt;br&gt;
Help me (and others) make more informed coffee choices&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Starbucks Calorie Calculator (Live Demo)&lt;/strong&gt;&lt;br&gt;
👉 &lt;a href="https://quibohub.com/starbucks-calorie-calculator/" rel="noopener noreferrer"&gt;Try the Starbucks Calorie Calculator here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;No login required&lt;br&gt;
Works seamlessly on desktop and mobile&lt;br&gt;
Built purely with JavaScript + JSON data for drink options&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;☕ Covers 700+ Starbucks drinks (and growing)&lt;br&gt;
⚡ Real-time updates as you change size, milk, and toppings&lt;br&gt;
📱 Mobile-first design&lt;br&gt;
🧑‍💻 Built using vanilla JavaScript, no heavy frameworks&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How It Works Under the Hood&lt;/strong&gt;&lt;br&gt;
I created a simple dataset containing drink categories, base calories, and modifiers (like milk or syrups). Then I wrote a calculation function that updates nutritional values dynamically as the user selects options.&lt;/p&gt;

&lt;p&gt;It’s basically a real-time config calculator but applied to Starbucks drinks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s Next&lt;/strong&gt;&lt;br&gt;
I’d love to expand this into:&lt;br&gt;
Seasonal/limited-time drinks&lt;br&gt;
Food items (pastries, sandwiches, etc.)&lt;br&gt;
A small API so others can use the data in their own apps&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;br&gt;
If you’re a coffee lover who also cares about nutrition, this might help you track things more easily.&lt;br&gt;
👉 Try it out here: &lt;a href="https://quibohub.com/starbucks-calorie-calculator/" rel="noopener noreferrer"&gt;Starbucks Calorie Calculator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d love your feedback — what features should I add next? 🚀&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>security</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
