better mesages
This commit is contained in:
parent
6740cb9faf
commit
4b8e9ed65a
@ -113,8 +113,9 @@ Let's add minimal interactivity to the page by introducing an input field and a
|
|||||||
...
|
...
|
||||||
<body>
|
<body>
|
||||||
<p th:text="'Hello, ' + ${name} + '!'" />
|
<p th:text="'Hello, ' + ${name} + '!'" />
|
||||||
|
<p th:text="'Length of your name is ' + ${nameLength} + ' characters.'" />
|
||||||
<input placeholder="Enter username.."/>
|
<input placeholder="Enter username.."/>
|
||||||
<button>Go!</button>
|
<button>Again!</button>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p th:text="'Hello, ' + ${name} + '!'" />
|
<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.."/>
|
<input placeholder="Enter username.."/>
|
||||||
<button>Go!</button>
|
<button>Again!</button>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user