Prework – Codepath Background Color changer

Submitted by: Divyarajsinh Karmariya

Codepath Background Color Changer is an app that changes the text and background color of the application with the click of a button.

Time spent: 10 hours spent in total

Required Features

The following required functionality is completed:

  • Users see a screen with three labels and a button.
  • Tapping the button changes the screen color to a random color.
  • Tapping the button changes the text color to a random color.

Video Walkthrough

Here’s a walkthrough of implemented user stories:

Kapture 2023-08-16 at 12 09 20

GIF created with Kap ( for macOS

App Brainstorming (Step 4)

My favorite apps and their favorite features.

  • Instagram: Fluid UI, Cross-platform integration, In-built video editor.
  • Snapchat: Disappearing messages, Camera Filters, Know your friend’s location.
  • Spotify: Connect to logged-in devices easily, Recommendation engine, and Track what your friends are listening to.
  • Apple Weather app: Beautiful AI, Accurate results, Know the weather of multiple places, Smooth animations, weather alerts.

I want to build an app with the name Find-a-Bull. Here, everyone from my university, the University of South Florida (the mascot is a bull) can find a partner studying at the university. The app is actually a dating app that lets you match with others on campus with the same preferences. It has features to share your photos and videos online. The recommendation engine analyses the profile and helps find the best match.


I came across various challenges while building the app.

  • Linking the storyboard to the ViewController.
  • Debugging the code while determining the changes taking place in the application.
  • Making the logic behind the color change in both the Background and the Labels.


Copyright 2023 Divyarajsinh Karmariya

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.


View Github