+ 1
Applying JavaScript to real time web development
I just finished learning JavaScript, but I'm a bit confused. How can I combine the different codes I've learnt to create a full interactive website?
5 Answers
+ 5
@Alex, there are many web based codes here in SoloLearn, just go to Code Playground section, then pick one of them (marked with "web" under code author name), then see how people make use of JavaScript in their code.
If you're going to start your way outside of SoloLearn, say on your laptop/PC with your preferred text editor/IDE, you may opt to either embed the JavaScript code in the HTML file, or link to an external .js file. I'm sure you know how to do that, if you forgot, look back in JavaScript course.
A final note, if you use one of the members' code, and you see a copyright symbol ©, don't forget to add credits on their behalf inside your code, that's how we respect other's effort, and it makes you "Cool" coder as being respectful.
Good luck!
+ 2
javascript is not compiled as like as java it is rendered by browsers as like as html
so you just write it in html with <script></script> tag or linked it to html
+ 2
here are some examples you may want to see
https://code.sololearn.com/Wkl3IriRYcK1/?ref=app
https://code.sololearn.com/Wk8Wgk17wM98/?ref=app
https://code.sololearn.com/WFjhLBjV97Lv/?ref=app
+ 1
@Tobias....I'm finding it a bit confusing applying them in a real website project. Is there an app for learning JavaScript specifically for web development only?
+ 1
Thanks all...I just clarified my confusion. @Melih I checked your codes, they are nice