Figma To Real Website | Responsive Homepage | HTML, CSS & JavaScript | Part 9

GTCoding
27 Dec 202115:38

Summary

TLDRThis tutorial series focuses on converting a sigma design into a responsive website using HTML, CSS, and JavaScript. The instructor demonstrates the process of adapting the desktop version for tablet screens, starting with styling the hero section and moving on to the testimonial, courses, get our app, and footer sections. Techniques like flexbox, media queries, and CSS selectors are used to ensure the design is mobile-friendly, with detailed steps provided for adjusting layout, font sizes, and spacing.

Takeaways

  • 🌐 The tutorial series is focused on converting a sigma design into a responsive website using HTML, CSS, and JavaScript.
  • πŸ–₯️ The desktop version of the website has already been designed, and the current focus is on coding for the tablet version.
  • 🎨 The hero section of the tablet version has been designed, and the video will cover the design of the remaining sections.
  • πŸ” The process involves using Figma to inspect design elements and then applying corresponding styles in CSS.
  • πŸ“ CSS properties such as font size, flex direction, and margins are adjusted to fit the tablet layout.
  • πŸ”„ Flexbox is utilized to rearrange elements for the tablet version, changing from a row to a column layout where necessary.
  • πŸ–ΌοΈ Image sizes and object fit properties are set to ensure that images display correctly within their containers.
  • πŸ”’ Specific measurements, such as font sizes and margins, are taken from the Figma design and implemented in the CSS.
  • πŸ”„ The order of elements in the HTML structure is adjusted to match the tablet design layout.
  • πŸ”— The visibility of desktop and mobile buttons is controlled with CSS to ensure the correct button is displayed for the tablet version.
  • πŸ“š The tutorial concludes with the completion of the tablet version design, including sections like hero, testimonials, courses, get our app, and footer.

Q & A

  • What is the main focus of this tutorial series?

    -The main focus of this tutorial series is to convert a sigma design into a real website using HTML, CSS, and JavaScript, with the current stage being the development of the tablet version of the website.

  • What section of the website is being styled in the script?

    -The script discusses styling the hero section, testimonial section, courses section, get our app section, and the footer for the tablet version of the website.

  • What changes are made to the testimonial section for the tablet version compared to the desktop version?

    -For the tablet version, the testimonial section changes from a flex display with left and right sections side by side to a column flex direction with all elements stacked vertically. The testimonial cards are also adjusted to have full width and a margin bottom of 40 pixels.

  • How is the 'h2' heading styled in the tablet version according to the script?

    -The 'h2' heading is styled with a font size of 40 pixels, as taken from the Figma design file for the tablet version.

  • What adjustments are made to the course cards in the 'Our Courses' section for the tablet version?

    -The course cards are adjusted to have a flex direction of column, with each course on separate lines. The image within the course card is set to a height of 260 pixels and object fit is set to 'cover' to ensure the image covers the area without distortion.

  • What is the purpose of changing the 'flex-direction' property in the CSS for the tablet version?

    -Changing the 'flex-direction' property to 'column' is necessary to stack elements vertically on the tablet version, as opposed to the horizontal layout used in the desktop version.

  • How does the script address the issue of aligning the background element in the testimonial section?

    -The script addresses the alignment issue by adjusting the 'top' value of the ':before' pseudo-element to '-40 pixels' and changing the 'left' value to '60 pixels' to match the movement of the testimonial card.

  • What is the strategy for handling the button display in the testimonial section for the tablet version?

    -The strategy involves hiding the desktop button by setting its display to 'none' and showing the mobile button by setting its display to 'block'. The mobile button's width is set to 100%, and its order in the layout is adjusted.

  • How is the footer layout adjusted for the tablet version in the script?

    -The footer layout is adjusted from a three-column grid to a two-column grid by setting 'grid-template-columns' to '1fr 1fr'. The last 'links' division is set to span two columns to take up the full width for the third section.

  • What is the final step mentioned in the script for adjusting the 'Get Our App' section?

    -The final step mentioned in the script for adjusting the 'Get Our App' section is to ensure that the button is moved to the left with a gap of 100 pixels from the footer, which involves adjusting the 'write' (likely a typo for 'left') CSS property.

Outlines

00:00

πŸ“± Tablet Version Design Process

The script begins with an introduction to the tutorial series focused on converting a sigma design into a functional website using HTML, CSS, and JavaScript. The team has completed the desktop version and is now adapting the design for tablet users. The video showcases the hero section of the tablet version and outlines the steps to style the rest of the website sections, starting with the heading and adjusting the testimonial section to a column layout to fit the screen size.

