An app to get the horoscope for the day

I am creating an app to get the horoscope for the day. I am using two screens, in the first screen the user would enter their name, select the date and time in the datepicker and timepicker, and a button called get horoscope, which when clicked would take the user to the second screen where their zodiac sign would show based on their birthday, and in a text box the horoscope of the day would show. I don't know how to show the zodiac sign based on the date picked, which would be shown after you click the button

I would start by doing a Web search for 'astrology API'.

Either that or 'how to get astrological sign from date of birth '

Show us the results

i created an if else if code for all the zodiac sign. however I do not know how to link this to the button and to the date picker so when the user picks the date and clicks the button, the zodiac sign is shown to the second screen

You have chosen a manual way to get the zodiac sign, which sounds a bit cumbersome... unfortunately you forgot to show us some relevant blocks, so this is just a guess. .

For the zodiac sign the manual way might work, but how do you plan to get the horoscope?

Therefore read again what @ABG suggested

To access an API, use the web component

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

(Canned Reply: ABG - Download those blocks and post them here)

Please download and post each of those event block(s)/procedures here ...
P.S. These blocks can be dragged directly into your Blocks Editor workspace.

See Download Block Images for a demo.