HTMLand JavaScript: Project 1
HTML (Hypertext Markup Language) is the standard markup language used to structure the content of web pages. It provides a set of predefined elements that define the structure and semantics of the page. HTML elements are represented by tags and can include headings, paragraphs, links, images, forms, and more.
JavaScript, on the other hand, is a programming language that allows you to add interactivity and dynamic behavior to web pages. It can manipulate HTML elements, respond to user actions, make network requests, and perform calculations, among other things. JavaScript code can be included directly within HTML files using <script> tags or in separate external JavaScript files.
Here we are building a project whenever you click the button the image should be displayed
We are including the 2 buttons one is for Lion and the other is for Frog. whenever you click the Go Lion button there will be Lion and whenever you press the Frog the frog will be displayed.

Here's the code:


Thanks for Reading :)
Mohammed Muqafamuddin.
Comments
Join the discussionNo comments yet. Be the first to comment.