Can you suggest why the code does not run... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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

30th Dec 2022, 2:07 PM
python
12 Answers
+ 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.
30th Dec 2022, 2:13 PM
Tibor Santa
Tibor Santa - avatar
+ 3
oh it hurts my eyes 🥺
30th Dec 2022, 3:45 PM
Arturop
Arturop - avatar
+ 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.
30th Dec 2022, 9:38 PM
Tibor Santa
Tibor Santa - avatar
+ 2
Mind reposting the code so I can have a look at it?
30th Dec 2022, 9:17 PM
Chris Coder
Chris Coder - avatar
+ 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
31st Dec 2022, 4:43 PM
Chris Coder
Chris Coder - avatar
+ 2
Tibor Santa has said it all.
1st Jan 2023, 11:22 AM
Hacman
Hacman - avatar
+ 1
Wow dude, that’s not CSS code actually. Where did you get that btw?
30th Dec 2022, 3:24 PM
Alireza Shafi’i
Alireza Shafi’i - avatar
+ 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.
30th Dec 2022, 9:49 PM
Chris Coder
Chris Coder - avatar
0
Because you inserted javascript, not css
30th Dec 2022, 7:40 PM
Knight
Knight - avatar
0
Chris Coder, Anything, just help.
31st Dec 2022, 6:51 AM
python
0
</CODER, I tried it in JavaScript, but it didn't work out.
31st Dec 2022, 6:52 AM
python
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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
31st Dec 2022, 7:40 AM
python