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

GTCoding
1 Jan 202216:06

Summary

TLDRThis tutorial video guides viewers through converting a sigma design into a responsive mobile website using HTML, CSS, and JavaScript. Starting with a media query for screens under 700 pixels, the instructor demonstrates adjusting padding, widths, and layout for mobile devices. Key elements like buttons, nav bars, and images are repositioned and resized to fit the mobile view, ensuring a user-friendly and visually appealing design on smaller screens. The video concludes with a fully styled mobile version, showcasing the hero section, menu, testimonials, courses, and footer.

Takeaways

  • 🌐 The tutorial series focuses on converting a sigma design into a functional website using HTML, CSS, and JavaScript.
  • πŸ“± The video specifically addresses the design adjustments required for the mobile version of the website, targeting screens with a max width of 700 pixels.
  • πŸ”§ The presenter demonstrates how to create and apply a media query for the mobile version to ensure responsive design.
  • πŸ“ Adjustments are made to padding and widths of elements to fit the mobile layout, such as setting the wrapper padding to 32 pixels and changing paragraph width to 100%.
  • πŸ”„ The orientation of buttons is changed from horizontal to vertical by setting the flex direction to column within the 'app buttons' container.
  • πŸ“‰ Padding adjustments are made to the 'mobile nav' and its scrolled state to better fit the mobile screen dimensions.
  • πŸ“ The positioning of the close button within the mobile menu is corrected to align to the right side of the screen.
  • 🎨 The styling of headings and other elements like achievement cards is adjusted according to the Figma design specifications.
  • πŸ–ΌοΈ Image dimensions are modified to fit the mobile layout, including resizing and repositioning within their containers.
  • πŸ“ Text sizes and margins within various sections such as testimonials and courses are fine-tuned to match the design mockup.
  • πŸ”š The footer is restructured from a multi-column layout to a single column with centered content and adjusted button positioning for mobile readability.

Q & A

  • What is the main focus of the tutorial series?

    -The tutorial series focuses on converting a sigma design into a real website using HTML, CSS, and JavaScript.

  • What was the first step taken in the mobile version design process?

    -The first step was to create a media query for the mobile version with a max-width of 700 pixels.

  • How does the speaker select a mobile device for testing in the browser?

    -The speaker selects a mobile device from the browser's device selection menu, specifically choosing the Pixel 2 XL.

  • What is the initial padding set for the wrapper in the mobile version design?

    -Initially, the padding for the wrapper is set to 32 pixels on the left and right, as per the Figma file.

  • How is the width of the paragraph adjusted for the mobile version?

    -The width of the paragraph is adjusted to 100% to take up the full width of the screen on mobile devices.

  • What CSS property is used to stack the buttons vertically in the mobile version?

    -The 'flex-direction' property is set to 'column' to stack the buttons vertically.

  • How is the mobile navigation padding adjusted for different scroll states?

    -The padding is set to 32 pixels initially, and when scrolled, it changes to 8 pixels on top and bottom with 32 pixels on the left and right.

  • What changes are made to the position of the close button in the mobile menu?

    -The close button's position is set to 32 pixels from the right side of the screen.

  • How is the hero section's image height adjusted in the mobile version?

    -The image height is reduced from 580 pixels to 400 pixels to better fit the mobile screen size.

  • What is the process for styling the headings in the other sections of the mobile version?

    -The process involves going back to the Figma file to determine the font size, and then applying the same size to the corresponding headings in the CSS file.

  • How does the speaker ensure that the footer is styled correctly for the mobile version?

    -The speaker adjusts the grid layout to a single column, centers the text, and removes padding from the list items to ensure proper styling on mobile devices.

Outlines

00:00

πŸ“± Mobile Version Design Overview

This paragraph introduces the tutorial's focus on converting a sigma design into a responsive mobile version using HTML, CSS, and JavaScript. The speaker begins by creating a media query for screens with a maximum width of 700 pixels, adjusting the padding of the wrapper to match the Figma design specifications. The tutorial proceeds with resizing elements, repositioning buttons, and ensuring the mobile navigation bar and close button are correctly styled and positioned. The speaker also discusses adjusting the heading font size and image dimensions to fit the mobile layout.

05:03

🎨 Styling Mobile UI Elements

The second paragraph delves into the detailed styling of various UI elements for the mobile version. It covers adjusting the padding and margins of achievement cards, positioning images, and modifying the layout of the hero section. The speaker also discusses changes to the testimonial section, including font size adjustments and image sizing. The paragraph concludes with the styling of the 'Our Courses' section, emphasizing the removal of padding from course cards and the correct positioning of buttons.

