better mesages

This commit is contained in:
djmil 2023-07-28 11:47:38 +02:00
parent 6740cb9faf
commit 4b8e9ed65a
2 changed files with 5 additions and 4 deletions

View File

@ -113,8 +113,9 @@ Let's add minimal interactivity to the page by introducing an input field and a
...
<body>
<p th:text="'Hello, ' + ${name} + '!'" />
<p th:text="'Length of your name is ' + ${nameLength} + ' characters.'" />
<input placeholder="Enter username.."/>
<button>Go!</button>
<button>Again!</button>
</body>
</html>

View File

@ -6,9 +6,9 @@
</head>
<body>
<p th:text="'Hello, ' + ${name} + '!'" />
<p th:text="'Length of a given name is ' + ${nameLength} + ' characters.'" />
<p th:text="'Length of your name is ' + ${nameLength} + ' characters.'" />
<input placeholder="Enter username.."/>
<button>Go!</button>
<button>Again!</button>
</body>
</html>