+ 6
where to write my drawboxes() to create a flag
I ve placed the <script> tag inside the <body> tag in html. And inside the <script> tag I wrote my different drawboxes().... NO OUTPUT !!! Does I need to write sth in Js or css???
12 Respuestas
+ 7
I thank ya very much for ya spended time to explain me 🙏🏼🙏🏼
+ 7
thank uuuu very much 🙏🏼
+ 5
I never ve created an Html code with Js inside 😬....
I m a beginner but I m here to learn !!
Do ya know the APP “Grasshopper” ??
+ 5
😂 I ve learnt the whole js tutorial but too close after having learnt python... so I need to revidide js from the beginning coz I have lost my time by learning js so close after I had finished Py .... 🤷🏻♀️
+ 4
yep
+ 4
<html>
<head>
<title>Flag from Luxembourg
</title>
</head>
<body>
drawboxes(‘rrr www bbb’)
newline()
</body>
</html>
+ 4
I have made the error not practisising when learning that’s why I m a little bit lost now !!
+ 3
normally in html to draw you need a canvas.
could you post your code.
+ 2
where did you learn that? drawboxes() is not a built-in function. you would have to include the js source where it is defined.
+ 2
oh, I see. well, it's not the same. they built a lot of things to make it easier to code for beginners. you can not use those functions here or in other environments.
here in sololearn you have to use pure javascript or include some source that provides certain functions.
give javascript course a look to understand better.
+ 2
here is the same result with js and html
https://code.sololearn.com/Wu61ON1QBfx4/?ref=app