+ 1

I just want to ask, is there any other language i can use to add interactivity such as Pop-ups aside JavaScript

10th Jan 2020, 8:13 PM
Richard Somto
Richard Somto - avatar
5 Answers
+ 4
In web, NO!
10th Jan 2020, 8:46 PM
Mirielle
Mirielle - avatar
+ 4
Pop-up = window.open(); It's missing in brython
10th Jan 2020, 10:23 PM
Mirielle
Mirielle - avatar
+ 3
browser.alert() function in Brython is same as the alert() function in JavaScript, that's not a pop-up. Pop-up are those kind of messages that appears when someone is on a site and it says "This site wants to send [message]," with two options of allow and reject
10th Jan 2020, 10:57 PM
Mirielle
Mirielle - avatar
+ 1
Web browsers can only handle javascript. But there are some transpilers which are able to make javascript from code written in another language, for example Brython or Transcrypt lets you write frontend code in Python. https://code.sololearn.com/WgsPzmr3LWSf/?ref=app
10th Jan 2020, 10:10 PM
Tibor Santa
Tibor Santa - avatar
0
Mirielle🐶 browser.alert(message) a function that prints the message in a pop-up window. Returns None https://brython.info/static_doc/en/browser.html
10th Jan 2020, 10:52 PM
Tibor Santa
Tibor Santa - avatar