AngularJs is Javascript Framework not a Javascript library written in Javascript.
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> </head> <body> <button onclick="getDay()">Show me the Day</button> <p id="sample"></p> <script> function getDay() { var date = new Date(); var day = date.getDate(); document.getElementById("sample").innerHTML = day; } </script> </body> </html>
JavaScript is a cross-platform, object-oriented scripting language, Client-side programming language of HTML and the Web.