05:01

🎨 Adjusting Testimonial and Courses Sections

This paragraph details the process of adjusting the testimonial section for tablet view, including modifying the flex direction to a column layout, setting full width for elements, and adjusting margins and paddings to match the design specifications from the Figma file. It also covers the reordering of elements in the HTML structure to match the tablet design, hiding the desktop button and displaying the mobile button, and changing the layout of paragraphs to appear as a single block of text.

10:02

πŸ–ΌοΈ Fine-Tuning the Courses Section and Footer

The script continues with the styling of the 'Our Courses' section, adjusting the layout to a columnar format suitable for tablet screens, setting image dimensions, and ensuring proper object fit. It also touches on adjusting the gap between course cards and modifying the footer to a two-column layout from a three-column layout originally designed for desktop, including making the last column span two grid columns to fill the width.

15:03

πŸ‘‹ Wrapping Up the Tablet Version Design

The final paragraph concludes the tutorial by reviewing the completed tablet version of the website, which includes the hero section, testimonials, courses, 'Get Our App' section, and the footer. The speaker invites viewers to ask questions in the comments, encourages liking and subscribing for updates, and thanks the audience for watching, ending the video on a friendly note.

Mindmap

Keywords

πŸ’‘HTML

HTML, or HyperText Markup Language, is the standard markup language used to create web pages. It defines the structure and layout of a web document by using a variety of tags and attributes. In the video's context, HTML is used to write the code for the tablet version of the website, defining elements such as headings and sections with specific class names.

πŸ’‘CSS

CSS, or Cascading Style Sheets, is a stylesheet language used for describing the presentation of a document written in HTML or XML. It enables web developers to apply styles to elements, such as colors, layouts, and fonts, without altering the content or structure. In the script, CSS is used to style various sections of the website, adjusting properties like font size, flex direction, and margins to ensure a responsive design.

πŸ’‘JavaScript

JavaScript is a high-level, interpreted programming language commonly used for enhancing web pages with interactive elements. Although not explicitly mentioned in the script, JavaScript is often used alongside HTML and CSS to create dynamic websites. In the video's tutorial series, JavaScript would likely be used in subsequent steps to add functionality to the website.

πŸ’‘Responsive Design

Responsive design is an approach to web design that makes web pages render well on different devices and window or screen sizes. The video focuses on creating a tablet version of a website, which is a specific instance of responsive design. The script describes adjusting CSS properties to ensure that the layout adapts to the screen size of a tablet.

πŸ’‘Figma

Figma is a cloud-based interface design tool used for creating and collaborating on designs. In the video script, Figma is used to access the design specifications for the website, including font sizes, layout structures, and other visual elements, which are then translated into code.

πŸ’‘Flexbox

Flexbox, short for flexible box layout, is a CSS layout mode that allows for the efficient arrangement of items within a container, even when their size is unknown or dynamic. The script mentions setting the 'flex direction' to 'column' for the tablet version, which is a common Flexbox property used to stack elements vertically.

πŸ’‘Media Queries

Media queries are CSS techniques used to apply different style rules for different devices based on characteristics such as screen size, resolution, or orientation. Although not explicitly mentioned in the script, media queries are a fundamental aspect of responsive design and would be used to switch styles for the tablet version of the website.

πŸ’‘Object Fit

The 'object-fit' CSS property is used to specify how an 'object' should be resized to fit its container. In the script, 'object-fit: cover' is used to ensure that images within the 'courses section' maintain their aspect ratio while filling the available space, which is crucial for maintaining a consistent layout across different devices.

πŸ’‘Grid Layout

Grid layout is a CSS layout system that enables the placement of elements into a two-dimensional grid. In the script, the 'grid template columns' property is used to adjust the footer layout for the tablet version, changing it from three columns to two, and then making the last column span the full width.

πŸ’‘Pseudo-classes

Pseudo-classes are used in CSS to define special states of an element. The script mentions ':last-child', a pseudo-class that applies styles to the last child of a specified element, used to adjust the margin of the second testimonial card to ensure proper spacing.

πŸ’‘Display Property

The 'display' property in CSS is used to define the display behavior of an element. In the script, 'display: none' is used to hide the desktop version of a button on the tablet version, while 'display: block' is used to make the mobile button visible, demonstrating the property's role in controlling the visibility of elements.

Highlights

Introduction to the tutorial series on converting a sigma design into a real website using HTML, CSS, and JavaScript.

