subject
Computers and Technology, 30.04.2021 02:50 Ain805

Many countries in the world have three-color flags with the bands of color in equal-sized sections. Take, for example, the flag of Belgium: The Belgian flag has three vertical stripes of black, yellow, and red, from left to right.
In this activity, you will be recreating the flags of at least three countries by using HTML and CSS. Here are some countries with flags that have three colors:

Nigeria, Ireland, France, Italy, Ivory Coast, Guinea, Mali, Chad, Romania, Bulgaria, Estonia, Russia, Lithuania, Armenia, Luxembourg, Sierra Leone, Netherlands, Austria, Yemen, Hungary

Steps:

Choose three countries from the list above. At least one flag must have vertical sections, and at least one flag must have horizontal sections. For example, you could choose the flags of France (vertical), Armenia (horizontal), and Nigeria (vertical).
Log in to REPL. it and make a new REPL called Flags.
In the index. html file, create three divs, one for each of your chosen countries.
Give each of those divs a height and width in your index. css file.
In the index. html file, create three divs inside each of your countries. These represent the three colors of the flag.
Give each of those three divs the appropriate color, height, and width.
If the flag is vertical (like the Belgian flag above), you will use the float property to make the three divs side by side.
If the flag is horizontal (like the Armenian flag), you will use the display property instead of float to stack the three divs on top of each other:
display: grid;
Create a line break between each flag by using the appropriate HTML tag.
Your output should look similar to this:

The Belgian flag has three vertical stripes of black, yellow, and red, from left to right.
When you are finished, share the link to your webpage with your teacher by clicking on the share button and copying the link.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 17:00, evanwall91
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
image
Computers and Technology, 23.06.2019 23:40, lexiecooley
4. what is the reason for including the following code snippet in the header file animal. h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
image
Computers and Technology, 24.06.2019 10:10, juliana0122
Scanning the road can be thought of as a
Answers: 2
You know the right answer?
Many countries in the world have three-color flags with the bands of color in equal-sized sections....

Questions in other subjects: