Question: I need help writing this code, I have provided a photo of what the output should look like. Write a program that allows a user
I need help writing this code, I have provided a photo of what the output should look like.
Write a program that allows a user to enter a name into an input box and your program will display a star
similar to the screenshot shown below, with a name displayed in the star.
Below are the requirements of the program or app:
Add a Star shape and the following:
afill the color with Aquaand
bset the shape stroke with Goldcolor and
cset stroke width to px
Add a text shape and the following:
aset the default text to YourNameand
bset the text content to align centerhorizontally and
cset the font color to Blueand
dset the font size to px and boldand
eadd a DropShadoweffect with offsetX to px and offset to px
Add a textfield with a prompt text Type your name hereto allow a user to enter a name.
Add a Generate button and its required functions to generate a uses name on the text shape on the Start eg John Wayne
Add a Reset button and its required functions to reset all the controls back to the initial load conditions.
Set app title to Draw a SuperStar
If the user hasnt entered any name but the Generate button is being clicked, the app will not change any things and it will stay in its initial condition refer to Figurebelow
You are required to create an app resembling to the app in the screenshot.
Verify the correctness of your app.
You are free to use whatever method to draw the star shape eglines or polyline, or polygon
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
