zehan12 / starapps-studio-task

Home Page:https://starapps-studio-task.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StarApps Studios Task

Task 1: Customize Umbrella

Description

Create an umbrella customize tool for an umbrella seller. The seller offers umbrellas in multiple colors and corporate brands are their main customers who want their logos printed on the umbrellas. The tool should allow customers to upload their logo and see an instant preview of the customized umbrella. Users should be able to change the umbrella color using color swatch buttons, which will also change the theme of the customization tool.

Functionality

  • Upload a logo for customization.
  • Change the color of the umbrella using color swatch buttons.
  • Preview the customized umbrella with the logo.

Technologies

  • Vanilla JavaScript
  • HTML
  • CSS

Live

https://starapps-studio-task.vercel.app/.

Demo

Watch the video

Details

You can find the demo details and design specifications here.

Task 2: Fly me to my destination

Description

Given an array representing the units of fuel available at each airport, find the minimum number of planes needed to travel from the first airport to the last. You can only hire planes available at the airports, and each plane can fly to the nearest airport. If it's not possible to reach the last airport, return -1.

Functionality

Calculate the minimum number of planes required to reach the last airport. Handle cases where reaching the last airport is not possible. Technologies Plain JavaScript

Example:

Array = [2, 1, 2, 3, 1];

Minimum number of planes required:

2 (2  2  1)
Array = [1, 6, 3, 4, 5, 0, 0, 0, 6];

Minimum number of planes required:

 3 (1  6  5  6)

Details

You can find more details about the task here.

About

https://starapps-studio-task.vercel.app


Languages

Language:JavaScript 44.3%Language:HTML 29.0%Language:CSS 26.7%