1

Given text

Песенка про елочку В лесу родилась ёлочка, В лесу она росла. Зимой и летом стройная, Зелёная была. Метель ей пела песенку:    -  «Спи, ёлочка, бай-бай!» Мороз снежком укутывал:    -  «Смотри, не замерзай!» Теперь я умею Использовать заголовочные теги h1, h2 etc. Выделять цвет жирным шрифтом через strong Выделять цвет наклонным шрифтом через em Использовать разрывы строк br и абзацы p

layout it as in the picture [added a few clarifications to make it easier]

2

Find a text with three paragraphs. And format it as follows.

  • The first paragraph should be centred.
  • The second paragraph should be right-aligned and 500px wide.
  • The third paragraph should be left-aligned and have a width of 50%.
  • All paragraphs should be framed (each with its own frame colour) and have padding of 8px 16px and margin of 8px.
  • Each paragraph should have its own background colour, and at least one paragraph should use a gradient as its background.
  • Highlight all adjectives with some colour
  • Highlight all proper names so that they stand out with padding; you can even use gradients as backgrounds and frames.

Something like this (basically, the trashier, the better =)

3

Replace styles with classes to make it easier to understand the following task

  • for the first paragraph, name the class paragraph1
  • for the second paragraph, name the class paragraph2
  • for the third paragraph, name the class paragraph3
  • For proper names, use the class name
  • For proper names, only transfer general styles to the class, leaving specific styles, such as background colour, in the tags.

Add a mouseover reaction, as desired

4
  • as in the hint, move the style with the border to a separate class
  • add a class with a border to all adjectives
  • remove information about borders and indents from the paragraph1/2/3 classes
  • add the bordered class to all paragraphs
  • Add combined specifying styles such as .paragraph1.bordered for each paragraph, in which to specify the behaviour of the border
  • Add a hierarchical combined class so that each paragraph has its own colour for adjectives, but when hovering over an adjective in all paragraphs, the colour is the same.
5

Layout as shown in the picture

  • All birds (except for the last crow), trees, and frogs should not be rubberised and should take up exactly as much space as they need.
  • Create separate classes for trees and fish to colour the blocks.
6

Layout it like this

If necessary, there are three lines here, and each column in the line has a fixed width and height, i.e. we do not set flex-grow for the columns.

7

Using Bootstrap, lay out as shown in the image.

Or, if you feel more confident, lay out the blocks to create a pixel icon.

8

Complete task 6 using the Boostrap framework.

9

Design a card for a character that is as close as possible to the original, for example:

The main thing here is not to get confused in the structure of the flexes: which ones are horizontal and which ones are vertical. On the left is a diagram of the nesting of containers.

10

The task is to lay out a template. I am considering the following example [https://www.figma.com/community/file/993910904620677970/travel-website-landing-page?searchSessionId=lt11zgxl-jairvf1kutb] (https://www.figma.com/community/file/993910904620677970/travel-website-landing-page?searchSessionId=lt11zgxl-jairvf1kutb)

You need to find your own template, but first agree it with me.

11

Дополнительное

Реализовать адапитвность для вашего шаблона из 10-го задания