Designing the tablet version of the website, starting with the hero section.

Styling the heading for the tablet version with a font size of 40 pixels.

Adjusting the testimonial section layout for tablet view by setting flex direction to column.

Ensuring testimonial cards have a full width display on tablet screens.

Setting the margin bottom for elements in the testimonial section to 40 pixels.

Adjusting the positioning of the second testimonial card and its background element for alignment.

Modifying the height of the background element in the testimonial section for tablet view.

Changing the order of elements in the design to prioritize the heading and paragraph on tablet screens.

Hiding the desktop button and displaying the mobile button in the testimonial section for tablet users.

Adjusting the ordering of elements within the testimonial section for a better tablet layout.

Merging two paragraphs into a single paragraph for better readability on tablet screens.

Styling the 'Our Courses' section with a column flex direction for tablet layout.

Setting the image height in the course cards to 260 pixels for tablet screens.

Adjusting the font size of the course card headings to fit the tablet screen.

Adding a gap of 80 pixels between course cards for better spacing on tablet screens.

Repositioning the button in the 'Our Courses' section to align with the tablet layout.

Adjusting the footer layout to a two-column grid for tablet screens.

Ensuring the last column in the footer spans two grid columns for full-width display on tablets.

Completion of the tablet version design with a review of all sections.

Transcripts

play00:00

hi everybody welcome to gt coding in

play00:01

this tutorial series we are converting

play00:03

this sigma design into a real website

play00:05

using html css and javascript and we

play00:08

have already designed the desktop

play00:09

version now we are in the process of

play00:11

writing the code for the tablet version

play00:13

and if you go to the browser here we can

play00:15

see we have designed the hero section of

play00:17

our tablet version so this is how it

play00:19

looks now in this video we will start

play00:21

designing the rest of the sections so

play00:23

let's get started

play00:24

[Music]

play00:30

all right here's our source code so the

play00:32

first thing we will do is we will style

play00:34

this

play00:35

heading over here so let's go to our

play00:37

figma file and let's double click over

play00:40

here on this heading for the tablet

play00:42

version

play00:43

and let's see what is the font size so

play00:46

let's go to inspect and let's scroll

play00:47

down

play00:49

and here we can see we have a font size

play00:51

of 40 pixels

play00:53

so let's copy this from here and

play00:55

let's go to our css and here i'll just

play00:58

type h2

play01:00

because if you go to the html file we

play01:02

can see for

play01:04

the sections we have an h2 so if we

play01:07

scroll down we can see that we have the

play01:08

h2 over here

play01:11

and for all the sections we have an h2

play01:13

for the heading

play01:14

so let's style the s2 here i'll just

play01:16

paste the code

play01:18

so we have a font size of 40 pixels so

play01:20

let's go back to our

play01:22

browser

play01:23

and now you can see we have the correct

play01:25

font size for our heading now let's go

play01:27

back to our figma file and here we can

play01:29

see we have all these elements one below

play01:31

the other now for this testimonial

play01:33

section we have set a display of flex so

play01:35

if you go to the desktop version here we

play01:36

can see both these uh left and right

play01:39

sections are one next to the other but

play01:41

here in the tablet version we have to

play01:43

position all of them one below the other

play01:45

so let's go back to our css

play01:47

and if we scroll up and let's go to the

play01:50

testimonials section css

play01:52

and here you can see for the testimonial

play01:53

section we have set a display of flex

play01:56

now for the tablet version we have to

play01:57

set the flex direction to column so

play01:59

let's go over here to the tablet version

play02:01

and here i'll just type testimonials

play02:04

section

play02:07

and i'll just set the flex direction to

play02:09

column

play02:10

and now we can see that the elements are

play02:11

one below the other now we also want all

play02:13

these elements to have full width so

play02:16

here we'll just type align items and set

play02:18

it to stretch now if we add a background

play02:20

color over here we can see that we have

play02:23

full width for this section but we have

play02:25

added some fixed width to these

play02:27

testimonial cards so let's go back to

play02:29

our html and let's scroll up and let's

play02:31

go to the testimonials section

play02:33

and here we can see we have this

play02:35

division with the class of testimonial

play02:37

card so let's select this let's go back

play02:39

and

play02:40

let's remove this background color

play02:43

and here let's type testimonials section

play02:45

and testimonial card and let's set the

play02:47

width to 100 percent all right now let's

play02:50

go back to our sigma file and let's see

play02:52

what is the distance between these two

play02:55

