Skip to content

Commit

Permalink
forget to save some files
Browse files Browse the repository at this point in the history
  • Loading branch information
estelle committed Nov 13, 2024
1 parent 8edd7d3 commit e70b388
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/input/month/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The value is a string whose value is in the format `YYYY-MM`, where `YYYY` is th
{{EmbedInteractiveExample("pages/tabbed/input-month.html", "tabbed-shorter")}}

The control's UI varies in general from browser to browser; at the moment support is patchy, with only Chrome/Opera and Edge on desktop — and most modern mobile browser versions — having usable implementations.
In browsers that don't support `month` inputs, the control degrades gracefully to a simple [`<input type="text">`](/en-US/docs/Web/HTML/Element/input/text), although there may be automatic validation of the entered text to ensure it's formatted as expected.
In browsers that don't support `month` inputs, the control degrades gracefully to [`<input type="text">`](/en-US/docs/Web/HTML/Element/input/text), although there may be automatic validation of the entered text to ensure it's formatted as expected.

For those of you using a browser that doesn't support `month`, the screenshot below shows what it looks like in Chrome and Opera.
Clicking the down arrow on the right-hand side brings up a date picker that lets you select the month and year.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/input/number/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ switchBtn.addEventListener("click", () => {
});
```

After declaring a few variables, an event listener is added to the `button` to control the switching mechanism. This is pretty simple, mostly involving changing over the button's `class` and {{HTMLElement("label")}}, and updating the display values of the two sets of inputs when the button is pressed.
After declaring a few variables, an event listener is added to the `button` to control the switching mechanism. This involves changing over the button's `class` and {{HTMLElement("label")}}, and updating the display values of the two sets of inputs when the button is pressed.

(Note that we're not converting back and forth between meters and feet/inches here, which a real-life web application would probably do.)

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/input/time/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The `value` of the `time` input is always in 24-hour format that includes leadin

In this example, you can see the time input's value by entering a time and seeing how it changes afterward.

First, a look at the HTML. This is simple enough, with the label and input as we've seen before, but with the addition of a {{HTMLElement("p")}} element with a {{HTMLElement("span")}} to display the value of the `time` input:
First, a look at the HTML. We include a label and input, and add a {{HTMLElement("p")}} element with a {{HTMLElement("span")}} to display the value of the `time` input:

```html
<form>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/var/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var {

### Basic example

Here's a simple example, using `<var>` to denote variable names in a mathematical equation.
Here's a basic example, using `<var>` to denote variable names in a mathematical equation.

```html
<p>A simple equation: <var>x</var> = <var>y</var> + 2</p>
Expand Down

0 comments on commit e70b388

Please sign in to comment.