Fix HTML attribute

While reading through the documentation, I found two typing mistake in the HTML attributes.
This commit is contained in:
Thejus Paul 2023-03-03 02:38:20 +05:30 committed by GitHub
parent 5fccfe706d
commit 12059a1794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ Our HTML form is:
</form> </form>
``` ```
The first input, name, has validation HTML attributes: `minlenght="4"`, `maxlenght="32"` and `required`. The first input, name, has validation HTML attributes: `minlength="4"`, `maxlength="32"` and `required`.
In a browser, these attributes will prevent the user from entering invalid data like a missing value or a name that is too long. If your In a browser, these attributes will prevent the user from entering invalid data like a missing value or a name that is too long. If your
tests rely on a "headless" browser, it can stop you from testing your server-side tests rely on a "headless" browser, it can stop you from testing your server-side
validation. Client-side validation can also use JavaScript, and it can be a challenge to send invalid data to your server. validation. Client-side validation can also use JavaScript, and it can be a challenge to send invalid data to your server.
@ -308,7 +308,7 @@ question4: 0fec576c
HTTP 403 HTTP 403
``` ```
We have seen that Hurl can be used as a security tool, to check you server-side validation. We have seen that Hurl can be used as a security tool, to check your server-side validation.
Until now, we have done all our tests locally, and in the next session we are going to see how simple Until now, we have done all our tests locally, and in the next session we are going to see how simple
it is to integrate Hurl in a CI/CD pipeline like [GitHub Action] or [GitLab CI/CD]. it is to integrate Hurl in a CI/CD pipeline like [GitHub Action] or [GitLab CI/CD].