기본 콘텐츠로 건너뛰기

OlineExperience [Coding Problem]

<FIRST PROBLEM>


When I do the third page, I wanted to make that Pacman(user) leave marks(data) and ghost(s) is eating/following/tracing Pacman. In order to look like leaving marks, I tried a lot of ways to express.

1. Using JavaScript with Span tag




Output




Problem
- I wanted to give animation effect moving right to left with Pacman, Dots and Ghost(s). But when it does not work well. It worked only once when I recover the website but after it did not work. I was not able to see 11 dots.


2. Using two animation






Output
( It is deleted I do not know why)

Problem

I tried to use two animations but it does not work since I put 'transform' animation after 'content' in 0% and 100% like above. Another problem was I cannot change the size of ghosts.gif. when I use this animation. The problem is that it did not look like Pacman is leaving traces.



----------> Have I fixed it? No
I searched loop javascript but it did not work well
So I just put with the first option(Javascript)




<SECOND PROBLEM>

I wanted to put a tag inside of div tag to change the colour of font and give hover effect, but it did not work.

(Experiment1)

->
(Experiment2)

->


Solution: Use a span tag with a tag and give hove effect on a tag.








댓글

이 블로그의 인기 게시물

Borders&Bounderies [Process-coding]

<  <Coding before changing the design>> I tried to change the background colours when I hover the text. Result: This is the coding I tried to give blend mode effect before realising that I can use the blend mode in CSS Result: After I knew that I can use blend mode CSS as well, I applied it and the images/texts were more clear than before .overlay { position : absolute ; bottom : 110px ; background : rgb ( 255 , 0 , 0 ); mix-blend-mode : multiply ; width : 300px ; transition : .5s ease ; opacity : 0 ; padding : 300px ; text-align : center ; } .container:hover .overlay { opacity : 1 ; } --------------------------------------------------------------------------- ----------------------------------------------- ---- << Coding After changing the topic/ design>> I had difficulty when I had done coding, especially in the third page which has hover effect a lot. In order to check precisely the division of the pag...

Weeks in Review [1]

23RD SEPTEMBER 2019  I learned how drawing can be related to systems. At first, I was quite confused since I have not thought that I can do a drawing about systems without computer and machine. Because the word 'system' I thought was directly related to computer. I learned the exact meaning of system, which is a set of things working together as parts of a mechanism or an interconnecting network.  We especially drew 'complex system' a lot, meaning one in which the individual elements interact to create something that is greater than the sum of its parts. First of all, we drew some straight line but it looked like chaos and disorderly. When we drew something that is constant and orderly, they looked complex system.  After that, the tutor organized 5 teams and instructed teams to make the rule to draw system. Ours were to draw triangles connecting each three points but do not touch the sides of triangle and fill the colour. I learned 'emergence' from this ac...

Data for change [Theme&Target Audience&Research]

[Why and how I chose the theme] When we get the list of topic, our PBL group chose "inequality" and did research. While I researched, I found the interesting news that children in the poorest countries have lost four months of schooling since the start of the pandemic. So I examined the relationship between education and inequality and focused on more school closure in education. Because school closure is one of the reasons that cause inequality during Covid19.  [Target Audience] While I had decided on my topic, I was  in   a   bit   of   a   bind . Because I did not set the target audience before the second presentation. So I needed to choose a specific target audience. Some people living or studying in high-income and middle-income countries might have no experience when they attend the class. I want to let those people know that many people even cannot afford to attend class via media, including online, tv or radio in low-income countries. Moreover,...