10:05

πŸ”§ Final Touches for Mobile Layout

In this paragraph, the speaker focuses on the final adjustments for the mobile layout, including the 'Get Our App' and footer sections. The speaker describes how to modify the grid layout of the footer to a single column, center-align the content, and adjust the button positioning to be below the input field. Additionally, the paragraph covers styling the copyright section with appropriate margins and text alignment, ensuring a cohesive mobile user experience.

15:06

πŸ‘‹ Wrapping Up the Mobile Design Tutorial

The final paragraph summarizes the completion of the mobile version design, showcasing the hero section, menu button functionality, testimonials, courses, 'Get Our App' section, and footer. The speaker invites viewers to ask questions in the comments, encourages liking and subscribing for updates, and thanks the audience for watching, concluding the tutorial with a sign-off and background music.

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 webpage using a variety of tags and attributes. In the video's context, HTML is used to convert the sigma design into a real website, providing the basic building blocks for the mobile version of the site.

πŸ’‘CSS

CSS stands for Cascading Style Sheets, a language used for describing the presentation of a document written in HTML or XML. In the video, CSS is essential for designing the mobile version of the website, controlling layout, colors, and fonts to ensure the site is visually appealing and functional on smaller screens.

πŸ’‘JavaScript

JavaScript is a high-level, often just-in-time compiled programming language that is commonly used for client-side web development. Although not explicitly mentioned in the script, JavaScript would typically be used alongside HTML and CSS to add interactivity to the website, such as handling events and manipulating the DOM.

πŸ’‘Media Query

A media query is a CSS technique used to apply different style rules for different devices based on characteristics such as width, height, and orientation. In the script, a media query is created for a max-width of 700 pixels to ensure the website's design adapts to mobile screens.

πŸ’‘Mobile Version

The mobile version of a website refers to the layout and design specifically optimized for viewing on mobile devices. The video's tutorial focuses on creating this version, adjusting elements like padding, width, and button layout to fit smaller screens as illustrated by the changes made for the 'wrapper' and 'paragraph' elements.

πŸ’‘Figma

Figma is a cloud-based interface design tool and design collaboration platform. In the script, Figma is used to reference the original design of the website, with the presenter checking dimensions and padding for elements like the 'wrapper' and 'achievement cards' to ensure accuracy in the mobile design.

πŸ’‘Padding

Padding in web design refers to the space between the content of an element and its border. The script describes adjusting padding for the 'wrapper' and 'mobile nav' to better fit the mobile layout, such as setting padding to 32 pixels on the left and right for the 'wrapper'.

πŸ’‘Flexbox

Flexbox is a CSS layout module that makes it easier to design flexible responsive layout structures without using float or positioning. In the video, 'display: flex;' and 'flex-direction: column;' properties are used to stack buttons vertically for the mobile version, ensuring they fit the screen properly.

πŸ’‘Grid

CSS Grid Layout is a two-dimensional layout system in CSS that handles both rows and columns. The script mentions changing 'grid-template-columns' from '1fr 1fr' to '1fr' for the footer to create a single column layout on mobile devices, which simplifies the layout for smaller screens.

πŸ’‘Responsive Design

Responsive design is an approach to web design that makes web pages render well on different devices and screen sizes, usually by using fluid layouts, flexible images, and CSS media queries. The entire video is about creating a responsive design for a mobile version of a website, as seen with the adjustments to the layout, images, and navigation.

πŸ’‘Inspect Element

Inspect Element is a feature in web browsers that allows users to view and edit the HTML, CSS, and JavaScript of a webpage live. The script describes using 'Inspect Element' to identify CSS selectors and properties like 'font-size' and 'margin-bottom' for various elements to modify them for the mobile design.

Highlights

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

Completion of the tablet version design in the previous video.

Starting the design for the mobile version with a max-width media query set at 700 pixels.

Browser testing using a mobile device selection to visualize the initial mobile layout.

Adjusting the wrapper padding to 32 pixels for the mobile version based on Figma design.

Modifying the paragraph width to 100% to fit the mobile screen.

Rearranging buttons to stack vertically for mobile screen compatibility.

Reducing the mobile navigation padding to match the Figma design specifications.

Styling the mobile menu's close button and positioning it correctly on the screen.

Adjusting the heading font size to 36 pixels as per the design mockup.

Changing the image height to 400 pixels and adjusting its position within the layout.

