◐ Shell
reader mode source ↗
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ importance: 5

---

# Get the attribute

Write the code to select the element with `data-widget-name` attribute from the document and to read its value.

```html run
<!DOCTYPE html>
Expand Down
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@ importance: 3

---

# Make external links orange

Make all external links orange by altering their `style` property.

A link is external if:
- Its `href` has `://` in it
- But doesn't start with `http://internal.com`.

Example:

```html run
<a name="list">the list</a>
Expand All @@ -30,6 +30,6 @@ Example:
</script>
```

The result should be:

[iframe border=1 height=180 src="solution"]
Loading
Toggle all file notes Toggle all file annotations