elements so let's double click over here

play02:57

and here we can see we have a margin

play02:59

bottom of 40 pixels

play03:01

so let's go back to our css and here

play03:04

we'll just type margin bottom

play03:07

and let's set it to 40 pixels

play03:10

now here we can see for this background

play03:12

element we have added an after selector

play03:14

now if you scroll down and go to the

play03:16

testimonials section for the desktop

play03:18

version here we can see we have added a

play03:20

before selector and we have a margin

play03:23

bottom of 50 pixels over here so that's

play03:25

why we had added a top value of negative

play03:27

50 pixels but in our tablet version we

play03:30

have set the margin bottom to 40 pixels

play03:32

so we have to set the top value to

play03:35

negative 40 pixels so let's type

play03:37

testimonials section

play03:39

testimonial card and we are selecting

play03:41

the second testimonial card so let's

play03:43

type last child

play03:44

and here we'll just type colon column

play03:46

before

play03:47

right now we can see that this

play03:48

background element is on top of the

play03:51

first testimonial card

play03:52

so let's add a top value of negative 40

play03:56

pixels

play03:57

and now we can see it looks all right

play03:58

and i think we can decrease the height

play04:00

of this background element a little bit

play04:03

so if you go back to the desktop version

play04:05

here we can see we have set a height of

play04:07

100 of the element plus 90 pixels so for

play04:11

the tablet version we will have a height

play04:13

of 100

play04:15

plus 80 pixels so i'll just paste it

play04:17

over here

play04:19

and here i'll just type 80 pixels

play04:23

and i think that looks alright and now

play04:25

the next thing we will do is we will

play04:27

move this second testimonial card to the

play04:29

left a little bit

play04:30

so for the desktop version we have moved

play04:32

it to the right so if you right click

play04:34

over here and go to inspect

play04:36

and let's select the second testimonial

play04:38

card and here we can see we have a

play04:40

transform translate x of 20 pixels

play04:43

so let's copy this

play04:45

let's copy this selector as well

play04:48

and

play04:49

let's go back to our css

play04:51

and i'll just paste it over here

play04:53

and here i'll just set it back to zero

play04:56

and now we can see that this background

play04:58

element is not aligned correctly so here

play05:00

we can see this is on the right a little

play05:02

bit and that's because we have moved the

play05:03

second testimonial card to the left 20

play05:06

pixels so we have to move this before

play05:08

selector to the right 20 pixels so let's

play05:10

right click over here

play05:12

and let's click on inspect

play05:16

and let's select the before selector

play05:18

and here we can see for the before

play05:19

selector we have a left value of 40

play05:21

pixels

play05:22

so we have to add 20 over here so it

play05:25

will be

play05:26

60 pixels now we can see it is aligned

play05:28

correctly so let's go back and here i'll

play05:31

just type

play05:32

left

play05:34

of 60 pixels

play05:36

right now let's go back to our figma

play05:38

file and here we can see we have the

play05:41

heading and this paragraph at the

play05:42

beginning and then we have these two

play05:45

testimonial cards and then we have the

play05:46

button

play05:48

so we have to change the ordering in our

play05:50

design so we have to move this heading

play05:52

and this paragraph to the top

play05:54

so let's do that if we go back to our

play05:56

html file here we can see we have this

play05:58

division with the class of left

play06:00

and then we have a division of the class

play06:02

of right and then we have this button

play06:04

over here

play06:05

so right now the button that is

play06:06

displayed over here is the desktop

play06:08

button so if you right click over here

play06:10

and click on inspect here we can see we

play06:12

have the desktop button selected so we

play06:14

have to hide it in the tablet version

play06:15

and we have to display this mobile

play06:17

button

play06:18

so i'll just go back to

play06:20

the style.css file and here i'll just

play06:22

type

play06:23

testimonials section

play06:26

desktop button

play06:28

and i'll just set the display to none

play06:30

and let's select the mobile button so

play06:31

i'll just have testimonials section

play06:34

mobile button

play06:36

i'll just set the display to block and

play06:38

right now we have a width of 100 so we

play06:40

have to set the align self to flex start

play06:43

and now we have the correct width right

play06:45

now let's set the ordering so if you go

play06:46

back to our html file here we can see we

play06:49

have the left division and in that we

play06:51

have the testimonial cards and then we

play06:53

have the right division and in that we

play06:54

have the heading and this paragraph and

play06:57

then we have this button over here

play06:59

so let's go back to our style.css file

play07:02

and i listed the order to 1

play07:04

