Reusing a button class in the navigation

This lesson is exclusive to members

Course contents
SECTION: 4
Project 2: Bike Repair Website 6:12:48
SECTION: 6
Project 4: Bootstrap Yogurt Website 3:35:39

Questions

You need to be a member to view comments.

Join today. Cancel any time.

Sign Up

Course info

128 lessons / 17 hours 5 projects Certificate of achievement

Overview

Hi there, my name is Daniel Scott and together we’re going to learn how to build professional responsive websites. which look good on mobiles, tablets and desktop screens.

We will build 4 sites together...
  • a simple but elegant restaurant website.
  • a bike repair website. 
  • a responsive portfolio website.
  • a Bootstrap website.  

We cover everything you need to build your first website. From creating your first page through to uploading your website to the internet. We’ll use the world’s most popular (and free) web design tool called Visual Studio Code.

There are exercise files you can download and then work along with me. At the end of each video I have a downloadable version of where we are in the process so that you can compare your project with mine. This will enable you to see easily where you might have a problem.

We will delve into all the good stuff such as how to create your very own mobile burger menu from scratch learning some basic JavaScript and jQuery. 

 You will...
  • Learn how to work with responsive images and icons. and stunning full screen background images and probably one too many gradients. 
  • Learn how to create forms and to choose great fonts for your website. 
  • Learn how to work with Bootstrap 4 to easily add carousels, cards and complex looking menus. 
  • Setup a domain name with hosting so that your website is live on the internet for others to see.  

There are fun class projects for you to work on which will enable you to practice what you learn. By the end of this course you’ll have a great understanding of important web design topics like HTML5, CSS3, Flex box, Responsive design and Bootstrap.   

If that all sounds a little too fancy - don’t worry, this course is aimed at people new to web design and who have never coded before. We’ll start right at the beginning and work our way through step by step. 

Who am I? 

I’m Dan, and I’ve been building websites for about 15 years now. I am award winning instructor, and have won a MAX Master award for the last 2 years in a row at the prestigious Adobe Max conference.

Time to upgrade yourself?
Sign up for the course and let’s learn how to build responsive websites.

Course duration 16 hours 42 mins
Daniel Scott

Daniel Scott

Founder of Bring Your Own Laptop & Chief Instructor

instructor

I discovered the world of design as an art student when I stumbled upon a lab full of green & blue iMac G3’s. My initial curiosity around using the computer to create ‘art’ developed into a full-blown passion, eventually leading me to become a digital designer and founder of Bring Your Own Laptop.

Sharing and teaching are a huge part of who I am. As a certified Adobe instructor, I've had the honor of winning multiple Adobe teaching awards at their annual MAX conference. I see Bring Your Own Laptop as the supportive community I wished for when I was first starting out and intimidated by design. Through teaching, I hope to bring others along for the ride and empower my students to bring their stories, labors of love, and art into the world.
True to my Kiwi roots, I've lived in many places, and currently, I reside in Ireland with my wife and kids.

Certificates

We’re awarding certificates for this course!

Check out the How to earn your certificate video for instructions on how to earn yours and click the available certificate levels below for more information.

Downloads & Exercise files

Download Exercise Files Download Completed Files

Transcript

Hey buddy, nice simple one. We've made this lovely Button Style that we want to reuse for our navigation, to change it from this to this. So we're going to reuse it and we're going to add a little bit of extra just to space it out. It's pretty simple, let's jump in and do it. 

So we want to repeat our fancy work we did down here, along these little buttons down here, plus do a little bit of extra to kind of separate them out. So to reuse our Style we're going to open up VS code. We are going to just, up the top here, we just put in this basic stuff to get started. Remember, we're going to type in-- we need three links. So we need A-tags, we need--

Now I could start typing them all out. I'm going to show you a cool little thing. So I want A-tags with my button applied to them. So as long as they're joined together, that will say, "I'm going to have an A-tag with my button adjoined", and also want three of them. Cool, three of them, please. Hit 'Return'. Cool, huh. I'm going to have my multiple cursor. Now on my PC it is, I don't have a PC, I have a Mac. On my Mac it's 'Command Option'. And I just use my down arrow, and it made multiple cursors. Yours will be 'Ctrl Alt' on a PC. I'm just going to add hash, '#' to all these guys. 

Now any text, can't remember what it was, what was it? We had-- zoom out. It was Book Online, About, and Contact. So I can do that, 'Book Online'. 'About'. 'About'. I'd be a really fast typist if I could spell. 'Contact'. Ah, I closed it down. I don't impress you will all my shortcuts. It did not work, that was a big failure. It's like, I'm typing pretty fast. Let's check it in the browser. Now because I've gone and had lunch between this video and the last one, I'm just going to turn it off and turn it back on, just to make sure I don't run into the same problem again, and not updating. Cool, huh. 

So we just reused the same class over here, but I want to do something slightly different. I want there to be a bit more gap between them. So what I'm going to do, over here, is I'm going to say, actually, I'd like, if that A, my button appears, if it's inside of a Nav, so remember, space means this, inside of this, I want you to do something, and maybe a bit of margin. Margin to the left, I want left, yeah. Left, how many pixels? 30 pixels. Let's have a little look, cool. 

So don't want it both sides, obviously that's the right, that's the left, so it's a bit there, bit there, and it's actually stuff hanging over here. There's a margin out that side, but it's not making any difference to my design, so I'm happy. That's how to reuse it. What we're going to do in the next one is we're going to customize it a bit. Well, we're going to customize it hugely, coming up, we're going to do drop down menus and all sorts of cool stuff, but yeah, that's how to reuse a class that you've made, plus add a little bit of extra. All right, next video.
  • Powered by Marvin
  • Terms of use
  • Privacy policy
  • © Bring your Own Laptop Ltd 2024