+ 5

Doubt in Web code

https://code.sololearn.com/WdbJVux754vP/?ref=app Doubt in code Why iss css variables not working in my this code

27th Apr 2021, 3:01 PM
The INDIAN
The INDIAN - avatar
13 odpowiedzi
+ 3
Just remove all hidden characters and done 😁 did it for you 👍 https://code.sololearn.com/WJFcc7R6BHJu/?ref=app
27th Apr 2021, 4:17 PM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 4
Did you paste it from somewhere ?
27th Apr 2021, 3:21 PM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 4
The INDIAN Rushikesh★ The code is fully Valid and written correctly and even you haven't defined that variable then also it will not break the flow but there is one problem in code which is hidden 🕳️ That is a Hidden Character ,Hidden Characters are usually General Characters from the family of tabs and space but they are treated differently as each character have their own unique character code Programming languages are made to be used with spaces and tabs so you can't use hidden characters if used they will give syntax errors But HTML and CSS are a bit Dumb Even an error occurs in them they doesn't show that in console Generally an error in css break the running of code The hidden character is present in parts of the code like at the very beginning of html and in some parts of css so when css reach that hidden character it stops the execution of css so it is not styled and if you remove all hidden characters you will see that it works
27th Apr 2021, 4:16 PM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 3
27th Apr 2021, 4:25 PM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 2
Arnav Kumar [📕Schools📚] I was asked this question by a hidden user of SL I can't reveal him/her So that's why The first line is blank in each section
27th Apr 2021, 3:23 PM
The INDIAN
The INDIAN - avatar
+ 2
27th Apr 2021, 3:24 PM
The INDIAN
The INDIAN - avatar
+ 2
Arnav Kumar [📕Schools📚] Thats true I knew that the syntax is right:)
27th Apr 2021, 4:22 PM
Vtec Fan
Vtec Fan - avatar
+ 2
Welcome The INDIAN
27th Apr 2021, 4:24 PM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 2
Arnav Kumar [📕Schools📚] You are really a clean observer
28th Apr 2021, 3:53 AM
Vtec Fan
Vtec Fan - avatar
+ 1
In card class You didn't declare A bg property in :root U used correct syntax
27th Apr 2021, 3:06 PM
Vtec Fan
Vtec Fan - avatar
27th Apr 2021, 3:07 PM
Vtec Fan
Vtec Fan - avatar
+ 1
Arnav Kumar [📕Schools📚] Bhai Plx help me in this I haven't yet studied the CSS vars It's of someone else question If you know Then help me!!!
27th Apr 2021, 4:11 PM
The INDIAN
The INDIAN - avatar
+ 1
Arnav Kumar [📕Schools📚] Yeah!!! Even when that person asked me the question I went to w3schools and studied whole variables in CSS And then I saw the code And then I was shocked that everything is correct still that isn't working... Thanks for being the character founding 🤍
27th Apr 2021, 4:22 PM
The INDIAN
The INDIAN - avatar