Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix typos #152

Merged
merged 1 commit into from
Aug 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ render('<div class="btn">Click me</div>');

### `ask()`

The `ask()` function may be used prompt the user with a question.
The `ask()` function may be used to prompt the user with a question.

```php
use function Termwind\{ask};
Expand Down Expand Up @@ -175,7 +175,7 @@ HTML);

### `<span>`

The `<span>` element can be used as a inline text container.
The `<span>` element can be used as an inline text container.

```php
render(<<<'HTML'
Expand All @@ -187,7 +187,7 @@ HTML);

### `<a>`

The `<a>` element can be used as an hyperlink. It allows to use the `href` attribute to open the link when clicked.
The `<a>` element can be used as a hyperlink. It allows to use the `href` attribute to open the link when clicked.

```php
render(<<<'HTML'
Expand Down Expand Up @@ -298,7 +298,7 @@ HTML);

### `<dl>`

The `<dl>` element can be used for an description list. It can only accept `<dt>` or `<dd>` elements as childs, if there is another element provided it will throw an `InvalidChild` exception.
The `<dl>` element can be used for a description list. It can only accept `<dt>` or `<dd>` elements as childs, if there is another element provided it will throw an `InvalidChild` exception.

**Default Styles**: `block`

Expand Down Expand Up @@ -341,7 +341,7 @@ HTML);

### `<hr>`

The `<hr>` element can be used as an horizontal line.
The `<hr>` element can be used as a horizontal line.

```php
render(<<<'HTML'
Expand Down Expand Up @@ -391,7 +391,7 @@ HTML);

### `<code>`

The `<code>` element can be used as code highligher. It accepts `line` and `start-line` attributes.
The `<code>` element can be used as code highlighter. It accepts `line` and `start-line` attributes.

```php
render(<<<'HTML'
Expand Down