+ 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
13 Antworten
+ 3
Just remove all hidden characters and done 😁
did it for you 👍
https://code.sololearn.com/WJFcc7R6BHJu/?ref=app
+ 4
Did you paste it from somewhere ?
+ 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
+ 3
+ 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
+ 2
Rushikesh★ thanks
+ 2
Arnav Kumar [📕Schools📚]
Thats true
I knew that the syntax is right:)
+ 2
Welcome The INDIAN
+ 2
Arnav Kumar [📕Schools📚]
You are really a clean observer
+ 1
In card class
You didn't declare
A bg property in :root
U used correct syntax
+ 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!!!
+ 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
🤍