From de5ef2fa9f5278956100ef67f2257629e5f168c0 Mon Sep 17 00:00:00 2001 From: greggubarev Date: Thu, 18 Oct 2018 00:51:38 +0400 Subject: [PATCH] =?UTF-8?q?Responsive=20Web=20Design:=20Added=20hint=20to?= =?UTF-8?q?=20Inherit=20Styles=20from=20the=20Body=20Ele=E2=80=A6=20(#1963?= =?UTF-8?q?1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Responsive Web Design: Added hint to Inherit Styles from the Body Element Added hint to Inherit Styles from the Body Element (https://guide.freecodecamp.org/certifications/responsive-web-design/basic-css/inherit-styles-from-the-body-element) * Added Full solution --- .../index.md | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/guide/english/certifications/responsive-web-design/basic-css/inherit-styles-from-the-body-element/index.md b/guide/english/certifications/responsive-web-design/basic-css/inherit-styles-from-the-body-element/index.md index 38bfa34ae6..82dce31b04 100644 --- a/guide/english/certifications/responsive-web-design/basic-css/inherit-styles-from-the-body-element/index.md +++ b/guide/english/certifications/responsive-web-design/basic-css/inherit-styles-from-the-body-element/index.md @@ -3,8 +3,38 @@ title: Inherit Styles from the Body Element --- ## Inherit Styles from the Body Element -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. - +We need to create a ```h1``` element with the text ```Hello World```, then we need to give all elements on your page the color of ```green``` in our ```body``` element's style declaration, and finally, we need add to our ```body``` element font-family of ```monospace```. + + ### Solution + + #### 1. Create a ```h1``` element with the text ```Hello World```: + + add ```h1``` after `````` element: + + ```css +

Hello World

+``` + +#### 2. Give all elements on your page the color of ```green``` and font-family of ```monospace``` in our ```body``` element's style declaration: + +add between ``````: + + ```css + color: green; + font-family: monospace; +``` + +#### Full solution + +```css + + +

Hello World

+```