Create A Conference Title

Our project already has application state, bound to the name app-state.

(defonce app-state (atom {:text "Hello Chestnut"}))

Refactor app-state to hold a conference name

Create a key called :conference

Add a value as a string that holds the tile of the conference

The :title key is no longer needed in our state.

Reveal answer...

(defonce app-state (atom {:conference-name "ClojureX"}))

Saving the file with this change will update the text on the website.

results matching ""

    No results matching ""