Skip to content

Commit 4456f7f

Browse files
committed
Blog: add another tip to encourage engagement
1 parent dc83bba commit 4456f7f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

website/public/blog/syntax-errors-2021/index.ejs.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@
196196
}
197197
}
198198

199+
.tip {
200+
padding-bottom: 1rem;
201+
font-style: italic;
202+
}
203+
199204
.code-example table {
200205
border-collapse: collapse;
201206
}
@@ -407,10 +412,7 @@ <h4>
407412
expected.`, "V8": `Unexpected token ';'`, "qljs": `expected ','
408413
between object literal entries`, }) %>
409414
</div>
410-
<p
411-
class="desktop-only"
412-
style="padding-bottom: 1rem; font-style: italic"
413-
>
415+
<p class="desktop-only tip">
414416
Tip: Hover over the message on the right to show the error on the
415417
left.
416418
</p>
@@ -463,6 +465,9 @@ <h4>Invalid object literal key</h4>
463465
missing comma between object literal entries<br />
464466
token not implemented in parse_object_literal: colon`, }) %>
465467
</div>
468+
<p class="desktop-only tip">
469+
Tip: Hover over the tool names below to focus on the errors above.
470+
</p>
466471
<p>
467472
None of the tools suggested the correct solution to the problem.
468473
</p>

0 commit comments

Comments
 (0)