mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-13 22:00:19 -04:00
chore(curriculum): remove link lecture video (#57458)
This commit is contained in:
@@ -21,10 +21,6 @@
|
||||
{
|
||||
"id": "67168323932391a9ee0d3a9e",
|
||||
"title": "What Are the Different Link States, and Why Are They Important?"
|
||||
},
|
||||
{
|
||||
"id": "67168343450957aa4335c56b",
|
||||
"title": "What Is the Difference Between Inline and Block-Level Links?"
|
||||
}
|
||||
],
|
||||
"helpCategory": "HTML-CSS"
|
||||
|
||||
@@ -1,121 +0,0 @@
|
||||
---
|
||||
id: 67168343450957aa4335c56b
|
||||
videoId: nVAaxZ34khk
|
||||
title: What Is the Difference Between Inline and Block-Level Links?
|
||||
challengeType: 11
|
||||
dashedName: what-is-the-difference-between-inline-and-block-level-links
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Watch the video and answer the questions below.
|
||||
|
||||
# --questions--
|
||||
|
||||
## --text--
|
||||
|
||||
What is the default behavior of an `a` element?
|
||||
|
||||
## --answers--
|
||||
|
||||
It displays on the same line.
|
||||
|
||||
---
|
||||
|
||||
It displays on a new line.
|
||||
|
||||
### --feedback--
|
||||
|
||||
`a` elements are inline elements.
|
||||
|
||||
---
|
||||
|
||||
It displays on a new page.
|
||||
|
||||
### --feedback--
|
||||
|
||||
`a` elements are inline elements.
|
||||
|
||||
---
|
||||
|
||||
It displays before everything else.
|
||||
|
||||
### --feedback--
|
||||
|
||||
`a` elements are inline elements.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
1
|
||||
|
||||
## --text--
|
||||
|
||||
What is the default behavior of a `p` element?
|
||||
|
||||
## --answers--
|
||||
|
||||
It displays on the same line.
|
||||
|
||||
### --feedback--
|
||||
|
||||
`p` elements are block elements.
|
||||
|
||||
---
|
||||
|
||||
It displays on a new line.
|
||||
|
||||
---
|
||||
|
||||
It displays on a new page.
|
||||
|
||||
### --feedback--
|
||||
|
||||
`p` elements are block elements.
|
||||
|
||||
---
|
||||
|
||||
It displays before everything else.
|
||||
|
||||
### --feedback--
|
||||
|
||||
`p` elements are block elements.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
|
||||
## --text--
|
||||
|
||||
How would you make a link display on a new line?
|
||||
|
||||
## --answers--
|
||||
|
||||
The `a` element will display on a new line automatically.
|
||||
|
||||
### --feedback--
|
||||
|
||||
You can turn a `p` element into a link by nesting it in the `a` element.
|
||||
|
||||
---
|
||||
|
||||
Nest a block element, such as `p`, in the `a` element.
|
||||
|
||||
---
|
||||
|
||||
You can't; links are only able to be inline.
|
||||
|
||||
### --feedback--
|
||||
|
||||
You can turn a `p` element into a link by nesting it in the `a` element.
|
||||
|
||||
---
|
||||
|
||||
Ask it really nicely.
|
||||
|
||||
### --feedback--
|
||||
|
||||
You can turn a `p` element into a link by nesting it in the `a` element.
|
||||
|
||||
## --video-solution--
|
||||
|
||||
2
|
||||
Reference in New Issue
Block a user