Category : browser

im doing a js course in YouTube and i get this error "Uncaught TypeError: this.model.addTodo is not a function ", here is my code: export default class View { constructor() { this.model = null; this.table = document.getElementById(‘table’); const btn = document.getElementById(‘add’); btn.onclick = () => this.addTodo(‘Titulo’, ‘Desc’); } setModel(model) { this.model = model; } addTodo(title, ..

Read more

I am facing one weird issue. Actually, i have implemented Notification API(https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API) in our react.js code to get browser notification to notify user when there is inactivity on the screen for a particular time. This functionality is perfectly working with Mac, Windows chrome. But not working with VDI Windows machine. We need to make it ..

Read more