Code advice for new starter

Please excuse the simple question. Can anyone tell me how to:

  1. On the click of a button, display text in a separate text box
  2. The text that displays must randomly select data from a list of data.
  3. I am not sure if this is possible, but that text that appears also needs to bring up the corrosponding webpage, but below the front page title, it could be a hyper link and open a new page, but I would prefer it showed below. Is that possible ?

I have found the dev mode and added a button and text box. I just do not know how to link the two or link to a set of data. I also found the create database, which can contain my list of options to randomly select from.

Please excuse my complete lack of coding knowledge. I am struggling to find any resource that guides me how to do this on wix. If it already exists, kindly point me to it ?

Please start from reading the following articles that will help you start working with Corvid:

I looked at the content, but I mainly need to know how to make text appear from a linked database in text box X after button X is pressed. Is there a video for this ?

Currently looking through this link, it seems related
https://www.wix.com/corvid/forum/community-discussion/randomize-dataset-selection
and the links at the bottom of the page. Once I can set up this one thing, I am happy to add content after.

This is what I used in the end:

import wixData from ‘wix-data’ ;
// For full API documentation, including code examples, visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: write your page related code here…

});

export function button3_click_1(event) {

$w( “#dataset1” ).setFilter(wixData.filter());

let count = $w( “#dataset1” ).getTotalCount();

let idx = Math.floor(Math.random() * count);

$w( “#dataset1” ).setCurrentItemIndex(idx);

$w( ‘#text10’ ).show();
}

I used your earlier answer to this topic for guidance
https://www.wix.com/corvid/forum/community-discussion/randomize-dataset-selection