The App That Started Everything
Every developer has a project that shifted something. Not the most complex one. Not the most impressive. The one where the code first felt alive.
For me, it was a weather app.
What SheCodes Taught Me
I built this during SheCodes Plus · a structured coding programme that teaches front-end development with real-world projects. The weather app was the capstone: take an external API, consume it, display live data, handle errors.
Five commits. Three files. One OpenWeather API key.
It sounds trivial now. At the time, it was revelatory.
The Technical Reality
The stack is genuinely minimal:
- HTML5: Semantic markup, ARIA labels, accessible structure
- CSS3: Responsive layout, a bit of animation for the loading state
- Vanilla JavaScript: The whole application logic
- OpenWeather API: Current conditions + 5-day forecast
// The function that changed everything
async function getWeather(city) {
const url = `https://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${API_KEY}&units=metric`;
const response = await fetch(url);
const data = await response.json();
displayWeather(data);
}
That fetch. That await. That data. The moment I understood that my code could reach outside itself, ask the internet a question, and get an answer, that was the moment I knew this was what I was going to do with my life.
What It Actually Taught Me
Error handling is not optional. OpenWeather returns a 404 for cities it doesn't recognise. My first version crashed with an ugly JavaScript error. Learning to handle that gracefully · a friendly "city not found" message instead of a broken UI · was my first lesson in defensive programming.
APIs have opinions. The OpenWeather response has temperature in Kelvin by default. I had to specify units=metric to get Celsius. The API doesn't know I'm South African. It doesn't know what makes sense for my users. That's my job to specify.
Design is a technical decision. The difference between a weather app that shows "22°C" and one that shows it alongside a sun icon, a humidity reading, and a 5-day forecast · that's not decoration. That's the user experience. Learning to think about what data to surface, and how, was as important as learning to fetch it.
From Weather App to AI Engineer
Five commits. Three files. One API.
K53 Drill Master: Supabase, PayFast, OpenAI, React, Vite, six drill modes, 400+ questions, freemium subscription. Campus Compass: NSFAS integration, GPT-4o-mini mental health AI, offline PWA, six feature modules. CreativelyNanda.co.za: Full-stack with shop, poetry, blog, AI assistant, admin panel.
The distance between those five commits and where I am now is one continuous line. Every API I've integrated since · OpenAI, Supabase, PayFast, Mapbox, Resend · is the same fundamental idea as that first fetch call. Ask the internet a question. Handle the answer. Show it to the user.
The weather app is still live. I keep it that way deliberately. It's a reminder that every developer who has ever shipped anything impressive had a first project that looked exactly like this.
Built by Nandawula Regine Kabali-Kagwa as part of SheCodes Plus Tech: Vanilla JavaScript, HTML5, CSS3, OpenWeather API, Vercel Live: my-weather-app-rho-lyart.vercel.app
Reader Insights
0 responses
No insights yet. Be the first!