Use Selectors to Style HTML Elements

InstructorTyler Clark

Share this video with your friends

Send Tweet

CSS gives us the ability to work with many different types of selectors to target and style HTML. In this lesson we will understand how to use classes, ids, elements, attributes, and the universal selector.

Frankie Baines
Frankie Baines
~ 5 years ago

Sorry in advance, this is such a basic question but how do I upload the code into sandbox? When I try to import it I get the error Could not find package.json and because I'm brand brand new I don't understand what it means.

Will Johnson
Will Johnson
~ 5 years ago

Sorry in advance, this is such a basic question but how do I upload the code into sandbox? When I try to import it I get the error Could not find package.json and because I'm brand brand new I don't understand what it means.

Hi Frankie! Your question is just fine! Are you talking about codesandbox.io? And what code are you trying to upload?

Frankie Baines
Frankie Baines
~ 5 years ago

Hi Will,

Thanks for helping me out! Yes its sandbox.io http://sandbox.io/.

The code I was trying to upload is the home.html code in this URL: https://github.com/twclark0/css-fundamentals/tree/master https://github.com/twclark0/css-fundamentals/tree/master - I just copied this into GitHub and got the error message noted in my previous email.

Will Johnson
Will Johnson
~ 5 years ago

Hi frankie!

Code sandbox is made for more robust applications and it's looking for files that you don't need for HTML & CSS.

I would suggest copy & pasting the code to codepen.io or your computer, instead of importing it to codesandbox

Frankie Baines
Frankie Baines
~ 5 years ago

Amazing, thank you!