Skip to content

Commit

Permalink
Update home.js
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadminhaj786 committed Jun 24, 2023
1 parent c7f92ce commit c14085f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions home.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
var title = document.getElementById("title-input")
var desc = document.getElementById('desc')
var cardiv = document.getElementById('my-card')

function load() {}

function addPost(){
if(!title.value && !desc.value){
return
Expand Down

0 comments on commit c14085f

Please sign in to comment.