and then we'll select the left division

play07:07

so let's type testimonials section

play07:10

left

play07:11

and let's set the order to 2

play07:13

and then we'll select this button

play07:15

so the button is right here mobile

play07:17

button so i'll just set the order to

play07:19

three

play07:20

and now we can see we have the heading

play07:23

we have the paragraph and then we have

play07:25

the testimonial cards and then we have

play07:27

this button let's also reduce the gap a

play07:29

little bit so let's go back over here

play07:31

to the testimonials section

play07:34

and here let's type gap and i'll just

play07:35

set the gap to 50 pixels

play07:37

now the next thing we have to do over

play07:39

here is that we have to have a single

play07:41

paragraph instead of these two

play07:42

paragraphs so if you go back to our

play07:44

index.html file and let's select the

play07:47

right division and here we can see we

play07:48

have these two paragraphs over here

play07:51

and these paragraphs are inside the

play07:53

right division so let's go back to our

play07:54

css file

play07:56

and

play07:58

here i'll just type

play07:59

testimonial section

play08:02

right p

play08:04

and i'll just set the display to inline

play08:07

so that the next paragraph will start in

play08:09

the same line so now we can see we have

play08:11

a single paragraph right now let's add

play08:13

some margin bottom for this h2

play08:16

so let's type testimonial section h2 and

play08:20

we will add a margin bottom of 20 pixels

play08:24

now the next thing we will do is we will

play08:25

remove the margin bottom for the second

play08:27

testimonial card here we have the second

play08:29

testimonial card so here let's type

play08:31

margin bottom

play08:32

and i'll just set it to zero

play08:35

and i think that looks all right all

play08:37

right i think that's it for the

play08:38

testimonials section right now let's

play08:39

scroll down and let's style this our

play08:42

courses section

play08:44

so let's go back to our figma file and

play08:46

here we can see for the our courses

play08:47

section we have

play08:49

each course on separate lines so we have

play08:52

to set the flex direction to column so

play08:53

let's go back to our css

play08:56

and let's select the course cards so if

play08:57

you go back to our html file and if you

play08:59

scroll down

play09:01

we can see for the course cards we have

play09:02

this division of the class of course

play09:04

cards and in that we have these two

play09:06

divisions with classes course card so

play09:09

let's go back to our style.css file and

play09:12

here i'll just type

play09:13

courses section

play09:15

course card

play09:17

and let's set the flex direction to

play09:19

column

play09:20

and it should be course cards

play09:23

right now we can see we have both the

play09:25

courses on different lines right now

play09:27

let's go back to our figma file and

play09:30

let's see what is the size of this image

play09:32

so let's double click on the image

play09:34

and for the image we have a height of

play09:37

260 pixels so let's go back

play09:40

and let's add that here i'll just type

play09:42

courses section

play09:44

course card img and let's set the height

play09:47

to 260

play09:48

pixels

play09:50

and now we can see that the image has

play09:51

shrunk so for that we have to type

play09:53

object fit

play09:55

and set it to cover

play09:57

and now everything looks all right all

play09:58

right let's go back to our figma file

play10:00

and let's double click on this heading

play10:02

and let's see what are the styles

play10:04

so if you go to inspect and if you

play10:06

scroll down

play10:08

we can see that we have a font size of

play10:10

30 pixels let's go back to our css and

play10:13

let's add it over here

play10:15

so just stop courses section

play10:17

course card

play10:18

s3 because if you go back to the html

play10:21

file we can see that we have this s3 for

play10:23

the heading right now let's copy and

play10:25

paste the code

play10:27

and

play10:28

i think it was 30 pixels already

play10:30

let's decrease the font size a little

play10:31

bit and let's see how it looks

play10:34

and i think that looks all right

play10:35

all right now let's go back to our figma

play10:37

file and let's see what is the gap

play10:38

between these two cards

play10:41

so

play10:42

we can see we have a gap of 80 pixels so

play10:44

let's go back to our css and here we

play10:47

will go to course cards and let's add a

play10:50

gap

play10:51

of 80 pixels

play10:54

and i think that we already have some

play10:56

default margins so let's right click

play10:57

over here and click on inspect

play11:00

and here we can see we have a margin of

play11:03

40 pixels top and bottom so we have to

play11:06

remove the margin

play11:08

so here we'll just type course

play11:09

section

play11:11

course card

play11:12

and we will set a margin of 0

play11:15

and now we have the correct gap but

play11:17

we need to have some margin bottom for

play11:20

