DEV Community

loading...

Discussion on: CSS Selectors: Let's talk basics

Collapse
adamgreenough profile image
Adam Greenough • Edited

Nice article Laura!

A couple of tiny errors would be great to fix to make sure we're not confusing any learners. The divs should have closing '>' after the first line in the first screenshots and the semicolon should go after the rules not the selector closing brace '}' in the one with .circle & #rectangle.

# is also called a hash sign or a pound sign, a hashtag specifically refers to a tagging system using that symbol as a prefix.

Collapse
misslorsx profile image
Laura Jane Author

Great! Thanks for that. I will fix that!

Collapse
misslorsx profile image
Laura Jane Author

I’ve changed them I think - if you want to just have a glance over - apologies! 😅

Collapse
adamgreenough profile image
Adam Greenough • Edited

The CSS one looks great! Sorry, I don't think I worded the first one very well. The two with the divs should look like <div id="rectangle"></div>. It was just the one on the very end that was missing originally. :)

Thread Thread
misslorsx profile image
Laura Jane Author

Do you know I did think that! Il be spending all night changing this. 😂

Thread Thread
misslorsx profile image
Laura Jane Author • Edited

I’ve changed, I did think originally ‘hold on the div tag stays open when adding the class or Id then I closed it, without adding the >tag after the Id/class doh! Done now! Hopefully!

Thread Thread
adamgreenough profile image
Adam Greenough

Perfect. Easy mistake! 😄

Thread Thread
misslorsx profile image
Laura Jane Author

Honestly, il get it right myself one day. Thank you so much though for pointing it out! Much appreciated! 😃

Forem Open with the Forem app