Styling achievement cards with appropriate font sizes and spacing.

Aligning elements in the hero section to match the mobile design mockup.

Styling section headings with a font size of 30 pixels for consistency.

Customizing testimonial card elements to fit the mobile layout.

Adjusting the courses section to remove padding and ensure full-width course cards.

Styling the footer to have a single column layout with centered content.

Final touches on button positioning and copyright text alignment in the footer.

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

Invitation for viewers to ask doubts in the comments and to subscribe for updates.

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:04

using html css and javascript now in the

play00:07

previous video we completed the design

play00:09

of the tablet version now in this video

play00:11

we will design the mobile version so

play00:12

let's get started

play00:14

[Music]

play00:19

all right here's the source code so the

play00:21

first thing i'll do is i'll just create

play00:22

a media query

play00:24

so i'll just type at media and for the

play00:26

mobile version we will have a max width

play00:28

of 700 pixels so let's type 700 pixels

play00:31

now whenever the screen width is less

play00:32

than 700 pixels all the css that we have

play00:35

over here will be added to the web page

play00:37

right now let's go to our browser and uh

play00:39

let's select a mobile device from here

play00:41

so i'll just select pixel to excel

play00:44

all right this is how the mobile version

play00:46

looks right now

play00:47

so the first thing we will do is we will

play00:49

set a padding for the wrapper

play00:52

so right now we have a padding of 100

play00:54

pixels so if you scroll up and if you go

play00:57

to the media query for the ipad version

play01:00

here we can see for the wrapper we have

play01:01

set a padding of 100 pixels for left and

play01:03

right so let's scroll down and here we

play01:06

will add

play01:07

some padding to the wrapper so let's tap

play01:09

wrapper

play01:10

and let's go to our figma file

play01:13

and let's see what is the padding so

play01:15

if we just double click over here

play01:17

and if you press alt or option you can

play01:19

see that we have a padding of 32 pixels

play01:23

on the left and the right so let's go

play01:25

back to our

play01:26

css and here let's type padding of zero

play01:29

for top and bottom and 32 pixels left

play01:31

and right

play01:32

and now we can see we have a padding of

play01:34

32 pixels now the next thing we will do

play01:36

is we will reduce the width of this

play01:37

paragraph

play01:39

so if i click over here and click on

play01:41

inspect

play01:42

here we can see for the paragraph we

play01:43

have set a width of 457 pixels so i'll

play01:46

just remove this from here and we will

play01:48

set a width of 100 percent so let's copy

play01:51

this selector

play01:52

and let's go back and paste it over here

play01:55

and here i'll just type width of 100

play01:59

and now we can see we have 100 width for

play02:01

the paragraph

play02:02

and now here we can see that the width

play02:03

of these elements are not 100 percent of

play02:05

the width of the screen

play02:07

so if we scroll down we can see that we

play02:09

have these two buttons over here so

play02:11

these two buttons are taking up a lot of

play02:13

width

play02:14

so let's go back to our figma file and

play02:16

if we scroll down we can see that both

play02:18

the buttons are one below the other

play02:20

so let's go back to our css and let's do

play02:22

that so let's select these buttons so

play02:24

i'll just right click over here and

play02:25

click on inspect

play02:27

and let's select the container division

play02:28

which is app buttons so just copy the

play02:31

selector

play02:32

and here we can see we have added a

play02:33

display of flex

play02:35

so we have to set the flex direction to

play02:37

column so i'll just paste it over here

play02:41

and here i'll just have flex direction

play02:43

column and now we can see we have the

play02:45

correct width for all the elements in

play02:47

our mobile version

play02:48

all right now the next thing we will do

play02:50

is we will reduce the padding of this

play02:52

mobile nav

play02:53

so for that we have a nav

play02:56

with a class of mobile nav

play02:58

so here we can see we have this mobile

play02:59

now so let's select that

play03:02

so here just type

play03:03

nav dot mobile nav and i'll just set the

play03:06

padding to 32 pixels

play03:09

and now when we scroll down we have a

play03:10

padding of 100 pixels for left and right

play03:13

so let's add a padding of 32 pixels when

play03:15

we scroll down as well so when we scroll

play03:17

down we are adding a class called

play03:18

scrolled so i'll just type nav

play03:21

dot mobile nav dot scroll

play03:24

and when we scroll down we will have a

play03:26

padding of 8 pixels top and bottom and

play03:28

32 pixels left and right

play03:30

so now we can see it looks alright

