Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple notes app to add, delete, and display notes using HTML and JavaScript.
<!DOCTYPE html>
<html>
<head>
<title>Note App</title>
<script>
let notes = [];
function addNote() {
const input = document.getElementById('noteInput');
if(input.value.trim()) { notes.push(input.value.trim()); input.value=''; renderNotes(); }
}
function renderNotes() {
const list = document.getElementById('noteList'); list.innerHTML='';
notes.forEach((note,i)=>{
const li=document.createElement('li'); li.textContent=note;
const btn=document.createElement('button'); btn.textContent='Delete'; btn.onclick=()=>{ notes.splice(i,1); renderNotes(); };
li.appendChild(btn); list.appendChild(li);
});
}
</script>
</head>
<body>
<h1>Notes</h1>
<input id='noteInput' placeholder='New Note'/>
<button onclick='addNote()'>Add</button>
<ul id='noteList'></ul>
</body>
</html>Apache Cordova is an open-source mobile development framework that enables developers to build cross-platform mobile applications using HTML, CSS, and JavaScript. It wraps web applications into native containers to run on multiple mobile platforms.
Origin & Creator
Originally created by Nitobi in 2009 as PhoneGap, it was later donated to the Apache Software Foundation and renamed Cordova. The project standardized the approach for hybrid mobile app development.
Industrial Note
Perfect for rapid development of cross-platform mobile apps where leveraging existing web development skills is critical.