Learn localStorage by Building a Todo App - Step 66

Tell us what’s happening:

guys please help im stack, i cannot think of another way to write this code

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

if (!titleInput.value.trim()) {
  alert("Please provide a title")
  return()
  
 }
  

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Challenge Information:

Learn localStorage by Building a Todo App - Step 66

This does not look like a normal return statement.

ouch…hoe do i fix it?

How were return statements written in previous projects?

thank you for the tough love guys, i fixed it. im probably tired but thank you for the help. sleep well.

It always sticks best if you get to have the “ah-ha”! Nice work