Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

It is happening when I'm learning Web Development with Clojure, Third Edition. At first everything looks fine and nothing to worry about, but when i start turn on my pc again, move into next section, and change the code, the HTML layout doesn't change. It's still "Hello, Auto!" even i restore the code again.

I even do with the backup project, but the output still same.

Here's the code :

(ns guestbook.core)

(-> (.getElementById js/document "content")
    (set! "Hello, Auto!"))

and this is the home HTML resources :

{% extends "base.html" %}
{% block content %}
<input id="token" type="hidden" value="{{csrf-token}}" />
<div id="content"></div>
{% endblock %}
{% block page-scripts %}
    {% script "/js/app.js" %}
{% endblock %}

1 Answer

0 votes

So after searching, trial, and error, the answer is clear your browser browsing data (caches,cookies,etc)

Hope this help anyone who face the same issue.