play03:32

now if i click on this menu icon we can

play03:34

see that the menu items are displayed

play03:36

over here

play03:37

and we also need to have the close

play03:40

button positioned over here to the right

play03:42

so for the close button we have

play03:44

a division of the class of close icon

play03:47

and it is inside mobile menu container

play03:49

so let's select this

play03:51

here i'll just type

play03:52

mobile menu container

play03:54

close icon

play03:56

and let's set the right position to 32

play03:58

pixels

play03:59

right now we have the close button in

play04:00

the correct position

play04:02

all right now the next thing we will do

play04:03

is style this heading

play04:05

so let's go back to our figma file

play04:07

and let's go to the heading

play04:09

and let's double click on this heading

play04:11

and if you go to inspect

play04:13

and scroll down we can see we have a

play04:16

font size of 36 pixels so let's copy

play04:18

this

play04:19

and let's go back to our css

play04:22

and i'll just select the heading so if

play04:24

you go back to our browser and if you

play04:26

right click over here and click on

play04:27

inspect

play04:28

here we can see for the heading we have

play04:30

the selector hero section left h1 so

play04:33

just copy this

play04:35

and i'll just paste it over here

play04:37

and

play04:38

let's copy this

play04:39

font size

play04:41

and let's paste it over here

play04:43

all right now the next thing we will do

play04:45

is we will reduce the height of this

play04:46

image

play04:48

so let's right click over here on the

play04:49

image and click on inspect

play04:51

and for the image we have this selector

play04:53

so i'll just copy this and right now the

play04:56

height is set to 580 pixels

play04:59

so just paste it over here

play05:02

and let's try a height of 400 pixels

play05:06

and i think that looks alright we'll

play05:08

also move this image to the right a

play05:09

little bit so the image is inside this

play05:11

right division so let's select this

play05:12

right division

play05:14

so let's type hero section

play05:16

right

play05:17

and we'll type transform

play05:19

translate

play05:20

x

play05:21

and we will set it to 40 pixels

play05:24

now let's style these achievement cards

play05:26

so let's go back to our figma file and

play05:29

let's select this heading

play05:30

and here we can see for the heading we

play05:32

have a font size of 30 pixels

play05:34

so let's go back

play05:36

and

play05:37

let's select the heading so just right

play05:38

click over here and click on inspect

play05:41

and let's copy this selector

play05:43

and let's paste it over here

play05:45

and i'll just type font size

play05:48

30 pixels

play05:49

and we'll also reduce the margin between

play05:51

these two elements

play05:53

so let's go back to our figma file

play05:55

and here we can see we have a spacing of

play05:57

48 pixels

play05:59

so let's go back and if you right click

play06:00

over here and click on inspect

play06:03

and let's select this achievement card

play06:04

and here we can see we have a margin

play06:06

bottom of 80 pixels

play06:08

so let's copy this selector and we have

play06:11

to set it to 48 pixels

play06:13

so i'll just paste it over here

play06:15

and i'll just tap margin bottom

play06:17

48 pixels

play06:20

now let's go back to our figma file and

play06:22

here we can see

play06:23

these two achievement cards are

play06:25

positioned to the left so from the left

play06:27

we have a padding of 32 pixels

play06:30

so let's go back and if you right click

play06:32

over here on the achievement card and

play06:34

click on inspect

play06:36

and if we select the container division

play06:38

we can see we have added a margin of 40

play06:40

pixels

play06:41

so let's remove that

play06:43

so i'll just copy this selector

play06:45

and paste it over here

play06:49

and i'll just set the margin to zero

play06:52

and i think we can position the image to

play06:53

the right a little bit

play06:55

so here in the right division i'll just

play06:57

change this to let's say 80 pixels

play07:00

and now we can see that the image has

play07:02

moved to the right but uh here we can

play07:04

see we also have this space on the right

play07:06

because of the image

play07:08

so what we will do is i'll just cut this

play07:10

from here

play07:11

and i'll just paste it over here inside

play07:13

the img tag and here in the right

play07:15

division i'll just type overflow hidden

play07:18

and let's decrease

play07:20

this a little bit let's set it to

play07:22

let's say 50 pixels

play07:24

and now we can move this right division

play07:26

to the right

play07:27

so i'll just type transform translate x

play07:32

and let's start with 30 pixels

play07:35

and i think that looks alright

play07:38

or that's it with the hero section of

play07:40

our mobile device

play07:41

now let's scroll down and let's start

play07:43

styling the other sections and the first

