And then to see output I followed the steps given in course, but iam not getting output, the output is totally blank.
I think my doubdt is clear. What is my mistake
Hello @sreejavijayagiri
You as you say you create Java.js file so please mention this file name in
HTML file(file.html) in src='Java.js’
Also note that in .js file only write from var c
hope this information is useful for you
plese do changes and try
@sreejavijayagiri i recommend you to see the bolt video once again .and understand it .And its better to use online html complier .hope thisinformation is useful
@sreejavijayagiri I think you should see the video two or three times and try to understand them as well as perform the coding step by step according to the given steps. I hope this will some your problem . Bolt videos are much more easier to understand.
But in the course there is no video regarding javascript if you have the video please share it would be a good help, I’m trying since 2 days but I’m not getting output
Hi Sreeja,
First of all if you want us to help you, you need to help us understand what code you have exactly written. The screenshot you posted is really messy and unable to understand the code.
If you can, please:
Write the code on your desktop rather than mobile phone.
Write a clean code that is much understandable.
Either post the code or put up the screen shot of your desktop code.
Put different screenshots of (a)HTML code , (b)Javascript code and ( c)Any errors that you get.
I write same program as mentioned in course and file name also I kept same my–javascript.js
For the above javascript code .
And when I want to see output in console, the output is totally blank
The code seems fine but I’m really confused… Have you written the code on your phone and are you trying to view it on your desktop ?
According to your screenshots I see you have the code written in your mobile phone and the output that you are trying to display is on your desktop using chrome.
Write the code on your PC/Laptop in the notepad and just save the files respectively as .html and .js in the same location.
Open the .html file and then view the console. I am sure you will get the output.