Updated README and added another optional task.
This commit is contained in:
@@ -10,8 +10,10 @@ public class Controller {
|
||||
|
||||
private boolean isDark = true;
|
||||
|
||||
// TODO: (Optional) Create initialize function and use it to set prices during runtime.
|
||||
// TODO: (Optional:For Practice) Create initialize function and use it to set prices during runtime.
|
||||
|
||||
|
||||
// TODO: (Optional:For Practice) Make the plan price go 1 dollar up each time user clicks on the shop button.
|
||||
@FXML
|
||||
private void buyBasic() {
|
||||
// TODO: Call showAlert() with a message indicating the user entered the payment gateway
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
<HBox spacing="25" alignment="CENTER" HBox.hgrow="ALWAYS">
|
||||
<VBox styleClass="card" prefWidth="200">
|
||||
<Label text="Basic" styleClass="plan-name" />
|
||||
<Label text="$9.99 / month" styleClass="price" />
|
||||
<Label text="\$9.99 / month" styleClass="price" />
|
||||
<Label text="Single user, basic features" styleClass="desc" wrapText="true" />
|
||||
<Button text="Shop" onAction="#buyBasic" styleClass="shop-btn" />
|
||||
</VBox>
|
||||
|
||||
<VBox styleClass="card" prefWidth="200">
|
||||
<Label text="Pro" styleClass="plan-name" />
|
||||
<Label text="$19.99 / month" styleClass="price" />
|
||||
<Label text="\$19.99 / month" styleClass="price" />
|
||||
<Label text="Up to 5 users, advanced features" styleClass="desc" wrapText="true" />
|
||||
<Button text="Shop" onAction="#buyPro" styleClass="shop-btn" />
|
||||
</VBox>
|
||||
|
||||
Reference in New Issue
Block a user