play07:45

thing we will do is style these headings

play07:47

so let's go back to our figma file and

play07:50

let's double click on this heading and

play07:52

let's go to inspect and if we scroll

play07:54

down we can see for the heading we have

play07:56

a font size of 30 pixels

play07:58

so let's copy this

play08:00

and let's go back to our css and here

play08:03

i'll just type h2

play08:04

because

play08:05

if we go back to our html file

play08:08

we can see we have h2 for all the

play08:09

headings inside

play08:11

the sections

play08:12

so here we can see we have the h2 so

play08:15

let's go back and let's set the font

play08:17

size to 30 pixels

play08:20

right now let's style the elements of

play08:22

this testimonial card so let's go back

play08:24

to our figma file and let's double click

play08:26

over here and

play08:28

let's see what is the font size of this

play08:29

text

play08:30

so if you go to inspect we can see that

play08:33

we have a font size of 18 pixels

play08:35

let's go back to our browser and let's

play08:38

see what the font size

play08:41

and we already have a font size of 18

play08:43

pixels right now let's select this

play08:45

heading

play08:47

and for the heading we have a font size

play08:49

of 18 pixels so let's go back to our

play08:50

browser and let's select the heading

play08:54

and for the heading we have a font size

play08:56

of 24 pixels so we have to change this

play08:58

to 18 pixels so let's copy this selector

play09:02

and let's go back to our

play09:04

css

play09:05

and here i'll just paste the selector

play09:08

and i'll just type font size 18 pixels

play09:12

right now let's go back to our sigma

play09:13

file and let's select this text

play09:15

and for that we have a font size of 14

play09:18

pixels let's go back to our browser and

play09:21

let's copy the selector so i'll just

play09:23

right click over here and click on

play09:25

inspect

play09:26

and let's copy this selector

play09:28

and let's paste it over here

play09:33

and let's set a font size of 14 pixels

play09:38

right now let's go back and let's see

play09:39

what's the size of this image so let's

play09:41

double click over here and for the image

play09:43

we have a height and a width of 100

play09:45

pixels

play09:46

so let's go back

play09:49

and let's right click over here and

play09:50

click on inspect

play09:52

and here we can see we have set a height

play09:54

of 120 pixels so let's copy this

play09:55

selector

play09:58

and let's paste it over here

play10:02

and here let's type height of

play10:05

100 pixels and width of 100 pixels

play10:08

or that's it with the testimonial

play10:09

section now let's move on to the next

play10:11

section which is the our courses section

play10:13

now let's go back to our figma file

play10:16

and if we scroll down we can see that

play10:17

for the courses section we don't have

play10:19

any padding at the sides for these

play10:21

course cards so let's go back to our

play10:24

html and here we can see if we scroll

play10:27

down we can see for the courses section

play10:29

we have this section over here called

play10:30

courses section and in that we have the

play10:32

wrapper so what we will do is we will

play10:34

remove the padding from the wrapper

play10:36

inside the courses section

play10:38

so let's go to style.css file and let's

play10:40

select the wrapper inside the courses

play10:42

section so i'll just type courses

play10:43

section wrapper and i'll just set the

play10:45

padding to zero

play10:47

and now we can see we don't have any

play10:48

padding for

play10:49

the course cards now let's see what is

play10:51

the height of this image so let's go

play10:53

back to our figma file and let's double

play10:55

click on this image and we can see we

play10:57

have a height of 240 pixels so let's go

play11:00

back and let's add that over here so

play11:02

let's right click over here and click on

play11:03

inspect

play11:05

and let's copy this selector for the

play11:07

image

play11:08

and let's paste it over here

play11:12

and here i'll just have height of 240

play11:14

pixels

play11:17

and the last thing we will do is we will

play11:19

position this button to the right so we

play11:22

will have a spacing of 32 pixels from

play11:23

the right

play11:25

so here we can see

play11:27

from the button we have a space of 32

play11:29

pixels so let's go back

play11:31

and let's select this button so i'll

play11:33

just right click over here and click on

play11:34

inspect

play11:36

and here we have the selector for the

play11:37

button so i'll just copy this selector

play11:39

and i'll just paste it over here

play11:42

and let's set the right position to 32

play11:44

pixels

play11:45

and that looks alright so that's

play11:46

basically with the courses section of

play11:48

our mobile version

play11:50

now scroll down and we already styled

play11:52

the get our app section so let's scroll

play11:55

down and let's style the footer now if

play11:57

you go back to our figma file we can see

