* chore(curriculum): accessibility-quiz * chore(curriculum): cafe-menu * chore(curriculum): ferris-wheel * chore(curriculum): fix ferris-wheel tests * chore(curriculum): colored-markers * chore(curriculum): photo-gallery * chore(curriculum): magazine * chore(curriculum): penguin * chore(curriculum): city-skyline * chore(curriculum): registration-form * chore(curriculum): picasso-painting * chore(curriculum): balance-sheet * chore(curriculum): piano * chore(curriculum): rothko-painting * fix: title min 15 chars
110 lines
3.5 KiB
Markdown
110 lines
3.5 KiB
Markdown
---
|
|
id: 61439dc084fa5f659cf75d7c
|
|
title: Step 12
|
|
challengeType: 0
|
|
dashedName: step-12
|
|
---
|
|
|
|
# --description--
|
|
|
|
Create another `p` element below your `.first-paragraph` element, and give it the following text:
|
|
|
|
```markup
|
|
After years - years - of pondering these two problems and how to solve them, I slipped, hit my head on the sink, and when I came to I had a revelation! A vision! A picture in my head! A picture of this! This is what makes time travel possible: the flux capacitor!
|
|
```
|
|
|
|
# --hints--
|
|
|
|
You should create a second `p` element within your `.text` element.
|
|
|
|
```js
|
|
assert(document.querySelectorAll('.text p')?.length === 2)
|
|
```
|
|
|
|
Your second `p` element should have the provided text.
|
|
|
|
```js
|
|
assert(document.querySelectorAll('.text p')?.[1]?.innerText === 'After years - years - of pondering these two problems and how to solve them, I slipped, hit my head on the sink, and when I came to I had a revelation! A vision! A picture in my head! A picture of this! This is what makes time travel possible: the flux capacitor!')
|
|
```
|
|
|
|
# --seed--
|
|
|
|
## --seed-contents--
|
|
|
|
```html
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Magazine</title>
|
|
<link
|
|
href="https://fonts.googleapis.com/css?family=Anton|Baskervville|Raleway&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
|
|
/>
|
|
<link rel="stylesheet" href="styles.css" />
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<section class="heading">
|
|
<header class="hero">
|
|
<img
|
|
src="https://cdn.freecodecamp.org/platform/universal/fcc_meta_1920X1080-indigo.png"
|
|
alt="freecodecamp logo"
|
|
loading="lazy"
|
|
class="hero-img"
|
|
width="400"
|
|
/>
|
|
<h1 class="hero-title">OUR NEW CURRICULUM</h1>
|
|
<p class="hero-subtitle">
|
|
Our efforts to restructure our curriculum with a more project-based
|
|
focus
|
|
</p>
|
|
</header>
|
|
<div class="author">
|
|
<p class="author-name">
|
|
By
|
|
<a href="https://freecodecamp.org" target="_blank" rel="noreferrer"
|
|
>freeCodeCamp</a
|
|
>
|
|
</p>
|
|
<p class="publish-date">March 7, 2019</p>
|
|
</div>
|
|
<div class="social-icons">
|
|
<a href="https://www.facebook.com/freecodecamp/">
|
|
<i class="fab fa-facebook-f"></i>
|
|
</a>
|
|
<a href="https://twitter.com/freecodecamp/">
|
|
<i class="fab fa-twitter"></i>
|
|
</a>
|
|
<a href="https://instagram.com/freecodecamp">
|
|
<i class="fab fa-instagram"></i>
|
|
</a>
|
|
<a href="https://www.linkedin.com/school/free-code-camp/">
|
|
<i class="fab fa-linkedin-in"></i>
|
|
</a>
|
|
<a href="https://www.youtube.com/freecodecamp">
|
|
<i class="fab fa-youtube"></i>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
--fcc-editable-region--
|
|
<section class="text">
|
|
<p class="first-paragraph">
|
|
Soon the freeCodeCamp curriculum will be 100% project-driven learning. Instead of a series of coding challenges, you'll learn through building projects - step by step. Before we get into the details, let me emphasize: we are not changing the certifications. All 6 certifications will still have the same 5 required projects. We are only changing the optional coding challenges.
|
|
</p>
|
|
</section>
|
|
--fcc-editable-region--
|
|
</main>
|
|
</body>
|
|
</html>
|
|
```
|
|
|
|
```css
|
|
|
|
```
|