+ 1

Is it possible to add JS to Blogger?

I would like to add JS to blogposts in Blogger, just for little easter eggs and other nice stuff. I tried, but couldn't succeed with inline JS. I had tried also CSS inside style-tags and that didn't work, so I think it doesn't work with JS. Does anyone know if it is in any way possible? Note: I watched the blogpost only in preview.

29th Jan 2019, 5:56 PM
Joel Kronqvist
Joel Kronqvist - avatar
4 odpowiedzi
+ 2
//Hello Joel Kronqvist ,You cannot use inline javascript anywhere
30th Jan 2019, 12:20 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
//Actually JavaScript andd Css both possible on blogger. //When you are editing blogger page make sure you have switched to "Html" format where you can write your own code instead of "Compose" which like only text editor
29th Jan 2019, 6:58 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
Thanks for your answer, Shudarshan Rai 👑. I was able to use inline CSS, but I couldn't use inline JS for some reason. I edited the HTML code in the first place, but it changed as example p-tags to divs automatically.
30th Jan 2019, 9:11 AM
Joel Kronqvist
Joel Kronqvist - avatar
0
OK, thanks for the help.
30th Jan 2019, 1:56 PM
Joel Kronqvist
Joel Kronqvist - avatar