< Return to Video

Bootstrap in Dreamweaver for beginners (Part 2)

  • 0:00 - 0:03
    Hello everyone. Uh, in part one of this
  • 0:03 - 0:06
    video, uh, we made really basic responsive
  • 0:06 - 0:09
    website using Dreamweaver. It was a very,
  • 0:09 - 0:11
    very basic structure. So, today we're
  • 0:11 - 0:15
    going to stylize it using css, and then
  • 0:15 - 0:17
    also we're going to develop,
  • 0:17 - 0:20
    um, hyperlinked multiple pages in
  • 0:20 - 0:21
    Dreamweaver.
  • 0:21 - 0:24
    If you have missed my part one of this
  • 0:24 - 0:26
    video, uh, please watch it first. It's
  • 0:26 - 0:28
    gonna be more helpful.
  • 0:28 - 0:29
    So, um,
  • 0:29 - 0:32
    don't forget to subscribe my channel and
  • 0:32 - 0:35
    set the notification for my latest video,
  • 0:35 - 0:38
    and let's get started.
  • 0:40 - 0:43
    Okay, so, this is the where we stopped, uh,
  • 0:43 - 0:46
    last time, so basic structure.
  • 0:46 - 0:48
    So, let's take a look.
  • 0:48 - 0:51
    First, let me preview it on our browser.
  • 0:51 - 0:54
    So, this is what we did.
  • 0:54 - 0:56
    Okay, so, one single page,
  • 0:56 - 0:59
    uh, nothing special,
  • 0:59 - 1:02
    but it is responsive.
  • 1:02 - 1:04
    Okay, so, um, first we're gonna change the
  • 1:04 - 1:06
    background to color,
  • 1:06 - 1:09
    solid color with the gradient,
  • 1:09 - 1:12
    or the actual jpeg file images, tiled
  • 1:12 - 1:16
    image, so let's do that. So, first I'm on
  • 1:16 - 1:17
    my
  • 1:17 - 1:19
    index.html and then
  • 1:19 - 1:22
    we're going to make a styles
  • 1:22 - 1:25
    stylesheet, cascading stylesheet.
  • 1:25 - 1:26
    So, first,
  • 1:26 - 1:28
    go to
  • 1:28 - 1:31
    your css designer panel.
  • 1:31 - 1:33
    Okay.
  • 1:33 - 1:34
    And then
  • 1:34 - 1:38
    we're gonna make a new css
  • 1:38 - 1:39
    style file.
  • 1:39 - 1:42
    Create a new one,
  • 1:42 - 1:45
    and just to name it, it could be any name,
  • 1:45 - 1:50
    but, I'm normally style.css.
  • 1:50 - 1:53
    And ok.
  • 1:53 - 1:56
    So now,
  • 1:56 - 1:58
    see that? We have a new style.css file
  • 1:58 - 2:00
    attach it already.
  • 2:00 - 2:03
    Now, let me change the background color
  • 2:03 - 2:04
    first.
  • 2:04 - 2:06
    So, now in your dom
  • 2:06 - 2:07
    panel,
  • 2:07 - 2:10
    I'm gonna change
  • 2:10 - 2:13
    the background color
  • 2:13 - 2:15
    in your the container fluid, that's the
  • 2:15 - 2:18
    the first one we created last time.
  • 2:18 - 2:21
    Now, go to your selectors panel,
  • 2:21 - 2:23
    click on the plus.
  • 2:23 - 2:26
    You see the container fluid.
  • 2:26 - 2:28
    Add it,
  • 2:28 - 2:31
    and choose that.
  • 2:32 - 2:35
    Now, in your properties panel,
  • 2:35 - 2:37
    we're gonna change your background to
  • 2:37 - 2:40
    color first. So, background.
  • 2:40 - 2:43
    If you want to change the solid back, I
  • 2:43 - 2:45
    want to have a solid background color,
  • 2:45 - 2:48
    just click here, and choose color you
  • 2:48 - 2:51
    like to use.
  • 2:52 - 2:54
    Maybe something like that.
  • 2:54 - 2:56
    Anything's fine.
  • 2:56 - 2:59
    Uh, since this is my favorite, um, orange
  • 2:59 - 3:00
    color,
  • 3:00 - 3:01
    I'm gonna
  • 3:01 - 3:05
    copy this xcode.
  • 3:05 - 3:07
    Okay.
  • 3:07 - 3:09
    So, see? My background the color is
  • 3:09 - 3:12
    updated.
  • 3:12 - 3:14
    So, to view this, uh,
  • 3:14 - 3:17
    as an updated version, go to select your
  • 3:17 - 3:19
    style.css tab.
  • 3:19 - 3:21
    Save it.
  • 3:21 - 3:23
    Save as.
  • 3:23 - 3:25
    Just to make sure, in your root folder,
  • 3:25 - 3:28
    you see that your style.css is already
  • 3:28 - 3:30
    added to your root folder.
  • 3:30 - 3:33
    So save it, replace it.
  • 3:33 - 3:36
    Let me go back to inbox.html by source
  • 3:36 - 3:38
    code.
  • 3:38 - 3:41
    I'm going to save it again just in case,
  • 3:41 - 3:44
    and let's preview it
  • 3:44 - 3:48
    on my google chrome. Oh, sorry,
  • 3:48 - 3:50
    not this one.
  • 3:52 - 3:54
    Index.htc.
  • 3:54 - 3:57
    It is all already updated. So, this is the
  • 3:57 - 4:00
    how to change, the, uh, uh,
  • 4:00 - 4:02
    the solid background color.
  • 4:02 - 4:04
    Now I want to use,
  • 4:04 - 4:07
    uh, where's my Dreamweaver?
  • 4:07 - 4:09
    Uh, some tiled image, so, um, please
  • 4:09 - 4:12
    download the images the, uh, images folder
  • 4:12 - 4:16
    I, uh, provided in my, um, my description.
  • 4:16 - 4:19
    So, um, you will see that there's a one, uh,
  • 4:19 - 4:23
    background image called the pg.jpg. it's
  • 4:23 - 4:26
    a kind of a small file, square image.
  • 4:26 - 4:28
    So, what we're going to do, let me show
  • 4:28 - 4:31
    you that image first. That is
  • 4:31 - 4:34
    pg.jpg, this one.
  • 4:34 - 4:37
    Okay? So we're going to tile it for the
  • 4:37 - 4:40
    background. So this could be any image.
  • 4:40 - 4:44
    So, now same thing. Still I'm on the, um, my
  • 4:44 - 4:48
    style.css selected container fluid,
  • 4:48 - 4:51
    this time, background.
  • 4:51 - 4:56
    Instead of using this background color,
  • 4:56 - 4:59
    background image,
  • 4:59 - 5:01
    let me scroll down a little bit,
  • 5:01 - 5:03
    url
  • 5:03 - 5:05
    is,
  • 5:05 - 5:07
    I'm browsing
  • 5:07 - 5:09
    from my root
  • 5:09 - 5:11
    and pg.jpg.
  • 5:11 - 5:12
    Open it. See?
  • 5:12 - 5:15
    Let me save my css style stylesheet
  • 5:15 - 5:16
    first.
  • 5:16 - 5:17
    Save it.
  • 5:17 - 5:20
    So, it is updated already. Let me check
  • 5:20 - 5:23
    and refresh my page.
  • 5:23 - 5:24
    See?
  • 5:24 - 5:28
    So I have a tiled image.
  • 5:28 - 5:30
    Next one,
  • 5:30 - 5:32
    this time I'm going to change
  • 5:32 - 5:34
    my background to color as a gradient
  • 5:34 - 5:35
    color.
  • 5:35 - 5:38
    So, uh, in my background
  • 5:38 - 5:42
    I don't want to use
  • 5:43 - 5:45
    that image.
  • 5:45 - 5:47
    Instead of that,
  • 5:47 - 5:49
    you will see that the gradient panel,
  • 5:49 - 5:51
    click there,
  • 5:51 - 5:54
    I'm gonna have some really subtle, uh,
  • 5:54 - 5:57
    gradient, so, remember that I copied the
  • 5:57 - 6:00
    hex code. So, go to hex,
  • 6:00 - 6:02
    paste that color.
  • 6:02 - 6:05
    I'm gonna paste it another same color on
  • 6:05 - 6:07
    the bottom.
  • 6:07 - 6:10
    Command V, and let me add a new color in
  • 6:10 - 6:11
    the middle.
  • 6:11 - 6:13
    That's going to be white.
  • 6:13 - 6:16
    Just like that.
  • 6:16 - 6:19
    So, my background gradient is
  • 6:19 - 6:22
    applied. So, go to file,
  • 6:22 - 6:23
    um,
  • 6:23 - 6:27
    select your style.css, update it, save it,
  • 6:27 - 6:29
    and let me check
  • 6:29 - 6:32
    my web browser. Refresh.
  • 6:32 - 6:34
    So, I have a gradient background. I think
  • 6:34 - 6:37
    this looks better.
  • 6:39 - 6:41
    Okay.
  • 6:41 - 6:43
    All right, so, next, uh, this time I'm gonna
  • 6:43 - 6:46
    change the background color of that
  • 6:46 - 6:48
    the nav bar on top.
  • 6:48 - 6:52
    So, back to Dreamweaver.
  • 6:52 - 6:53
    My, uh,
  • 6:53 - 6:55
    index.html.
  • 6:55 - 6:57
    So, let me
  • 6:57 - 7:00
    make my, um, the map simpler.
  • 7:00 - 7:03
    So, under my container fluid I have a
  • 7:03 - 7:05
    container,
  • 7:05 - 7:06
    and under container,
  • 7:06 - 7:11
    the very first one was my nav bar.
  • 7:11 - 7:14
    So, that's my navigation bar on top.
  • 7:14 - 7:17
    Same thing, same way.
  • 7:17 - 7:18
    Check,
  • 7:18 - 7:21
    uh, your sources is going to be style.css,
  • 7:21 - 7:24
    and also I'm going to add a new
  • 7:24 - 7:25
    selectors,
  • 7:25 - 7:27
    which is my nav bar,
  • 7:27 - 7:30
    by clicking on this plus button.
  • 7:30 - 7:32
    So, it is added.
  • 7:32 - 7:33
    See?
  • 7:33 - 7:36
    So, select this selector,
  • 7:36 - 7:37
    background color.
  • 7:37 - 7:40
    I'm gonna have a background color as a
  • 7:40 - 7:43
    gradient this time as well.
  • 7:43 - 7:46
    So, let me scroll down,
  • 7:46 - 7:48
    gradient option, choose it. I'm going to
  • 7:48 - 7:49
    have,
  • 7:49 - 7:51
    on top,
  • 7:51 - 7:53
    black.
  • 7:53 - 7:55
    On bottom point,
  • 7:55 - 7:58
    kind of a dark gray.
  • 7:58 - 8:00
    Like that.
  • 8:00 - 8:03
    So, it is applied.
  • 8:03 - 8:04
    But we can,
  • 8:04 - 8:07
    let me change update my style.css.
  • 8:07 - 8:10
    Command S, file,
  • 8:10 - 8:11
    just to save it.
  • 8:11 - 8:14
    Let me check.
  • 8:14 - 8:18
    update it. So it works. But, um, since my
  • 8:18 - 8:20
    background in the nav bar, the background
  • 8:20 - 8:22
    is kind of really dark,
  • 8:22 - 8:24
    so this black texture doesn't work well.
  • 8:24 - 8:27
    So, I'm going to update it. So, back to my
  • 8:27 - 8:29
    index.html,
  • 8:29 - 8:31
    and select the, just maybe one of them,
  • 8:31 - 8:32
    one of your
  • 8:32 - 8:34
    menu.
  • 8:34 - 8:36
    I'm choosing my about button, my second
  • 8:36 - 8:37
    one,
  • 8:37 - 8:42
    and you will see that nav link is
  • 8:43 - 8:46
    um, highlighted.
  • 8:46 - 8:48
    Under style.css,
  • 8:48 - 8:51
    I'm going to add a new selector,
  • 8:51 - 8:53
    and that is added here.
  • 8:53 - 8:56
    Choose that, and just let me change the
  • 8:56 - 8:58
    text color
  • 8:58 - 9:00
    to
  • 9:00 - 9:01
    that
  • 9:01 - 9:03
    orange I made.
  • 9:03 - 9:04
    I copied.
  • 9:04 - 9:06
    So, it is updated.
  • 9:06 - 9:10
    Let me choose my style.css again.
  • 9:10 - 9:11
    Save it,
  • 9:11 - 9:14
    and let me check.
  • 9:14 - 9:17
    Refresh the panel, my web browser,
  • 9:17 - 9:21
    so it is already all updated.
  • 9:21 - 9:23
    Okay, so it's getting better.
  • 9:23 - 9:26
    And next thing is this nav bar. That's
  • 9:26 - 9:29
    the placeholder, uh, for the logo.
  • 9:29 - 9:33
    Uh, so we have two logos, on top, on the
  • 9:33 - 9:37
    nav bar, and then the bottom on the logo,
  • 9:37 - 9:39
    on the footer.
  • 9:39 - 9:41
    So, let's do the kind of same thing. Go
  • 9:41 - 9:42
    back to here,
  • 9:42 - 9:45
    and then select
  • 9:49 - 9:53
    your nav bar image.
  • 9:53 - 9:56
    You will see that in your code area,
  • 9:56 - 9:58
    there's a nav bar.
  • 9:58 - 10:02
    We're going to replace this text
  • 10:02 - 10:04
    with an image, the logo.
  • 10:04 - 10:07
    So, delete the nav bar text. Go to a
  • 10:07 - 10:10
    insert tab,
  • 10:10 - 10:12
    choose the html
  • 10:12 - 10:13
    option,
  • 10:13 - 10:15
    and let's insert
  • 10:15 - 10:18
    the image,
  • 10:19 - 10:21
    and choose the logo.
  • 10:21 - 10:25
    Let's choose the logo, the png file.
  • 10:25 - 10:28
    That is that.
  • 10:28 - 10:29
    Open it.
  • 10:29 - 10:33
    It goes there. It's pretty big. Once it is
  • 10:33 - 10:36
    imported to your nav bar,
  • 10:36 - 10:38
    click on this dm, drop down menu, there's
  • 10:38 - 10:41
    a hamburger button thing.
  • 10:41 - 10:42
    Then
  • 10:42 - 10:44
    i'm going to make it smaller.
  • 10:44 - 10:46
    Uh, make sure you the, uh, constraint chain
  • 10:46 - 10:47
    is linked.
  • 10:47 - 10:50
    Let's try 200,
  • 10:50 - 10:54
    and make image responsive.
  • 10:55 - 10:58
    Yeah, I think that looks good.
  • 10:59 - 11:01
    Okay, let me do the same thing
  • 11:01 - 11:04
    on the bottom of my footer.
  • 11:04 - 11:08
    Okay? So, um, let me scroll down.
  • 11:08 - 11:12
    I'm gonna choose my footer
  • 11:13 - 11:18
    here, and go to css designer.
  • 11:18 - 11:19
    Okay?
  • 11:19 - 11:22
    And then let me add the other, my footer,
  • 11:22 - 11:23
    as a new selector,
  • 11:23 - 11:27
    by clicking on this plus button.
  • 11:27 - 11:31
    So, footer is selected and the background,
  • 11:31 - 11:33
    I will use the same,
  • 11:33 - 11:36
    um, kind of a gradient.
  • 11:36 - 11:38
    So, from
  • 11:38 - 11:40
    black
  • 11:40 - 11:43
    to
  • 11:45 - 11:47
    dark gray.
  • 11:47 - 11:51
    Maybe somewhere like that.
  • 11:52 - 11:54
    Okay?
  • 11:54 - 11:57
    And then also, this logo,
  • 11:57 - 11:59
    which is this,
  • 11:59 - 12:01
    let's see the logo.
  • 12:01 - 12:04
    Delete the logo text
  • 12:04 - 12:06
    like we did on nav bar.
  • 12:06 - 12:09
    Go to insert,
  • 12:09 - 12:10
    html,
  • 12:10 - 12:13
    image,
  • 12:13 - 12:15
    and import,
  • 12:15 - 12:18
    uh, the logo.
  • 12:20 - 12:23
    That png thing.
  • 12:25 - 12:27
    See?
  • 12:27 - 12:29
    I think it is okay size. I may just keep
  • 12:29 - 12:31
    it as it is,
  • 12:31 - 12:33
    and then also
  • 12:33 - 12:35
    the text.
  • 12:37 - 12:39
    This one.
  • 12:39 - 12:41
    It is kind of, um,
  • 12:41 - 12:44
    too, um, maybe
  • 12:44 - 12:49
    the color is almost kind of invisible.
  • 12:49 - 12:52
    So, let me highlight that.
  • 12:52 - 12:54
    Okay? So to change this, the the text
  • 12:54 - 12:57
    color in the footer,
  • 12:57 - 13:00
    select your text which is
  • 13:00 - 13:02
    highlighted here already.
  • 13:02 - 13:07
    Okay? And then add the selector.
  • 13:09 - 13:10
    That is this.
  • 13:10 - 13:12
    Change your text color
  • 13:12 - 13:13
    to
  • 13:13 - 13:16
    maybe white.
  • 13:17 - 13:19
    So, we have a
  • 13:19 - 13:22
    white. If you want to,
  • 13:22 - 13:24
    line in the center,
  • 13:24 - 13:26
    place your mouse cursor right before
  • 13:26 - 13:28
    your text copyright
  • 13:28 - 13:30
    and
  • 13:30 - 13:32
    hit return.
  • 13:32 - 13:35
    So, we can move it down. And let me save
  • 13:35 - 13:38
    it. My style, again,
  • 13:38 - 13:40
    file, save it,
  • 13:40 - 13:42
    and my, um,
  • 13:42 - 13:44
    inbox.
  • 13:44 - 13:46
    I'm going to save it again.
  • 13:46 - 13:49
    And let me double check. Let me refresh
  • 13:49 - 13:51
    my web browser.
  • 13:51 - 13:53
    So, I have a nav bar
  • 13:53 - 13:55
    with the logo and the footer with the
  • 13:55 - 13:58
    logo.
  • 13:58 - 14:02
    So, we make some changes now.
  • 14:02 - 14:05
    Okay.
  • 14:06 - 14:08
    Okay, and one more thing is,
  • 14:08 - 14:11
    let me reduce
  • 14:11 - 14:13
    my window size.
  • 14:13 - 14:17
    As you can see,
  • 14:17 - 14:19
    my hamburger button for the drop down
  • 14:19 - 14:22
    menu is kind of a fading.
  • 14:22 - 14:25
    We know that it is there, but I want to
  • 14:25 - 14:27
    have some kind of better contrast, or
  • 14:27 - 14:29
    maybe a different color for that, the
  • 14:29 - 14:31
    drop down menu button.
  • 14:31 - 14:33
    So, back to here
  • 14:33 - 14:36
    and then scroll up.
  • 14:39 - 14:41
    Let me,
  • 14:44 - 14:47
    re , oh, not here,
  • 14:55 - 14:59
    reduce my window size. You see that?
  • 14:59 - 15:01
    Now choose your nav bar,
  • 15:01 - 15:02
    I mean the end, that dropped hamburger
  • 15:02 - 15:06
    button. See that? Nav bar toggle icon.
  • 15:06 - 15:08
    Toggler.
  • 15:08 - 15:10
    Choose the toggler.
  • 15:11 - 15:12
    Okay.
  • 15:12 - 15:13
    Then
  • 15:13 - 15:14
    same way.
  • 15:14 - 15:16
    Under your
  • 15:16 - 15:17
    dot css,
  • 15:17 - 15:19
    we're adding
  • 15:19 - 15:22
    that network toggler
  • 15:22 - 15:24
    as a new selector.
  • 15:24 - 15:27
    It is added here.
  • 15:27 - 15:30
    Now, change the background color.
  • 15:30 - 15:31
    Let's try something a little bit
  • 15:31 - 15:33
    brighter.
  • 15:33 - 15:36
    Brighter gray.
  • 15:36 - 15:38
    So, it is updated.
  • 15:38 - 15:42
    Let me pull this back, back to original.
  • 15:42 - 15:44
    Let me change my style again.
  • 15:44 - 15:47
    Select your style.css.
  • 15:47 - 15:50
    Save it.
  • 15:50 - 15:53
    And let me
  • 15:53 - 15:55
    refresh.
  • 15:55 - 15:58
    Looks the same, but,
  • 15:58 - 16:01
    see? So, now this, the drop down menu is
  • 16:01 - 16:03
    more visible.
  • 16:05 - 16:07
    Okay. So, just
  • 16:07 - 16:09
    remember that if you want to change a
  • 16:09 - 16:12
    certain section, um,
  • 16:12 - 16:14
    then what you need to do is, for example,
  • 16:14 - 16:16
    if you want to change it this color, this
  • 16:16 - 16:17
    box color,
  • 16:17 - 16:19
    then
  • 16:19 - 16:22
    scroll down,
  • 16:23 - 16:26
    select the object, the element you want
  • 16:26 - 16:27
    to change,
  • 16:27 - 16:30
    and that's the other card
  • 16:31 - 16:33
    button.
  • 16:33 - 16:35
    This is the text.
  • 16:35 - 16:37
    That's the button.
  • 16:37 - 16:40
    Then same thing.
  • 16:40 - 16:43
    Under style.css
  • 16:43 - 16:45
    selectors we add.
  • 16:45 - 16:49
    This is a new selector.
  • 16:50 - 16:52
    Okay? And the background color. I want to
  • 16:52 - 16:54
    choose that they're the same color, the
  • 16:54 - 16:57
    the orange.
  • 16:58 - 17:01
    See? So, it updates everything.
  • 17:01 - 17:05
    So, uh, again, style.css let me resave it,
  • 17:05 - 17:08
    and then let me refresh.
  • 17:08 - 17:11
    So, I have update.
  • 17:12 - 17:13
    Okay.
  • 17:13 - 17:17
    So, we're getting in there.
  • 17:17 - 17:21
    Okay, so, I think I'm pretty much done, uh,
  • 17:21 - 17:23
    maybe so far, for now.
  • 17:23 - 17:26
    And then what I want to do is, I want to
  • 17:26 - 17:29
    make the other pages will be linked
  • 17:29 - 17:34
    about volunteer, adopt, and contact.
  • 17:34 - 17:37
    Okay, but, um, before we make those pages,
  • 17:37 - 17:40
    I'm gonna make a link first.
  • 17:40 - 17:40
    So, um,
  • 17:40 - 17:43
    [Silence]
  • 17:44 - 17:48
    My NH Humane Society, ah, the logo, and then
  • 17:48 - 17:50
    the home button will be used as a home
  • 17:50 - 17:52
    button.
  • 17:52 - 17:55
    About volunteer, adoption, contact, but we
  • 17:55 - 17:57
    don't have those pages yet, so let's make
  • 17:57 - 18:00
    the pages first, real quick.
  • 18:00 - 18:02
    So, go to files,
  • 18:02 - 18:04
    page,
  • 18:04 - 18:05
    okay.
  • 18:05 - 18:07
    Then,
  • 18:07 - 18:10
    hold down the control key,
  • 18:10 - 18:10
    or,
  • 18:10 - 18:15
    uh, right, right click.
  • 18:15 - 18:16
    I'm sorry.
  • 18:16 - 18:20
    I'm on my index.html, select index.html.
  • 18:20 - 18:22
    Control. Click.
  • 18:22 - 18:24
    We're making as a new
  • 18:24 - 18:26
    file.
  • 18:26 - 18:29
    That's going to be, uhh,
  • 18:29 - 18:34
    the first one is about.html.
  • 18:36 - 18:37
    Okay.
  • 18:37 - 18:39
    And let me make a volunteer, because the
  • 18:39 - 18:42
    home page is index.html, we don't have to
  • 18:42 - 18:43
    make it.
  • 18:43 - 18:45
    Control. Click
  • 18:45 - 18:47
    New file.
  • 18:47 - 18:50
    Uh, volunteer
  • 18:50 - 18:53
    dot html.
  • 18:53 - 18:54
    Two more to go.
  • 18:54 - 18:57
    New file.
  • 18:57 - 18:58
    Adopt dot
  • 18:58 - 19:01
    html.
  • 19:03 - 19:05
    And the last one.
  • 19:05 - 19:07
    New file.
  • 19:07 - 19:12
    Contact.html, contact dot html.
  • 19:12 - 19:16
    So, we have already all five pages.
  • 19:16 - 19:17
    Okay?
  • 19:17 - 19:19
    Then, now,
  • 19:20 - 19:23
    select your logo. First,
  • 19:23 - 19:25
    we're going to, so let me go back to my
  • 19:25 - 19:27
    source code, not on the style.css. Go back
  • 19:27 - 19:30
    to your source code on your index.html.
  • 19:30 - 19:32
    Select your logo.
  • 19:32 - 19:34
    You will see that
  • 19:34 - 19:36
    there is a logo, and right before the
  • 19:36 - 19:39
    image source tag, the coding,
  • 19:39 - 19:42
    you see the href.
  • 19:42 - 19:44
    We're going to make a link to
  • 19:44 - 19:47
    delete the pawn sign.
  • 19:47 - 19:51
    Href equals quotation mark, and then we're
  • 19:51 - 19:55
    making a link to index.html.
  • 19:57 - 19:59
    I will do the same thing
  • 19:59 - 20:00
    for
  • 20:00 - 20:02
    my homepage, too.
  • 20:02 - 20:06
    This home button, here,
  • 20:07 - 20:09
    href
  • 20:09 - 20:11
    equals
  • 20:12 - 20:15
    index.html.
  • 20:15 - 20:18
    Now, other four buttons.
  • 20:18 - 20:20
    This is about button.
  • 20:20 - 20:22
    Href
  • 20:22 - 20:24
    equals
  • 20:24 - 20:27
    about.html.
  • 20:27 - 20:29
    Next one is
  • 20:29 - 20:32
    volunteer.html.
  • 20:32 - 20:36
    And the next one is adopt,
  • 20:36 - 20:39
    not about, adopt.html.
  • 20:39 - 20:41
    And the last one
  • 20:41 - 20:42
    is
  • 20:42 - 20:45
    uh,
  • 20:45 - 20:47
    contact.html.
  • 20:47 - 20:50
    So, they're all linked now.
  • 20:50 - 20:52
    So, let's do this. File,
  • 20:52 - 20:54
    save this file first,
  • 20:54 - 20:59
    and then, let me check my root folder.
  • 20:59 - 21:02
    See? I already have
  • 21:02 - 21:04
    index.html.
  • 21:04 - 21:06
    and the all other four pages.
  • 21:06 - 21:09
    So, let's see how it works
  • 21:09 - 21:11
    now.
  • 21:14 - 21:16
    Refresh.
  • 21:16 - 21:17
    This is a home.
  • 21:17 - 21:19
    Let me click on about.
  • 21:19 - 21:21
    There's nothing, but as you can see on
  • 21:21 - 21:23
    your web browser, this is still
  • 21:23 - 21:26
    about.html, because we have nothing yet.
  • 21:26 - 21:28
    We just have pages.
  • 21:28 - 21:30
    Volunteer,
  • 21:30 - 21:34
    we're in volunteer page.
  • 21:34 - 21:35
    Adopt,
  • 21:35 - 21:38
    we're in adopt.html.
  • 21:38 - 21:40
    And contact,
  • 21:40 - 21:44
    we're in contact.html.
  • 21:44 - 21:47
    So, we have all kind of obvious, we are
  • 21:47 - 21:48
    ready to
  • 21:48 - 21:51
    plug in for adding or the putting
  • 21:51 - 21:53
    some of the, uh, the contents on each page.
  • 21:53 - 21:55
    The easiest way is,
  • 21:55 - 21:57
    since we already have some kind of nav
  • 21:57 - 21:59
    bars and the basic settings of this
  • 21:59 - 22:00
    pages,
  • 22:00 - 22:03
    go back to this.
  • 22:03 - 22:07
    Open your index.html, your source code.
  • 22:07 - 22:08
    Then,
  • 22:08 - 22:10
    in your code area,
  • 22:10 - 22:12
    select all. Click there, your mouse cursor,
  • 22:12 - 22:16
    in your code window, and select all.
  • 22:16 - 22:19
    It is all highlighted in blue.
  • 22:19 - 22:22
    Copy, command C
  • 22:22 - 22:24
    Now open
  • 22:24 - 22:27
    about.html, the first one.
  • 22:27 - 22:30
    So, this level.html page has nothing yet.
  • 22:30 - 22:34
    Select all code and paste,
  • 22:34 - 22:38
    and click in your screen.
  • 22:38 - 22:42
    So, it is exactly the same.
  • 22:42 - 22:44
    Now, I just need to change the code, I
  • 22:44 - 22:46
    mean the, um,
  • 22:46 - 22:47
    the contents.
  • 22:47 - 22:50
    So, for example, first I want to change
  • 22:50 - 22:52
    this, uh, New Hampshire Humane Society, I
  • 22:52 - 22:55
    want to change it to about
  • 22:55 - 22:57
    [pause]
  • 22:57 - 22:59
    us.
  • 23:00 - 23:03
    And also, I don't want to keep this, uh,
  • 23:03 - 23:05
    this the carousel, the slideshow. I
  • 23:05 - 23:08
    just want to have a one single image. So,
  • 23:08 - 23:11
    in your, uh, the files, uh, the
  • 23:11 - 23:15
    images I provided, uh, you have,
  • 23:15 - 23:18
    uh, about dot jpeg.
  • 23:18 - 23:20
    So, we're gonna replace that carousel
  • 23:20 - 23:22
    with this, uh,
  • 23:22 - 23:24
    just this the one single image, the jpeg
  • 23:24 - 23:26
    file.
  • 23:26 - 23:27
    So,
  • 23:27 - 23:30
    I'm in about.html,
  • 23:30 - 23:33
    and I just need to select my carousel,
  • 23:33 - 23:35
    which is
  • 23:35 - 23:35
    under
  • 23:35 - 23:37
    my nav bar.
  • 23:37 - 23:40
    This is my carousel.
  • 23:40 - 23:41
    Okay?
  • 23:41 - 23:45
    Delete it. We don't need it.
  • 23:45 - 23:46
    What I need to do is,
  • 23:46 - 23:48
    after
  • 23:48 - 23:49
    my nav bar,
  • 23:49 - 23:52
    let me, once you click on your nav bar
  • 23:52 - 23:54
    in your code area, your nav bar coding
  • 23:54 - 23:55
    is selected.
  • 23:55 - 23:58
    So, after this nav bar tag,
  • 23:58 - 24:01
    let me hit the return key,
  • 24:01 - 24:03
    and then
  • 24:03 - 24:06
    go to insert
  • 24:06 - 24:08
    at html option,
  • 24:08 - 24:11
    choose the div.
  • 24:13 - 24:15
    And okay.
  • 24:15 - 24:19
    So, this div will provide, uh, just one
  • 24:19 - 24:22
    kind of a space for your jpeg file.
  • 24:22 - 24:24
    So, in your tab on your code, let me
  • 24:24 - 24:26
    delete,
  • 24:26 - 24:31
    uh, the contents for new div tag.
  • 24:31 - 24:34
    Delete that. See that the blinking cursor?
  • 24:34 - 24:37
    Now let me insert
  • 24:37 - 24:40
    the image,
  • 24:41 - 24:44
    which is about.jpg.
  • 24:44 - 24:47
    Open it,
  • 24:47 - 24:51
    and click on this, the drop down menu,
  • 24:51 - 24:53
    and check
  • 24:53 - 24:56
    make image responsive.
  • 24:58 - 25:01
    And let me save this file.
  • 25:01 - 25:04
    And let me check
  • 25:04 - 25:06
    my web browser.
  • 25:06 - 25:08
    Refresh.
  • 25:08 - 25:09
    Home.
  • 25:09 - 25:11
    Let me click on about.
  • 25:11 - 25:13
    Now I have an about page
  • 25:13 - 25:15
    with this dmr image.
  • 25:15 - 25:18
    If I want to go back home, go back home.
  • 25:18 - 25:20
    About.
  • 25:20 - 25:24
    Or you can click on this logo as well,
  • 25:24 - 25:27
    So, it is interacting.
  • 25:27 - 25:30
    Same thing in the mobile version, drop
  • 25:30 - 25:31
    down menu,
  • 25:31 - 25:33
    about.
  • 25:34 - 25:37
    Drop down menu, home.
  • 25:37 - 25:39
    See? I'm back to here.
  • 25:39 - 25:41
    Drop down menu,
  • 25:41 - 25:44
    about page.
  • 25:44 - 25:46
    Okay, so, I will do the same thing for
  • 25:46 - 25:50
    other pages, volunteer, adopt and contact.
  • 25:50 - 25:51
    So, back to here,
  • 25:51 - 25:52
    uh,
  • 25:52 - 25:55
    I think I still have a cop, uh, copy of that, uh,
  • 25:55 - 25:58
    texture on the all entire coding already.
  • 25:58 - 26:00
    So, back to files.
  • 26:00 - 26:03
    Uh, this time,
  • 26:03 - 26:06
    volunteer.html.
  • 26:07 - 26:09
    Highlight the entire coding.
  • 26:09 - 26:12
    Paste it.
  • 26:13 - 26:15
    So, I have that.
  • 26:15 - 26:15
    Okay.
  • 26:15 - 26:19
    This page is for
  • 26:20 - 26:23
    volunteer.
  • 26:23 - 26:26
    Okay, and then also I don't want to have
  • 26:26 - 26:31
    this carousel. So, uh, under your container,
  • 26:31 - 26:33
    carousel,
  • 26:33 - 26:35
    delete it.
  • 26:36 - 26:39
    So, we want to have that jpeg image right
  • 26:39 - 26:41
    after nav bar.
  • 26:41 - 26:43
    So, select your nav bar coding, scroll
  • 26:43 - 26:44
    down,
  • 26:44 - 26:46
    after nav bar,
  • 26:46 - 26:49
    hit the return key,
  • 26:49 - 26:52
    then insert
  • 26:52 - 26:54
    div tag first.
  • 26:54 - 26:56
    Okay.
  • 26:56 - 26:58
    And then,
  • 26:59 - 27:02
    the content for the new div tag, delete
  • 27:02 - 27:03
    that.
  • 27:03 - 27:05
    Then insert the image,
  • 27:05 - 27:08
    which is
  • 27:14 - 27:16
    volunteer dot jpg.
  • 27:16 - 27:19
    That is this.
  • 27:19 - 27:22
    Help us.
  • 27:22 - 27:24
    Okay? And then click on this drop down
  • 27:24 - 27:27
    menu. Make sure,
  • 27:27 - 27:31
    make this image as responsive,
  • 27:31 - 27:32
    and
  • 27:32 - 27:35
    okay. Then go to file. Let me save it
  • 27:35 - 27:39
    again. Let me check this file.
  • 27:41 - 27:43
    Volunteer.
  • 27:43 - 27:44
    About.
  • 27:44 - 27:47
    Volunteer. Go back
  • 27:47 - 27:50
    home. So, it is working. So, let me finish
  • 27:50 - 27:52
    the adoption and the contact page as
  • 27:52 - 27:55
    well. [Long pause...silence]
  • 28:05 - 28:07
    In my contact page,
  • 28:07 - 28:10
    paste it.
  • 28:11 - 28:12
    Okay.
  • 28:12 - 28:15
    Let me change my text first
  • 28:15 - 28:18
    as a contact.
  • 28:19 - 28:22
    Uh, contact,
  • 28:24 - 28:28
    and then carousel.
  • 28:28 - 28:30
    I don't want to keep my carousel
  • 28:30 - 28:31
    slideshow.
  • 28:31 - 28:35
    So, after carousel
  • 28:35 - 28:37
    in the after nav bar,
  • 28:37 - 28:39
    scroll down,
  • 28:39 - 28:41
    after the other nav bar, hit the return
  • 28:41 - 28:43
    key to break the line,
  • 28:43 - 28:47
    and then go to insert menu
  • 28:47 - 28:48
    html,
  • 28:48 - 28:50
    div tag.
  • 28:50 - 28:51
    Okay.
  • 28:51 - 28:52
    Then,
  • 28:52 - 28:54
    in this div tag,
  • 28:54 - 28:56
    delete the content
  • 28:56 - 29:00
    and insert the image,
  • 29:02 - 29:05
    which is, this time, the contact,
  • 29:05 - 29:07
    that jpeg,
  • 29:08 - 29:10
    contact dot jpg.
  • 29:10 - 29:14
    Save it. Okay. And then, drop down menu,
  • 29:14 - 29:18
    make image responsive.
  • 29:18 - 29:21
    And let me save this file.
  • 29:22 - 29:24
    And we have one more,
  • 29:24 - 29:25
    which is, uh,
  • 29:25 - 29:28
    adopt page.
  • 29:28 - 29:31
    Open up that html,
  • 29:32 - 29:33
    delete it,
  • 29:33 - 29:37
    and paste it.
  • 29:37 - 29:42
    And I'm going to change the text.
  • 29:44 - 29:45
    Uh, I will say,
  • 29:45 - 29:48
    power
  • 29:48 - 29:50
    of
  • 29:50 - 29:51
    adoption.
  • 29:51 - 29:53
    [pause]
  • 29:53 - 29:54
    Okay.
  • 29:54 - 29:56
    And then choose the carousel,
  • 29:56 - 29:58
    delete it.
  • 29:58 - 30:00
    Now choose the nav bar.
  • 30:00 - 30:03
    After nav bar,
  • 30:03 - 30:06
    hit the break, uh, enter key.
  • 30:06 - 30:08
    Let me insert
  • 30:08 - 30:09
    div tag first.
  • 30:09 - 30:12
    So, this is a routine.
  • 30:13 - 30:14
    Say okay.
  • 30:14 - 30:19
    And then let me change this content.
  • 30:20 - 30:23
    Delete it.
  • 30:23 - 30:26
    Insert a new image, which is,
  • 30:26 - 30:27
    uh,
  • 30:27 - 30:30
    out of the jpeg.
  • 30:30 - 30:33
    That is that.
  • 30:33 - 30:35
    And
  • 30:35 - 30:37
    make image responsive,
  • 30:37 - 30:40
    and save this file.
  • 30:40 - 30:42
    I think we're pretty much done.
  • 30:42 - 30:45
    So, now let me go back to my google
  • 30:45 - 30:48
    chrome, my web browser. So, from my home
  • 30:48 - 30:49
    page,
  • 30:49 - 30:52
    about, volunteer,
  • 30:52 - 30:53
    adopt,
  • 30:53 - 30:54
    contact,
  • 30:54 - 30:56
    and back home.
  • 30:56 - 30:58
    From anywhere you are, we can go back
  • 30:58 - 31:03
    home by clicking the logo or home button.
  • 31:04 - 31:05
    Same way
  • 31:05 - 31:07
    as a mobile version.
  • 31:07 - 31:11
    Drop down. We can go to the contact page,
  • 31:11 - 31:12
    we can go back home,
  • 31:12 - 31:15
    or we can go to volunteer.
  • 31:15 - 31:18
    We can go back home, anytime.
  • 31:18 - 31:20
    Okay, so, I'm not going to change the
  • 31:20 - 31:23
    content for now, uh, just wanted to show
  • 31:23 - 31:26
    you, uh, how to make a link. So for your, uh,
  • 31:26 - 31:29
    your personal website, for your content,
  • 31:29 - 31:33
    so, um, just to visit individual page, each
  • 31:33 - 31:34
    page,
  • 31:34 - 31:37
    and then just to change your content.
  • 31:37 - 31:39
    Then it should work.
  • 31:39 - 31:40
    Okay.
  • 31:40 - 31:43
    Uh, and also I'm planning to make the
  • 31:43 - 31:46
    part three, uh, for the contact page only,
  • 31:46 - 31:49
    uh, so you can communicate with people. So,
  • 31:49 - 31:53
    how to get the email, how to add the, um,
  • 31:53 - 31:56
    the comments on this website.
  • 31:56 - 31:59
    Stay tuned, and then thanks for watching,
  • 31:59 - 32:03
    and I'll see you next time.
Title:
Bootstrap in Dreamweaver for beginners (Part 2)
Description:

more » « less
Video Language:
English
Duration:
32:06

English subtitles

Revisions Compare revisions