- 1
Can you suggest why the code does not run...
Can you suggest why the CSS code does not run... https://code.sololearn.com/W57si6jieD4u/?ref=app
12 Antworten
+ 4
Because the uglified garbage you pasted in the CSS tab, is not actually CSS code.
Can you explain what was the result that you expected?
I recommend to start with something much more simple, so that you actually understand what you are doing.
+ 3
oh it hurts my eyes 🥺
+ 3
Кузин Виктор
It was brought to my attention that you may have found my comment offending.
I did not mean it as a personal attack.
"UGLIFY" is a technical term for compressing JavaScript code to make it smaller in size and less readable. The result of this process is what you put in the CSS section of your code, and it was in the wrong place (should have been in Javascript). That's why your CSS was not working, because it was not CSS. Anyway such code is very difficult to understand and debug, even for experienced programmers. That's why I suggested to start at beginner level and build up your understanding step by step.
You see, there are a lot of people here to help you, but there needs to be a conversation for that.
+ 2
Mind reposting the code so I can have a look at it?
+ 2
Кузин Виктор Line 14 in the source file is an exterrnal javascript file provided by Google Syndication the Google owned domain that is used to serve and track ads and other content on web pages through the iFrames on webpages.
HTML tags can help to identify content on the wepages. This script tag <.script> helps you know that there is a script in the page.
You may identify CSS by a style tag <style>
or
<link rel="stylesheet" href=""/>
You can learn all about script and style tags as well as other tags in the web development fundamentals course.
https://www.sololearn.com/Course/web-dev-basics/?ref=app
+ 2
Tibor Santa has said it all.
+ 1
Wow dude, that’s not CSS code actually. Where did you get that btw?
+ 1
You may use a JavaScript Minifier and Compressor tool to achieve the same result. You may also use a Beautifier to decompress the code to make it readable.
0
Chris Coder, Anything, just help.
0
</CODER, I tried it in JavaScript, but it didn't work out.
0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Guys, here is a link to the code of this site with an online game.
Maybe this will help you.
The code I asked about in line 14.
view-source:http://vseigru.fun/games/igri-po-personazham/igry-gambol/16637-igra-gambol-bratstvo-veshchej
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!