In crowdfunding, we defined a project struct that contains fundraising information, as follows:
struct Project { address addr; string name; string website; uint totalRaised; uint minimumToRaise; uint currentBalance; uint deadline; uint completeAt; Status status; }
Let's define some related information in HTML, for example:
<table class="table table-hover table-striped"> <tbody> <tr> <th scope="row">address</th> <td><span class="text-info" id="address"></span</td> </tr> <tr> <th scope="row">name</th> <td><span class="text-info" id="name"></span></td> </tr> <tr> <th scope="row">website</th> <td><span class="text-info" id="website"></span></td> </tr> <tr> <th scope="row">totalRaised</th> <td><span class="text-info" ...