play11:59

that for the footer we have just one

play12:01

column

play12:02

and everything is aligned to the center

play12:04

so let's go back to our

play12:06

browser and let's right click over here

play12:09

and click on inspect

play12:10

and if you go inside the footer we can

play12:12

see we have a division with the class of

play12:14

links container and for that we have set

play12:16

a display of grid and

play12:18

if we scroll down we can see that we are

play12:19

adding grid template columns of 1fr 1fr

play12:22

which means that there will be two

play12:24

columns so let's change this to one fr

play12:27

so it will just have one column so i'll

play12:29

just copy this selector

play12:31

and let's go back to our css and i'll

play12:33

just paste it over here and here i'll

play12:35

just type grid template columns

play12:37

and set it to one fr

play12:39

and now we can see we still have two

play12:40

columns over here that's because uh for

play12:43

the third column we have spanned it for

play12:44

two columns so if you right click over

play12:46

here and click on inspect and select

play12:48

this third links

play12:50

and here we can see we have set grid

play12:51

columns to one forward slash three which

play12:55

means that it will span for two columns

play12:57

so we have to change this to one forward

play12:59

slash two

play13:00

so let's copy this selector

play13:03

and let's paste it over here

play13:07

and here let's type grid column

play13:09

and one forward slash two

play13:12

and now we can see we just have one

play13:13

column

play13:15

right now let's also center align

play13:16

everything so here in the links

play13:18

container i'll just type text align and

play13:20

set it to center

play13:24

we'll also remove the padding that we

play13:25

have for the ul so if i click over here

play13:27

and click on inspect

play13:29

and

play13:30

if we select the ul and if we scroll

play13:32

down we can see that we have some

play13:34

padding over here on the left

play13:37

so let's remove the padding so here i'll

play13:38

just have footer ul and let's set the

play13:41

padding to zero and we'll also add some

play13:43

gap between these links so here i'll

play13:46

just type gap and set it to 40 pixels

play13:49

and that looks all right

play13:51

right now let's style this button so

play13:54

let's go back to our figma file and here

play13:56

we can see we have the button at the

play13:57

bottom of the input field

play14:00

so let's go back to our browser and

play14:03

let's right click over here on the

play14:04

button and

play14:06

click on inspect

play14:07

and if we scroll up we can see that

play14:09

these are the styles for the button

play14:11

and we have set the right position to

play14:13

five and top position to 50 so that's

play14:16

why the button is over here on the right

play14:18

so let's copy this selector

play14:20

and let's go back over here to css and i

play14:22

just pasted it over here

play14:26

and let's set the top position to 130

play14:28

percent

play14:28

so it will be below the input field and

play14:31

we'll also bring it to the center so

play14:33

let's type left and i'll just set it to

play14:36

50

play14:37

and now we can see it starts from the 50

play14:39

mark so we have to type transform

play14:42

translate x and negative 50

play14:46

and now we can see that the button is

play14:47

positioned correctly right now the last

play14:49

thing we will do is we'll style this

play14:50

copyright division so if we go back to

play14:52

our index.html file here we can see we

play14:54

have this paragraph with the class of

play14:56

copyright so let's select this so here

play14:58

i'll just type

play15:00

footer copyright

play15:03

and we will have some margin top so

play15:05

let's type margin top

play15:07

and we'll set the margin top to

play15:09

80 pixels and we'll also text align it

play15:12

to the center

play15:13

and that looks alright so with that we

play15:15

have completed the design of the mobile

play15:16

version here we can see we have the hero

play15:18

section and we also have this menu

play15:20

button over here and if i click on that

play15:23

we can see that the menu items are

play15:24

displayed over here and if i click on

play15:26

this close button it goes back and let's

play15:28

scroll down and here we have the

play15:30

testimonials section and let's scroll

play15:31

down we have the courses section

play15:34

and then we have the get our app section

play15:36

and then we have the footer so

play15:37

everything is looking all right all

play15:39

alright so that's it for this video if

play15:40

you have any doubts you can ask in the

play15:41

comments below and if you like this

play15:43

video please click on the like button

play15:44

and subscribe to this channel to get the

play15:45

latest video updates thanks a lot for

play15:47

watching have a nice day

play15:51

[Music]

play16:06

you

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

5.0 / 5 (0 votes)

Related Tags
Web DevelopmentResponsive DesignHTML5CSS3JavaScriptMobile VersionTutorial SeriesFigma DesignMedia QueriesUI/UXCoding Tutorial