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>
|
||||
<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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user