<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=BioRhyme&family=Space+Mono&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<title>Ceep</title>
</head>
<body>
<div class="app">
<div class="todo-list">
<h1 class="title">
Ceep
</h1>
<form class="form" action="">
<input class="form-input" type="text" data-form-input="#">
<button class="form-button" data-form-button="#"> Novo Item </button>
</form>
<ul class="list">
</ul>
</div>
<script src="listaDeTarefas.js"></script>
</body>
</html>
const criarTarefa = () => {
evento.preventDefault();
const input = document.querySelector('[data-form-input]');
const valor = input.value;
console.log( valor )
input.value = " ";
}
const novaTarefa = document.querySelector('[data-form-button]')
novaTarefa.addEventListener('click', criarTarefa);
** Ao executar o codigo eu recebo esse erro:**
Falha no carregamento do mapa de origem pelo DevTools: Não foi possível carregar o conteúdo de file:///C:/Users/jose%20roberto/OneDrive/%C3%81rea%20de%20Trabalho/curso-alura/javaScript/manipulando-dom/1823_DOM-projeto_incial/projeto_inicial/assets/css/style.css.map: Erro do sistema: net::ERR_FILE_NOT_FOUND