To preface, I'm completely new to NodeJs and MySQL.

I have a website running on Node with express like this

```
var express = require('express');
var app = express();
var path = require("path");
var mysql = require("mysql");

app.use(express.static('Script'));

var con = mysql.createConnection({
    host: "localhost",
    user: "root",
    password: "password", 
    database: "blocks"
});

con.connect(function(err){
    if(err) throw err;
    console.log("connected!");
    con.query("SELECT * FROM blockchain", function(err, result, fields){
        if(err) throw err;
        console.log(result);
    });
 });

app.get('/', function (req, res) {
   res.sendFile(path.join(__dirname + '/index.html'));
});

app.listen(8080);

```

It's connected to the server successfully, and can print out the server values on my command prompt. 

Is there a way to send this data to my website such that I can use the values for client side scripting? For example, I want a create a new `<p>` element in my `index.html` file to represent every entry in the database, and thus alter my websites displayed information.

So if the database was empty, my website would look empty. If the database had three entries, my website would have 3 `<p>` elements that corresponded to the inputs of the three entries.