Line 13 doesn’t work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Line 13 doesn’t work

In my css in the web code line 13 doesn’t work. Why? Or can it be fixed? This is my code (SoloLearns code with my button), any code on line 13 doesn’t work for some reason. Look at the CSS https://code.sololearn.com/W1IRhXGrXSNL/?ref=app

2nd Dec 2018, 4:00 PM
Korijn Jagersma
Korijn Jagersma - avatar
9 Answers
+ 1
Oh i know what’s the problem now. the previous selector didn’t have a value and semicolumn.
2nd Dec 2018, 9:34 PM
Korijn Jagersma
Korijn Jagersma - avatar
+ 4
Hello, 😊 Please, show us your code! Use the search bar! https://www.sololearn.com/post/10362/?ref=app Please, read our guidelines: https://www.sololearn.com/discuss/1316935/?ref=app An useful code for any new user here!;) https://code.sololearn.com/WvG0MJq2dQ6y/
2nd Dec 2018, 4:48 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 3
https://www.w3schools.com/css/css3_buttons.asp https://css-tricks.com/how-css-selectors-work/
2nd Dec 2018, 9:20 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 3
Yes, becouse of that CSS have class Selectors! https://www.sololearn.com/learn/CSS/1080/
2nd Dec 2018, 9:27 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 2
Korijn You need to write: .button { }
2nd Dec 2018, 9:12 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 1
You haven't added your code!! It's not possible to get help without viewing the code!!😊
2nd Dec 2018, 4:24 PM
AL Araf
AL Araf - avatar
0
i’ve added my code, but i don’t really think it helps much.
2nd Dec 2018, 9:07 PM
Korijn Jagersma
Korijn Jagersma - avatar
0
why, what is the reason? I thought . was for a class and an element such as <button> was without anything.
2nd Dec 2018, 9:12 PM
Korijn Jagersma
Korijn Jagersma - avatar
0
I added .button and it removes the previous styling.
2nd Dec 2018, 9:23 PM
Korijn Jagersma
Korijn Jagersma - avatar