code-for-a-living September 18, 2021

Level Up: Introduction to TypeScript

In this one-off Level Up session, we’re exploring TypeScript, a popular programming language used for web development. Josh Goldberg, a Staff Frontend Developer at Codecademy, walks us through the basics of TypeScript. We discuss its relationship to JavaScript, how TypeScript is used in real production environments (like Codecademy itself!), how to get involved in the…
Level up: SwiftUI quiz
code-for-a-living September 4, 2021

Level Up: Build a Quiz App with SwiftUI – Part 4

In the fourth and final lesson of the series, we’ll learn how to use SwiftUI navigation to present different views to the user. We’ll build a welcome screen with instructions for the user as well as a final screen with their results to the quiz. A user will also have the option to re-take the…
Level up: SwiftUI quiz
code-for-a-living August 28, 2021

Level Up: Build a Quiz App with SwiftUI – Part 3

In the third lesson of the series, we’ll continue to incorporate the MVVM architecture and build a view model for our quiz app which mediates communication between the view and the model. Additionally, we’ll build a game model structure and add more questions and functionality for new questions to appear as the user advances through…
Level up: SwiftUI quiz
code-for-a-living August 21, 2021

Level Up: Build a Quiz App with SwiftUI – Part 2

In the second lesson of the series, we’ll add state to our quiz app so that it can show users whether they answered correctly.  We’ll also build out a model for our quiz questions, and add a settings tab. Here are some Stack Overflow questions related to the work we did in today’s session: What…
Level up: SwiftUI quiz
code-for-a-living August 14, 2021

Level Up: Build a Quiz App with SwiftUI – Part 1

SwiftUI is Apple’s newest framework for building iOS applications.  It uses the best features of the Swift language to enable writing performative, declarative code.  If you’ve ever wanted to build your own iOS applications, now is an excellent time to get started. The Codecademy Live: Build a Quiz App with SwiftUI series will be hosted…
code-for-a-living July 24, 2021

Level Up: Linear Regression in Python – Part 8

In the eighth and final lesson of the series we’ll practice everything we’ve learned to date by loading and preparing some data, fitting a few different models, and comparing them. This is an open-ended session where we’ll examine some questions from our audience and demonstrate what a data analysis workflow could look like. If you…
code-for-a-living July 3, 2021

Level Up: Linear Regression in Python – Part 7

In the seventh lesson of the series we’ll discuss some methods for comparing linear regression models. In the process, we’ll learn about the problem of overfitting and investigate some of the pros and cons of various evaluation methods (such as R-squared, adjusted R-squared, log likelihood, AIC, and BIC). We’ll also continue to practice our Python…
code-for-a-living June 26, 2021

Level Up: Linear Regression in Python – Part 6

In the sixth lesson of the series we’ll discuss some methods for data transformation to improve a linear regression model. In the process, we’ll learn to simulate data with known properties, review some of the assumptions of linear regression, and continue to practice our Python skills. Here are some Stack Overflow questions related to the…
code-for-a-living June 19, 2021

Level Up: Linear Regression in Python – Part 5

In the fifth lesson of the series we’ll learn how to build more flexible linear models by adding interaction and polynomial terms. We’ll fit and inspect our models both mathematically and visually to understand how they work. In the process, we’ll continue to practice our Python skills and discuss some of the merits (and drawbacks)…
code-for-a-living June 12, 2021

Level Up: Linear Regression in Python – Part 4

In the fourth lesson of the series, we’ll talk about the matrix representation of the linear regression problem. In the process, we’ll discuss the basics of matrix multiplication. We’ll also see how this mathematical understanding can prepare us to make sense of error messages that we might encounter when fitting a model in Python. Here…
code-for-a-living June 6, 2021

Level Up: Linear Regression in Python – Part 3

In the third lesson of the series, we’ll implement our first linear regression model with multiple predictors (this is called “multiple linear regression”). As an example, we’ll use a simulated dataset to predict student quiz scores. In the process, we’ll again practice our graphing and Python skills. Here are some Stack Overflow questions related to…