this heading as well so let's add that

play11:23

here let's type courses section

play11:25

and for the heading we have an h2

play11:28

so let's tap h2

play11:31

and i'll just add a margin bottom

play11:33

and let's try

play11:35

40 pixels

play11:36

and i think that looks alright now the

play11:38

last thing we will do is

play11:40

bring this button over here to the left

play11:42

so if you go back to our figma file and

play11:44

if i click over here and hover over this

play11:46

area we can see that we have

play11:48

a gap of 100 pixels so let's go back

play11:52

and

play11:53

let's select the button so we have this

play11:56

anchor tag with the class of btn so

play11:58

let's go back

play11:59

and here let's type courses section

play12:02

btn and let's add a write value of 100

play12:05

pixels

play12:06

and the style is not being applied so

play12:08

let's right click over here and let's

play12:10

click on inspect

play12:12

and let's see what's the problem now

play12:13

here we can see we have added courses

play12:15

section btn

play12:17

and

play12:17

this css over here that we just wrote

play12:19

has been overwritten by this css right

play12:22

here

play12:23

because this selector is more specific

play12:25

so we have courses section wrapper and

play12:27

btn

play12:29

so let's copy this selector

play12:32

and let's add it over here

play12:34

and now we can see that the button is

play12:35

displayed correctly now let's go back to

play12:37

our figma file and

play12:40

from the button to this course card we

play12:42

have a gap of 50 pixels so let's add

play12:45

some margin bottom for the course card

play12:47

so i'll just select the second course

play12:49

card so i'll just have courses section

play12:52

course card

play12:54

colon last child to select the second

play12:57

instance

play12:58

and i'll just add a margin bottom of 50

play13:01

pixels or that looks alright or that's

play13:03

it with the courses section

play13:05

now let's scroll down and then we have

play13:06

the get our app section

play13:09

so if you go back to our figma file

play13:11

we have the same styling for the desktop

play13:13

version over here as well so let's move

play13:15

on to the next section which is the

play13:17

footer and for the footer we have a two

play13:19

column layout

play13:21

so let's go back to our css right now

play13:24

for the footer we have set a display of

play13:26

grid

play13:27

so here we can see for the footer links

play13:29

container we have set a display of grid

play13:32

and here we have set a grid template

play13:34

columns of 2fr 2fr and 3fr so we have

play13:37

three columns now for the tablet version

play13:38

we need to have two columns so let's

play13:40

scroll down and here we'll just type

play13:43

footer

play13:44

links container

play13:45

and let's type grid template columns

play13:48

and let's set it to 1fr 1fr for two

play13:51

columns with the same width and after

play13:53

the third section we need to have full

play13:55

width so if you go back to our

play13:56

index.html file for the footer we have

play13:59

this links container and in that we have

play14:01

divisions with the class of links so we

play14:03

can see we have three divisions with the

play14:05

class of links now for the last division

play14:07

with the class of links we have to have

play14:08

a width of hundred percent

play14:10

so let's go back over here to stylor css

play14:12

and let's type

play14:14

footer links container

play14:16

links

play14:18

colon last child and here we just type

play14:20

background and red we can see we have a

play14:24

width of 50

play14:25

now since we have set the display to

play14:27

grid we have the first links division

play14:29

over here and then we have the second

play14:31

links division and then we have the

play14:32

third links division over here and this

play14:34

is the space for the fourth one now we

play14:36

have to span this third division

play14:38

for two columns so here let's type grid

play14:41

column

play14:42

and we have to type one forward slash

play14:45

three now it will span two columns so

play14:48

now we can see we have hundred percent

play14:50

width

play14:51

right now let's remove this background

play14:52

color

play14:53

and that's it with the footer of our

play14:55

tablet version and with that we have

play14:57

completed the design of the tablet

play14:59

version

play15:00

so this is how it looks we have the hero

play15:02

section over here

play15:04

then we have the testimonials section

play15:05

and then the courses section the get our

play15:07

app section and the footer so everything

play15:09

looks all right all right that's it for

play15:11

this video if you have any doubts you

play15:12

can ask in the comments below and if you

play15:14

like this video please click on the like

play15:15

button and subscribe to this channel to

play15:17

get the latest video updates thanks a

play15:18

lot for watching have a nice day

play15:22

[Music]

play15:37

you

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Web DevelopmentResponsive DesignHTML CodingCSS StylingJavaScriptTablet VersionTutorial SeriesFigma DesignLayout AdjustmentMobile OptimizationWeb Tutorial