Skip to content
Sign upLog in
← Back to Community

Console.log not working?

Profile icon
TheSatIsBackHacker

I am trying a basic print function, however Console.log isn't working, neither is alert.

Voters
Profile icon
KatharinaNi
Profile icon
JohnPeter07
Profile icon
jamariaxsims
Profile icon
NikiDanilov
Profile icon
Puspesh
Profile icon
MaxiMuss007
Profile icon
TheSatIsBack
Comments
hotnewtop
Profile icon
vedprad1

First of all, console.log() should be all lowercase.

As for alert(), that will not work in node.js because node.js is server side. alert() is a function that is used only in client side, when HTML and CSS are involved. If you want to use alert(), you have to go to an HTML, CSS, JS repl.

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!

Profile icon
davidwbandel

@vedprad1
what's with all the irrelevant responses on repl.it asks? they said nothing about node.js

jesus christ node.js is a tiny minority of the use cases involved with js.

Profile icon
SEOAGENCY1

i love to receive birthday cards specially if they are custom built birthday cards” https://www.simplybuzzes.com/angel-number-1006-meaning/

Profile icon
SEOAGENCY1

day could get any better. I got a free hot dog and come back to my car and keith sweat ‘nobody’ is playing on backspin.|AshleyMKenny| linkedin marketing solutions

Profile icon
SEOAGENCY1

day could get any better. I got a free hot dog and come back to my car and keith sweat ‘nobody’ is playing on backspin.|AshleyMKenny| local search results

Profile icon
mrsoomro1

토토사이트✅️먹튀폴리스✅️안전놀이터 먹튀검증 추천은 여기에서 확인해 보세요! 최적화된 페이지와 고퀄리티 자료를 방문해 주시는 회원님들 제공하며 먹튀 없는 토토사이트 문화가 나오는 날까지 최선을 다하겠습니다. 토토사이트

Profile icon
mrsoomro1

You can safely enjoy not only Go, but also various games such as Hold'em, Poker, Seotda, and Hitgo. It is the largest domestic board game in domestic offline stores. 몰디브게임

Profile icon
mrsoomro1

This Is King Badugi, An Official Partnership Between Lulu Games And Maldives Games. 홀덤사이트

Profile icon
sathvik54

Thanks For sharing this Superb article.I use this Article to show my assignment in college.it is useful For me Great Work.Necklaces

Profile icon
sathvik54

Thank you for very usefull information..Ready Mix Bekasi

Profile icon
Rebecca66

I admire what you have done here. I like the part where you say you are doing this to give back but I would assume by all the comments that this is working for you as well. ugly cartoon characters

Profile icon
Rebecca66

hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend. Glad to be part of your net community. safezone28

Profile icon
hamzaahmed52

I understand where your coming from, and I simply love the article. For what its worth I also love the design of your website, extremely imaginative. Thank you. San Francisco sightseeing tickets offers

Profile icon
Rebecca66

I gotta favorite this website it seems very helpful . nft projects

Invalid image url

Profile icon
Rebecca66

You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. wilkinson chute parts

Invalid image url

Profile icon
finnegan

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks...Ethereum NFT

Profile icon
finnegan

I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think.Ultimate Home Improvement

Profile icon
PCWCFA

I found that my console.log() was working. It's just that the console is not refreshing and showing the output of console.log() unless I navigate to a different pane such as the Shell or the Markdown pane.

console.log('TEST', process.env['MESSAGE_STYLE'], typeof(process.env['MESSAGE_STYLE']));

Console on Run:

image

After navigating to Shell and then back to Console:
image

Profile icon
Zavexeon

Console should be lowercase, like console.log();.